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

Last change on this file since 114 was 114, checked in by smasson, 18 years ago

new compilation options (compile_opt idl2, strictarrsubs) in each routine

  • Property svn:executable set to *
File size: 212 bytes
Line 
1FUNCTION ncdf_listdims,ncid
2;
3  compile_opt idl2, strictarrsubs
4;
5
6n=(ncdf_inquire(ncid)).ndims
7
8names=strarr(n)
9
10for i=0,n-1 do begin
11    ncdf_diminq,ncid,i,name,size
12    names[i]=name
13endfor
14
15return,names
16
17end
Note: See TracBrowser for help on using the repository browser.