Update: getanc.py / modis_atteph.py download issues
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
Update: getanc.py / modis_atteph.py download issues
Thanks to all who posted workarounds for the authentication issue.
We have just released an official update the code to resolve the problem.
Regards,
Sean
We have just released an official update the code to resolve the problem.
Regards,
Sean
Filters:
-
- Posts: 38
- Joined: Tue Dec 31, 2013 10:29 am America/New_York
Update: getanc.py / modis_atteph.py download issues
I just updated SeaDAS with the latest release. My download problems are now resolved (i hope) but i'm now getting an error in processing NRT MODIS L0.
modis_atteph.py -v --ancdir=/data/MODIS/ancil/METOZ --ancdb=my_ancil_data.db --mission=aqua --start=2020023162500 --stop=2020023194959
Traceback (most recent call last):
File "/opt/seadas/7.5/ocssw/scripts/modis_atteph.py", line 125, in <module>
m.findweb()
File "/opt/seadas/7.5/ocssw/scripts/modules/anc_utils.py", line 514, in findweb
atteph=self.atteph)
File "/opt/seadas/7.5/ocssw/scripts/modules/ancDB.py", line 107, in insert_record
opt = self.check_dbrtn_status(dbstat, anctype)
File "/opt/seadas/7.5/ocssw/scripts/modules/ancDB.py", line 189, in check_dbrtn_status
if dbstat & statchk[anctype]:
KeyError: 'eph1'
modis_atteph.py is returning more than 9 att & eph files which causes a problem in ancDB.py b/c of the value of anctype is not updated correctly.
if re.search("d$", anctype):
anctype = anctype[0:len(anctype) - 1]
if dbstat & statchk[anctype]:
I suspect our IP address (xx.xxx.xx.xx) is currently blocked. Is it possible to get that cleared.
Thanks
Andrew
modis_atteph.py -v --ancdir=/data/MODIS/ancil/METOZ --ancdb=my_ancil_data.db --mission=aqua --start=2020023162500 --stop=2020023194959
Traceback (most recent call last):
File "/opt/seadas/7.5/ocssw/scripts/modis_atteph.py", line 125, in <module>
m.findweb()
File "/opt/seadas/7.5/ocssw/scripts/modules/anc_utils.py", line 514, in findweb
atteph=self.atteph)
File "/opt/seadas/7.5/ocssw/scripts/modules/ancDB.py", line 107, in insert_record
opt = self.check_dbrtn_status(dbstat, anctype)
File "/opt/seadas/7.5/ocssw/scripts/modules/ancDB.py", line 189, in check_dbrtn_status
if dbstat & statchk[anctype]:
KeyError: 'eph1'
modis_atteph.py is returning more than 9 att & eph files which causes a problem in ancDB.py b/c of the value of anctype is not updated correctly.
if re.search("d$", anctype):
anctype = anctype[0:len(anctype) - 1]
if dbstat & statchk[anctype]:
I suspect our IP address (xx.xxx.xx.xx) is currently blocked. Is it possible to get that cleared.
Thanks
Andrew
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
Update: getanc.py / modis_atteph.py download issues
Why are you asking for 3.5 hours of att/eph?
Limit to a reasonable length of time. MODIS granules are only 5 minutes long. If you're using a direct broadcast source, 15 minutes is nominal.
But yes, the code won't like 9 att/eph files.
Sean
Limit to a reasonable length of time. MODIS granules are only 5 minutes long. If you're using a direct broadcast source, 15 minutes is nominal.
But yes, the code won't like 9 att/eph files.
Sean