Versions Compared

Key

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

...

Info
titleIF YOU HAVE PROBLEMS WITH THE SCRIPT

An easy alternative is using wget as follows:

Code Block
languagebash
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


Another alternative is DownloadThemAll!, a popular add-in for Firefox.  By adding .txt to the end of the download script, you can use DownloadThemAll!'s "import from file" feature to download the links it contains.

...

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

When running the script, if you get the error

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

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

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

Code Block
languagebash
curl -V

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

...