source: trunk/SRC/ReadWrite/idl-NetCDF/ncdf_listvars.pro @ 272

Last change on this file since 272 was 157, checked in by navarro, 18 years ago

header improvements + xxx doc

  • Property svn:keywords set to Id
File size: 353 bytes
Line 
1;+
2; @file_comments
3;
4;
5; @categories
6;
7;
8; @param NCID
9;
10;
11; @returns
12;
13;
14; @restrictions
15;
16;
17; @examples
18;
19;
20; @history
21;
22;
23; @version
24; $Id$
25;
26;-
27FUNCTION ncdf_listvars,ncid
28;
29  compile_opt idl2, strictarrsubs
30;
31
32n=(ncdf_inquire(ncid)).nvars
33
34names=strarr(n)
35
36for i=0,n-1 do begin
37    names[i]=(ncdf_varinq(ncid,i)).name
38endfor
39
40return,names
41
42end
Note: See TracBrowser for help on using the repository browser.