Page 1 of 1

Update: getanc.py / modis_atteph.py download issues

Posted: Thu Jan 23, 2020 10:42 am America/New_York
by OB.DAAC - SeanBailey
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

Update: getanc.py / modis_atteph.py download issues

Posted: Fri Jan 24, 2020 1:26 pm America/New_York
by andrew.meredith
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

Update: getanc.py / modis_atteph.py download issues

Posted: Fri Jan 24, 2020 2:19 pm America/New_York
by OB.DAAC - SeanBailey
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