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