404 Client Error for MERRA2_200
-
- Posts: 1
- Joined: Wed May 10, 2023 6:23 pm America/New_York
404 Client Error for MERRA2_200
I am using python to download a bunch of NC4 files that have information from MERRA2_200. I'm using a loop that works perfectly from 01/01/1994 to 12/31/2000, however I get the 404 error for the files that go from 01/01/2001 onwards. Can someone help me, please?
Tags:
-
- User Services
- Posts: 166
- Joined: Wed Sep 25, 2019 9:35 am America/New_York
- Been thanked: 1 time
Re: 404 Client Error for MERRA2_200
Hello,
Recently, the HTTPDigestAuth method of passing in your EDL credentials without a netrc have caused some inconsistent results. Please follow the steps below to create a netrc, and then test again using requests():
1. Create your netrc file (as well as your .urs_cookies file) by following this how-to: https://disc.gsfc.nasa.gov/information/howto?title=How%20to%20Generate%20Earthdata%20Prerequisite%20Files
2. Use the following code to download the granule:
https://disc.gsfc.nasa.gov/data-access#python-requests
I am also including the data access instructions link, https://disc.gsfc.nasa.gov/information/documents?title=Data%20Access
Hope this helps.
Recently, the HTTPDigestAuth method of passing in your EDL credentials without a netrc have caused some inconsistent results. Please follow the steps below to create a netrc, and then test again using requests():
1. Create your netrc file (as well as your .urs_cookies file) by following this how-to: https://disc.gsfc.nasa.gov/information/howto?title=How%20to%20Generate%20Earthdata%20Prerequisite%20Files
2. Use the following code to download the granule:
https://disc.gsfc.nasa.gov/data-access#python-requests
I am also including the data access instructions link, https://disc.gsfc.nasa.gov/information/documents?title=Data%20Access
Hope this helps.