source: trunk/SRC/ReadWrite/idl-NetCDF/ncdf_listvars.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: 201 bytes
Line 
1FUNCTION ncdf_listvars,ncid
2;
3  compile_opt idl2, strictarrsubs
4;
5
6n=(ncdf_inquire(ncid)).nvars
7
8names=strarr(n)
9
10for i=0,n-1 do begin
11    names[i]=(ncdf_varinq(ncid,i)).name
12endfor
13
14return,names
15
16end
Note: See TracBrowser for help on using the repository browser.