Changeset 74 for trunk/SRC/ToBeReviewed/LECTURE/read_ncdf.pro
- Timestamp:
- 05/23/06 15:45:47 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/LECTURE/read_ncdf.pro
r69 r74 126 126 if n_elements(fin) NE 0 then lasttps = fin[0] ELSE lasttps = firsttps 127 127 jpt = lasttps-firsttps+1 128 time = lindgen(jpt)128 time = julday(1, 1, 1) + lindgen(jpt) 129 129 ENDIF ELSE BEGIN 130 130 if keyword_set(parent) then BEGIN … … 253 253 ncdf_close, cdfid 254 254 return, report('date 1: '+strtrim(jul2date(date1), 1)+' is not found in the time axis.') 255 endif255 ENDIF 256 256 lasttps = where(time LE date2) 257 257 if lasttps[0] EQ -1 THEN BEGIN … … 437 437 day = (long(debut[0]) MOD 100) 438 438 vardate = string(format = '(C(CMoA))', 31*(month-1))+' '+strtrim(day, 1)+', '+strtrim(year, 1) 439 ; varexp ??? 439 varexp = file_basename(filename) 440 440 441 441 ; we apply reverse
Note: See TracChangeset
for help on using the changeset viewer.