Applied-GeoSolutions / gips

Geospatial Image Processing System
GNU General Public License v3.0
17 stars 5 forks source link

AOD "bad request" #490

Closed bhbraswell closed 5 years ago

bhbraswell commented 6 years ago

Is Monday the new Wednesday?

Traceback (most recent call last):
  File "/gips/gips/utils.py", line 578, in cli_error_handler
    yield
  File "/gips/gips/data/aod/aod.py", line 150, in query_provider
    resp.raise_for_status() # some errors don't raise otherwise
  File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 935, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
HTTPError: 400 Client Error: Bad Request for url: https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD08_D3/2018/121.json

This cascades down into the eventual "Directory [] does not exist!" error message.

untitled
bhbraswell commented 6 years ago

Day 121 is too recent

ircwaves commented 6 years ago

If today is DOY 141, should 'aod' latency be bumped up from 7 to 30ish?

ra-tolson commented 6 years ago

@ircwaves is this where the asset type's latency value -- haha beat me to it : ]

ra-tolson commented 6 years ago

According to MODIS there's a new collection, 6.1, that we should switch to for anything past May:

  1. Collection 61 link: https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/61/MOD08_D3/
  2. Collection 6 data prior to May 1 are still available: https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD08_D3/
ra-tolson commented 6 years ago

New gitlab issue to handle this: https://gitlab.com/appliedgeosolutions/gips/issues/541

ircwaves commented 6 years ago

Broader announcement

ircwaves commented 5 years ago

AOD has been bumped to Collection 6.1