leapsec.dat and utcpole.dat
Posted: Mon Oct 07, 2013 12:56 pm
DB Colleagues,
In the last few days, several people have told us that MODIS Level 1B processing is failing because the ancillary data files named leapsec.dat and utcpole.dat are not available from NASA during the US federal government shutdown. Normally these files are available from
http://oceandata.sci.gsfc.nasa.gov/Anci ... UTs/modis/
however this site is offline at present. For this reason we have posted the latest versions of leapsec.dat and utcpole.dat at
ftp://ftp.ssec.wisc.edu/pub/gumley/leapsec_utcpole/
The files were updated on 2013-09-29 and will remain valid for 90 days. The MODISL1DB and SeaDAS versions of the MODIS Level 1B geolocation code will examine the first line of leapsec.dat to check the date it was last updated, e.g.,
$ head -1 leapsec.dat
Checked(unchanged): 2013-09-29T12:15:56Z using USNO tai-utc.dat file of Sep 29 08:16
The string "2013-09-29" is compared to the current date, and it the difference is more than 90 days the geolocation code will exit. The geolocation code does not appear to check the contents of the utcpole.dat file, however as the utcpole.dat file grows older there will be small differences introduced into the computed geolocation data.
In recent versions of MODISL1DB and SeaDAS, the leapsec.dat and utcpole.dat files reside in the directory named run/var/modis. To update the files on your system, use commands as shown below (MODISL1DB used as an example):
cd $DBHOME
cd run/var/modis
mv leapsec.dat leapsec.dat.old
mv utcpole.dat utcpole.dat.old
curl -O ftp://ftp.ssec.wisc.edu/pub/gumley/leap ... eapsec.dat
curl -O ftp://ftp.ssec.wisc.edu/pub/gumley/leap ... tcpole.dat
This will download the latest versions of leapsec.dat and utcpole.dat, while preserving the old versions. It should restore the MODIS Level 1B processing to normal operation. When the NASA ocean FTP site comes back online, you can use the update scripts built into MODISL1DB or SeaDAS to update these files.
Regards,
Liam Gumley.
In the last few days, several people have told us that MODIS Level 1B processing is failing because the ancillary data files named leapsec.dat and utcpole.dat are not available from NASA during the US federal government shutdown. Normally these files are available from
http://oceandata.sci.gsfc.nasa.gov/Anci ... UTs/modis/
however this site is offline at present. For this reason we have posted the latest versions of leapsec.dat and utcpole.dat at
ftp://ftp.ssec.wisc.edu/pub/gumley/leapsec_utcpole/
The files were updated on 2013-09-29 and will remain valid for 90 days. The MODISL1DB and SeaDAS versions of the MODIS Level 1B geolocation code will examine the first line of leapsec.dat to check the date it was last updated, e.g.,
$ head -1 leapsec.dat
Checked(unchanged): 2013-09-29T12:15:56Z using USNO tai-utc.dat file of Sep 29 08:16
The string "2013-09-29" is compared to the current date, and it the difference is more than 90 days the geolocation code will exit. The geolocation code does not appear to check the contents of the utcpole.dat file, however as the utcpole.dat file grows older there will be small differences introduced into the computed geolocation data.
In recent versions of MODISL1DB and SeaDAS, the leapsec.dat and utcpole.dat files reside in the directory named run/var/modis. To update the files on your system, use commands as shown below (MODISL1DB used as an example):
cd $DBHOME
cd run/var/modis
mv leapsec.dat leapsec.dat.old
mv utcpole.dat utcpole.dat.old
curl -O ftp://ftp.ssec.wisc.edu/pub/gumley/leap ... eapsec.dat
curl -O ftp://ftp.ssec.wisc.edu/pub/gumley/leap ... tcpole.dat
This will download the latest versions of leapsec.dat and utcpole.dat, while preserving the old versions. It should restore the MODIS Level 1B processing to normal operation. When the NASA ocean FTP site comes back online, you can use the update scripts built into MODISL1DB or SeaDAS to update these files.
Regards,
Liam Gumley.