Welcome to the Earthdata Forum! Here, the scientific user community and subject matter experts from NASA Distributed Active Archive Centers (DAACs), and other contributors, discuss research needs, data, and data applications.
We are having problems trying to access data from GPM_L3 IMERG files via python requests at AWS, and until yesterday the script worked with our username and password. Locally we are able to download the files without problems.
Have there been any changes to accessing OpenNDAP from python requests?
by jmargetts » Tue Feb 07, 2023 5:33 am America/New_York
Just to add more information:
1) I can also go on the website, manually enter my username and password and successfully download data but this fails with the same username and password when using python code I've been using for the past couple of years to do this
This file was archived on time on February 4, and is downloadable using wget and curl. Please try with simple wget and curl access to make sure you use and forward authentication your Earthdata credentials correctly. Data access instruction https://disc.gsfc.nasa.gov/data-access
by jmargetts » Wed Feb 08, 2023 11:07 am America/New_York
Will access from now on only be available using wget? I've tried the other methods to retrieve the data on https://disc.gsfc.nasa.gov/data-access for both python and R but keep getting the same 401 error, thank you!
by jmargetts » Fri Feb 10, 2023 9:50 am America/New_York
Thanks for getting back to me. I am using python 3 and the same code and python version (packages haven't changed either) that I have been using for roughly 6 months to download the data. However since the start of February I have been unable to use this method to download data due to the 401 error. I've tried it through R also and receive the same error. Is this due to the maintenance at the start of the month perhaps?
We also are having the same problem. We are using an managed file transfer service (GoAnywhere MFT) to connect to OpenNDAP via HTTPS and download the data. This process has been working for almost a year now, but started failing with "HTTP/1.1 401 Unauthorized" around the same time as mentioned.
It seems like you were using Python 2.28. We see you have successful downloads using wget, however you should acquire wget 1.18, as recommended in: https://disc.gsfc.nasa.gov/data-access
Also, there shouldn't be attempting simultaneous downloads.