Last change
on this file since 402 was
157,
checked in by navarro, 18 years ago
|
header improvements + xxx doc
|
-
Property svn:keywords set to
Id
|
File size:
348 bytes
|
Line | |
---|
1 | ;+ |
---|
2 | ; @file_comments |
---|
3 | ; |
---|
4 | ; |
---|
5 | ; @categories |
---|
6 | ; |
---|
7 | ; |
---|
8 | ; @param NCID |
---|
9 | ; |
---|
10 | ; |
---|
11 | ; @restrictions |
---|
12 | ; |
---|
13 | ; |
---|
14 | ; @examples |
---|
15 | ; |
---|
16 | ; |
---|
17 | ; @history |
---|
18 | ; |
---|
19 | ; |
---|
20 | ; @version |
---|
21 | ; $Id$ |
---|
22 | ; |
---|
23 | ;- |
---|
24 | FUNCTION ncdf_listdims,ncid |
---|
25 | ; |
---|
26 | compile_opt idl2, strictarrsubs |
---|
27 | ; |
---|
28 | |
---|
29 | n=(ncdf_inquire(ncid)).ndims |
---|
30 | |
---|
31 | names=strarr(n) |
---|
32 | |
---|
33 | for i=0,n-1 do begin |
---|
34 | ncdf_diminq,ncid,i,name,size |
---|
35 | names[i]=name |
---|
36 | endfor |
---|
37 | |
---|
38 | return,names |
---|
39 | |
---|
40 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.