Subject: RE: Bad NDC files From: Paul.Chinn Date: 1:42 PM To: Melanie Hamilton Cc: Gustavo.Goni@noaa.gov; Charles Sun Mel, Yes, that is correct so go ahead and replace the files sent yesterday with those between the 19th and 21st of August. Paul -----Original Message----- From: Melanie Hamilton [mailto:Melanie.Hamilton@noaa.gov] Sent: Thursday, April 30, 2009 1:36 PM To: Paul.Chinn Cc: Gustavo.Goni@noaa.gov; Charles Sun Subject: Re: Bad NDC files Paul, Thanks. Below are yesterday's "Bad NDC files", with the corresponding Dates within the file. I unzipped the attachment "Good_Files.ZIP" and see that there is a one to one correspondence for the 9 file names. The 9 good files have dates ranging from August 19 - Aug 21 2008. If these are what you expect, then I will replace yesterdays's files with the files from "Good_Files.ZIP". Mel abalone_ > grep "Date" * 05061fse.NDC: Date/Time(dd/mm/yyyy): 01/01/2097 17:40 GMT 050620se.NDC: Date/Time(dd/mm/yyyy): 01/01/2097 18:55 GMT 050621se.NDC: Date/Time(dd/mm/yyyy): 19/08/2097 20:26 GMT 050622se.NDC: Date/Time(dd/mm/yyyy): 19/08/2097 21:45 GMT 050623se.NDC: Date/Time(dd/mm/yyyy): 19/08/2097 23:12 GMT 050624se.NDC: Date/Time(dd/mm/yyyy): 20/08/2097 00:27 GMT 050625se.NDC: Date/Time(dd/mm/yyyy): 20/08/2097 01:40 GMT 050626se.NDC: Date/Time(dd/mm/yyyy): 20/08/2097 03:18 GMT 050635se.NDC: Date/Time(dd/mm/yyyy): 01/01/2097 00:45 GMT ============================== abalone_ > unzip Good_Files.ZIP Archive: Good_Files.ZIP inflating: 05061fse.NDC inflating: 050620se.NDC inflating: 050621se.NDC inflating: 050622se.NDC inflating: 050623se.NDC inflating: 050624se.NDC inflating: 050625se.NDC inflating: 050626se.NDC inflating: 050635se.NDC abalone_ > grep "Date" * 05061fse.NDC: Date/Time(dd/mm/yyyy): 19/08/2008 17:40 GMT 050620se.NDC: Date/Time(dd/mm/yyyy): 19/08/2008 18:55 GMT 050621se.NDC: Date/Time(dd/mm/yyyy): 19/08/2008 20:26 GMT 050622se.NDC: Date/Time(dd/mm/yyyy): 19/08/2008 21:45 GMT 050623se.NDC: Date/Time(dd/mm/yyyy): 19/08/2008 23:12 GMT 050624se.NDC: Date/Time(dd/mm/yyyy): 20/08/2008 00:27 GMT 050625se.NDC: Date/Time(dd/mm/yyyy): 20/08/2008 01:40 GMT 050626se.NDC: Date/Time(dd/mm/yyyy): 20/08/2008 03:18 GMT 050635se.NDC: Date/Time(dd/mm/yyyy): 21/08/2008 00:45 GMT abalone_ > Paul.Chinn wrote: > > Mel, > > > > Yesterday I placed some data into the system that has screwed up dates. > > Attached are updated NDC files for the profiles with the correct dates. If > > you could, please replace the corresponding files that were delivered to > > NODC. Also, real-time data from these vessels will probably decode to 2007 > > since the year was originally 1997. > > > > This problem occurred when I converted Sippican EDF files to the SEAS binary > > format without first checking the validity of the EDF files. Several files > > had the year set to 1997. My EDF converter software assumed the year would > > always be greater 2000 if the file contained a 4 digit year. To get to > > correct value in a tm structure, I either subtracted 1900 if the year was > > 2000 or greater or add 100 if < 2000. Thus the date in the NDC files of > > 2097. A little careless programming on my part. > > > > Regard, > > Paul