[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19991109: sfedit and y2k



>From: "Mark J. Laufersweiler" <address@hidden>
>Organization: .
>Keywords: 199911090827.BAA08520

>Am I wrong to assume that sfedit format can handle a 4 digit year as
>input?
>
>        PARM = TMPF;DWPF
>  
>
>        STN  YYYYMMDD/HHMM        TMPF    DWPF
>        BWI  19990426/0400       55.40   42.80
>
>mjl
>-- 
>---------------------------------------------------------------------
>  Dr. Mark J. Laufersweiler     |      
>  School of Meteorology         | If "con" is the opposite of "pro,"
>  University of Oklahoma        |   then what is the opposite of
>  address@hidden                |             progress?
>  (405) 325-6032                |   
>  (405) 325-7689  (fax)         |
>

Mark,

Your YYYY will fail and create a dattim of 199904/0400.

Sfedit will only read 6 characters for YYMMDD in 
$GEMPAKHOME/src/programs/sf/sfedit/sfedta.f line 65:
tim   = cdata (2) (1:6) // '/' // cdata (3) (1:4)


Gemlib will assume if YY<20 then the year is 20YY, otherwise 19YY.

Steve Chiswell