Changeset 199 for trunk/SRC/ToBeReviewed/LECTURE/read_ncdf.pro
- Timestamp:
- 12/13/06 08:47:14 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/LECTURE/read_ncdf.pro
r198 r199 261 261 return, report('time units does not start with seconds/hours/days/months/years') 262 262 ENDIF 263 IF stregex(value, '[^ ]* since ([0-9]){ 4}-([0-9]){2}-([0-9]){2}.*', /boolean) EQ 0 THEN BEGIN264 ncdf_close, cdfid 265 return, report('attribut units of time has not the good format: [^ ]* since ([0-9]){ 4}-([0-9]){2}-([0-9]){2}.*')263 IF stregex(value, '[^ ]* since ([0-9]){1,4}-([0-9]){1,2}-([0-9]){1,2}.*', /boolean) EQ 0 THEN BEGIN 264 ncdf_close, cdfid 265 return, report('attribut units of time has not the good format: [^ ]* since ([0-9]){1,4}-([0-9]){1,2}-([0-9]){1,2}.*') 266 266 ENDIF 267 267 depart = str_sep(mots[2], '-')
Note: See TracChangeset
for help on using the changeset viewer.