0

I met issues while bulk downloading Alos Palsar DEMs from https://search.asf.alaska.edu The error comes out when I run a script.py which contains my downloads:

Microsoft Windows [version 10.0.18362.1082]
(c) 2019 Microsoft Corporation. Tous droits réservés.

C:\Users\Name>cd Downloads

C:\Users\Name\Downloads>python download-all-2020-10-01_05-44-48.py
No existing URS cookie found, please enter Earthdata username & password:
(Credentials will not be stored, saved or logged anywhere)
 > Cookiejar is bunk: None
Username: username
Password (will not be displayed):

IMPORTANT: There was a problem communicating with URS, unable to obtain cookie.
Try cookie generation later.

C:\Users\Name\Downloads>

Does any one has an idea how to fix it? Literature on this issue seems very rare.

Thanks

Ark
  • 1

1 Answers1

0

I had the same error. So, I found this answer. Adding this line before de, worked

ssl._create_default_https_context = ssl._create_unverified_context

Also, you need to put the .csv file generate at https://search.asf.alaska.edu at the end.

python download-all-2020-10-01_05-44-48.py path/csv.csv
flaxel
  • 3,429
  • 4
  • 13
  • 26