source:
trunk/ReadWrite/idl-NetCDF/ncdf_listvars.pro
@
67
Last change on this file since 67 was 67, checked in by pinsard, 18 years ago | |
---|---|
|
|
File size: 163 bytes |
Line | |
---|---|
1 | FUNCTION ncdf_listvars,ncid |
2 | |
3 | n=(ncdf_inquire(ncid)).nvars |
4 | |
5 | names=strarr(n) |
6 | |
7 | for i=0,n-1 do begin |
8 | names[i]=(ncdf_varinq(ncid,i)).name |
9 | endfor |
10 | |
11 | return,names |
12 | |
13 | end |
Note: See TracBrowser
for help on using the repository browser.