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