source: trunk/SRC/ReadWrite/idl-NetCDF/ncdf_listdims.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: 348 bytes
RevLine 
[157]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;-
[70]24FUNCTION ncdf_listdims,ncid
[114]25;
26  compile_opt idl2, strictarrsubs
27;
[67]28
[70]29n=(ncdf_inquire(ncid)).ndims
[67]30
[70]31names=strarr(n)
[67]32
[70]33for i=0,n-1 do begin
34    ncdf_diminq,ncid,i,name,size
35    names[i]=name
36endfor
[67]37
[70]38return,names
[67]39
40end
Note: See TracBrowser for help on using the repository browser.