source: trunk/SRC/ReadWrite/idl-NetCDF/ncdf_listvars.pro @ 134

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

change *.pro file properties (del eof-style, del executable, set keywords Id

  • Property svn:keywords set to Id
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.