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