Welcome to the Earthdata Forum! Here, the scientific user community and subject matter experts from NASA Distributed Active Archive Centers (DAACs), and other contributors, discuss research needs, data, and data applications.
by earthsound » Tue Jun 15, 2021 9:16 pm America/New_York
I'm using a python code with multi-processes to download MYD08(modis water vapor data) . At beginning the downloading is smooth. But a couple days ago, an error raises: " raise TooManyRedirects('Exceeded %s redirects.' % self.max_redirects, response=resp) requests.exceptions.TooManyRedirects: Exceeded 30 redirects."
I started 3 processes.
when I use the edge browse to download it directly, I get "ladsweb.modaps.eosdis.nasa.gov redirected you too many times."
So , how to fix the problem? Thanks and Best wishes
That might be due to using an incorrect authorization key. The download redirects are being caused because your authentication is failing and it keeps asking you to login again.
Try again after getting a new ladsweb key. To get a new key login to any ladsweb page using the "Profiles->Login" menu at the top right of any ladsweb page. Then select "Profiles->Generate Token". Use the key that is then displayed, for your downloads.