Gwyn,
cat MOD00.P2011145.0520_1.PDS MOD00.P2011145.0525_1.PDS > MOD00.P2011145.0520_2.PDS
Oddly, when I use startnudge 0
unix cmd =
$SEADAS/run/scripts/modis_L1A.csh /tmp/test3/MOD00.P2011145.0520_2.PDS -startnudge 0 -stopnudge 10; l1afile=ls -1t [AT]*.L1A_LAC | head -1; $SEADAS/run/scripts/modis_GEO.csh $l1afile -geocheck_threshold 95
It fails like this:
Scan Number: 390 Wed May 25 11:26:58 2011
l1agen_modis exit status: 0
MODIS L1A processing complete.
Determining required attitude and ephemeris files...
modis_atteph.py ./A2011145052000.L1A_LAC
We failed to reach a server.
URL attempted:
http://oceandata.sci.gsfc.nasa.gov/cgi/getfile/PM1ATTNR_NRT.A2011145.0515.005Reason: timed out*** ERROR: The HTTP transfer failed with status code 110.
*** Please check your network connection and for the existence of the remote file:
***
http://oceandata.sci.gsfc.nasa.gov/cgi/getfile/PM1ATTNR_NRT.A2011145.0515.005***
Traceback (most recent call last):
File "/optics1/software/seadas/seadas_6.2.2a/run/scripts/modis_atteph.py", line 57, in ?
m.locate()
File "/optics1/software/seadas/seadas_6.2.2a/run/scripts/modules/modis_atteph_utils.py", line 197, in locate
os.remove(self.server_file)
OSError: [Errno 2] No such file or directory: 'A2011145052000.L1A_LAC.server'
** Failed to determine/retrieve attitude and ephemeris files **
No attitude and ephemeris information available for this Aqua granule.
Processing cannot proceed; exiting.
exit_status= 1
When I use startnudge 5 it works as you suggested:
unix cmd =
$SEADAS/run/scripts/modis_L1A.csh /tmp/test3/MOD00.P2011145.0520_2.PDS -startnudge 5 -stopnudge 10; l1afile=ls -1t [AT]*.L1A_LAC | head -1; $SEADAS/run/scripts/modis_GEO.csh $l1afile -geocheck_threshold 95
It finishes fine.
scan: 390 out of 396 Wed May 25 11:31:45 2011
geogen_modis exit status: 0
Running validation test on geolocation file...
modis_geocheck.py A2011145052005.GEO 95 --verbose
Percentage of pixels with missing geolocation: 0.000000
Validation test passed for geolocation file A2011145052005.GEO
MODIS geolocation processing complete.
exit_status= 0
However, that first failure seems suspect in another way. If I:
w.get
http://oceandata.sci.gsfc.nasa.gov/cgi/getfile/PM1ATTNR_NRT.A2011145.0515.005 there is no problem.
So I am not too sure what the other issue is. While it doesn't __NEED__ PM1ATTNR_NRT.A2011145.0515.005,
it should be able to connect to the server and find it at least.
Brock