Changeset 406 for trunk


Ignore:
Timestamp:
10/01/09 16:13:08 (15 years ago)
Author:
smasson
Message:

bugfix in ncdf_gettime

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ReadWrite/ncdf_gettime.pro

    r401 r406  
    107107      timeinq = ncdf_varinq(cdfid, timeid) ; that the variable contain. 
    108108      timeid = timeid+1 
    109     ENDREP UNTIL (n_elements(timeinq.dim) EQ 1 AND timeinq.dim[0] EQ inq.recdim) $ 
    110        OR timeid EQ inq.nvars+1 
    111     IF timeid EQ inq.nvars+1 THEN BEGIN 
     109    ENDREP UNTIL (n_elements(timeinq.dim) EQ 1 AND timeinq.dim[0] EQ inq.recdim) OR timeid EQ inq.nvars 
     110    IF timeid EQ inq.nvars THEN BEGIN 
    112111      CASE caller OF 
    113112        'read_ncdf':err = 'the file '+filename+' as no time axis variable. !C Use the TIMESTEP keyword' 
Note: See TracChangeset for help on using the changeset viewer.