LPDAAC OPeNDAP server down
Posted: Wed Jul 24, 2024 2:02 pm America/New_York
I am trying to access data hosted on the LPDAAC's hyrax server. The following code was working:
import xarray as xr
import requests
url = 'https://opendap.cr.usgs.gov/opendap/hyrax/VNP13A1.001/h11v05.ncml'
# EDL Bearer token from EDL account.
edl_token = "<Tokek_from_EDL_here>"
auth_hdr="Bearer " + edl_token
#
my_session = requests.Session()
my_session.headers={"Authorization": auth_hdr}
#
ds = xr.open_dataset(url, engine='pydap', session=my_session)
```
It worked earlier in the morning (ET) and was able download some data. But it has been a couple of hours (at least 3) since i get the following 503 error Service Unavailable. You can test by checking trying to access the Data Response Form at this URL: https://opendap.cr.usgs.gov/opendap/hyrax/VNP13A1.001/h11v05.ncml.dmr.html
Thank you very much
Miguel Jimenez
import xarray as xr
import requests
url = 'https://opendap.cr.usgs.gov/opendap/hyrax/VNP13A1.001/h11v05.ncml'
# EDL Bearer token from EDL account.
edl_token = "<Tokek_from_EDL_here>"
auth_hdr="Bearer " + edl_token
#
my_session = requests.Session()
my_session.headers={"Authorization": auth_hdr}
#
ds = xr.open_dataset(url, engine='pydap', session=my_session)
```
It worked earlier in the morning (ET) and was able download some data. But it has been a couple of hours (at least 3) since i get the following 503 error Service Unavailable. You can test by checking trying to access the Data Response Form at this URL: https://opendap.cr.usgs.gov/opendap/hyrax/VNP13A1.001/h11v05.ncml.dmr.html
Thank you very much
Miguel Jimenez