Page 1 of 1

Download 503 error

Posted: Tue Apr 28, 2026 4:37 am America/New_York
by evas133
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}")

Re: Download 503 error

Posted: Tue Apr 28, 2026 11:41 am America/New_York
by evas133
It has been solved. I don't know how to delete this post.

Re: Download 503 error

Posted: Tue Apr 28, 2026 2:24 pm America/New_York
by GES DISC - alouise517
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