Update: getanc.py / modis_atteph.py download issues

Please enter here to ask a question about any NASA Science related topics!
Post Reply
OB.DAAC - SeanBailey
User Services
User Services
Posts: 1219
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1

Update: getanc.py / modis_atteph.py download issues

by OB.DAAC - SeanBailey » Thu Jan 23, 2020 10:42 am America/New_York

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

Tags:

andrew.meredith
Posts: 31
Joined: Tue Dec 31, 2013 10:29 am America/New_York

Update: getanc.py / modis_atteph.py download issues

by andrew.meredith » Fri Jan 24, 2020 1:26 pm America/New_York

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

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1219
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1

Update: getanc.py / modis_atteph.py download issues

by OB.DAAC - SeanBailey » Fri Jan 24, 2020 2:19 pm America/New_York

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

Post Reply