source: trunk/SRC/ReadWrite/idl-NetCDF/ncdf_listdims.pro @ 272

Last change on this file since 272 was 157, checked in by navarro, 18 years ago

header improvements + xxx doc

  • Property svn:keywords set to Id
File size: 348 bytes
Line 
1;+
2; @file_comments
3;
4;
5; @categories
6;
7;
8; @param NCID
9;
10;
11; @restrictions
12;
13;
14; @examples
15;
16;
17; @history
18;
19;
20; @version
21; $Id$
22;
23;-
24FUNCTION ncdf_listdims,ncid
25;
26  compile_opt idl2, strictarrsubs
27;
28
29n=(ncdf_inquire(ncid)).ndims
30
31names=strarr(n)
32
33for i=0,n-1 do begin
34    ncdf_diminq,ncid,i,name,size
35    names[i]=name
36endfor
37
38return,names
39
40end
Note: See TracBrowser for help on using the repository browser.