Ignore:
Timestamp:
05/16/06 14:41:08 (18 years ago)
Author:
pinsard
Message:

update according to idl-NetCDF-v04.tar.gz available via http://www.ittvis.com/codebank/search.asp?FID=418; side effects are not tested

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ReadWrite/idl-NetCDF/ncdf_listdims.pro

    r67 r70  
    1 FUNCTION ncdf_listdims, ncid, sizes = sizes 
     1FUNCTION ncdf_listdims,ncid 
    22 
    3   n = (ncdf_inquire(ncid)).ndims 
     3n=(ncdf_inquire(ncid)).ndims 
    44 
    5   sizes = lonarr(n) 
    6   names = strarr(n) 
     5names=strarr(n) 
    76 
    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 
     7for i=0,n-1 do begin 
     8    ncdf_diminq,ncid,i,name,size 
     9    names[i]=name 
     10endfor 
    1311 
    14   return, names 
     12return,names 
    1513 
    1614end 
Note: See TracChangeset for help on using the changeset viewer.