Download 503 error

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
evas133
Posts: 4
Joined: Mon Feb 23, 2026 3:05 am America/New_York
Answers: 0

Download 503 error

by evas133 » Tue Apr 28, 2026 4:37 am America/New_York

Hello, yesterday I downloaded a subset of IMERG V07 files from the GES DISC without problems. Today I went to download another subset (same variables, different lon/lat selection), but I continuously get an error when downloading the links. It was alright for the first 30 links, but showed an error from link 31 onwards. When I try again, I get the error at the first file link.
Is the service down?

-------
I download the files using python:

TOKEN = "..."
file_name = "/subset_GPM_3IMERGDF_07_20260428_081302_.txt"

headers = {
"Authorization": f"Bearer {TOKEN}"
}
OUT_ROOT = "IMERG_daily"
os.makedirs(OUT_ROOT, exist_ok=True)

try:
with open(file_name, "r") as file:
links = file.readlines()
session = requests.Session()
session.headers.update(headers)

for i, link in enumerate(links, 1):
link = link.strip()
if not link:
continue

file_name = os.path.join(OUT_ROOT, os.path.basename(link.split('LABEL=')[-1].split('&')[0]))

try:
response = session.get(link, headers=headers, stream=True)
response.raise_for_status()

with open(file_name, "wb") as f:
for chunk in response.iter_content(1024):
f.write(chunk)

print(f"✅ {i}. {link} -> {file_name}")

except requests.exceptions.RequestException as e:
print(f"❌ {i}. Failed to Download {link}: {e}")

Filters:

evas133
Posts: 4
Joined: Mon Feb 23, 2026 3:05 am America/New_York
Answers: 0

Re: Download 503 error

by evas133 » Tue Apr 28, 2026 11:41 am America/New_York

It has been solved. I don't know how to delete this post.

GES DISC - alouise517
User Services
User Services
Posts: 6
Joined: Thu Dec 18, 2025 4:38 pm America/New_York
Answers: 0

Re: Download 503 error

by GES DISC - alouise517 » Tue Apr 28, 2026 2:24 pm America/New_York

Dear User,

Thank you for reaching out. If you have any additional questions or issues, please don't hesitate to reach back out. We are happy to hear that your issue was solved.

Regards,
GES DISC User Services

Post Reply