404 Client Error for MERRA2_200

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
andertamimg
Posts: 1
Joined: Wed May 10, 2023 6:23 pm America/New_York
Answers: 0

404 Client Error for MERRA2_200

by andertamimg » 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?

Tags:

GES DISC - mgreene
User Services
User Services
Posts: 176
Joined: Wed Sep 25, 2019 9:35 am America/New_York
Answers: 2
Been thanked: 1 time

Re: 404 Client Error for MERRA2_200

by GES DISC - mgreene » Thu May 11, 2023 8:10 am America/New_York

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.

Post Reply