Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleIF YOU HAVE PROBLEMS WITH THE SCRIPT

A quick workaround is to use the wget command as follows:

Code Block
wget --user=username --password=password -i url_list.txt

where username is your Earthdata userid, password is your Earthdata password, and url_list.txt is a text file with one granule download link per line.

For convenience, wget can pull urls directly out of Earthdata Search's download access script, so the following will also work:

Code Block
languagebash
wget --user=username --password=password -i download.sh
Info
titleIF YOU HAVE CONNECTION FAILURES

If you are getting connection Connection failures like "Operation timed out" or "No route to host," are an indication that the data provider's server may be temporarily unavailable.

Earthdata Search provides To see a list of known data provider outages.  To see it, click the alerts button (the little bell icon) in the upper right-hand corner of Earthdata Search.

Info
titleIF YOU HAVE ERROR curl: option --netrc-file: is unknown

When running the script, if you get the error

Code Block
curl: option --netrc-file: is unknown

this means the curl command is not recognizing the option --netrc-file. 

This option was added to curl in version 7.21.5.  You can check your version of curl by running the following command:

Code Block
curl -V

If your version of curl is less than 7.21.5, you need to update curl the screen.



Related articles
How To Access Data With cURL And Wget

...