Page 2 of 2

Re: Verify that your username and password are correct in .netrc

Posted: Tue Sep 20, 2022 8:58 am America/New_York
by LP DAAC - dgolon
Hi @kasimir I believe this might be due to the 401 error. If you are seeing a 401 Error, that is a known error that we are looking into. Some of the other DAACs are also seeing this error. This error seems to be occurring when using some scripts to download the data but we are looking more into what is causing it and if it is only occurring when users are using a script or not. We will post once we have more information on that error. If the data are needed immediately I recommend downloading the data without a script via AppEEARS, DataPool, NASA Earthdata Search or USGS EarthExplorer.

Re: Verify that your username and password are correct in .netrc

Posted: Tue Sep 20, 2022 9:10 am America/New_York
by kasimir
Thank you for the reply. I could not see any error number. It just tells me that the data could not be downloaded and that I should check my username and password. I try to batch download the data for my ROI. Downloading it manually would be difficult because we are talking about almost 1000 download links.

Hope this can be solved soon!

Best,
Kasimir

Re: Verify that your username and password are correct in .netrc

Posted: Tue Sep 20, 2022 12:14 pm America/New_York
by aleason
Kasimir,

I was looking into this and it looks like there has been a change to the authentication that accompanied the last update where you need to use a bearer token to download, not just username and password. The posts below gives more information, I hope that these help:

https://ladsweb.modaps.eosdis.nasa.gov/tools-and-services/data-download-scripts/
https://gis.stackexchange.com/questions/390289/gedi-lp-daac-appeears-api-login-token-via-python
https://lpdaac.usgs.gov/resources/e-learning/getting-started-with-the-a%CF%81%CF%81eears-api-submitting-and-downloading-an-area-request/

Andrew.

Re: Verify that your username and password are correct in .netrc

Posted: Wed Sep 21, 2022 3:11 am America/New_York
by kasimir
Dear Andrew,

I will check it out and let you know if that will solve the problem. Thank you for your efforts!

Best,
Kasimir