Page 1 of 1
404 Client Error for MERRA2_200
Posted: Wed May 10, 2023 6:35 pm America/New_York
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?
Re: 404 Client Error for MERRA2_200
Posted: Thu May 11, 2023 8:10 am America/New_York
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:
I am also including the data access instructions link, https://disc.gsfc.nasa.gov/information/documents?title=Data%20Access
Hope this helps.