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
RevLine 
[70]1FUNCTION ncdf_listdims,ncid
[114]2;
3  compile_opt idl2, strictarrsubs
4;
[67]5
[70]6n=(ncdf_inquire(ncid)).ndims
[67]7
[70]8names=strarr(n)
[67]9
[70]10for i=0,n-1 do begin
11    ncdf_diminq,ncid,i,name,size
12    names[i]=name
13endfor
[67]14
[70]15return,names
[67]16
17end
Note: See TracBrowser for help on using the repository browser.