- Timestamp:
- 09/24/10 16:21:08 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ReadWrite/ncdf_gettime.pro
r407 r438 106 106 REPEAT BEGIN ; As long as we have not find a variable having only one dimension: the infinite one 107 107 timeinq = ncdf_varinq(cdfid, timeid) ; that the variable contain. 108 tstok = n_elements(timeinq.dim) EQ 1 AND timeinq.dim[0] EQ inq.recdim 108 109 timeid = timeid+1 109 ENDREP UNTIL (n_elements(timeinq.dim) EQ 1 AND timeinq.dim[0] EQ inq.recdim)OR timeid EQ inq.nvars110 IF timeid EQ inq.nvars THEN BEGIN110 ENDREP UNTIL tstok OR timeid EQ inq.nvars 111 IF timeid EQ inq.nvars AND NOT tstok THEN BEGIN 111 112 CASE caller OF 112 113 '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.