source: trunk/ReadWrite/idl-NetCDF/ncdf_listdims.pro @ 67

Last change on this file since 67 was 67, checked in by pinsard, 18 years ago

miscellaneous modifications according to cerbere.lodyc.jussieu.fr: /usr/home/smasson/SAXO_RD/

  • Property svn:executable set to *
File size: 254 bytes
Line 
1FUNCTION ncdf_listdims, ncid, sizes = sizes
2
3  n = (ncdf_inquire(ncid)).ndims
4
5  sizes = lonarr(n)
6  names = strarr(n)
7
8  for i = 0, n-1 do begin
9    ncdf_diminq, ncid, i, name, size
10    names[i] = name
11    sizes[i] = size
12  endfor
13
14  return, names
15
16end
Note: See TracBrowser for help on using the repository browser.