Not logged inOcean Color Forum

The forum is locked.

The Ocean Color Forum has transitioned to the Earthdata Forum (https://forum.earthdata.nasa.gov/)

Up Topic Frequently Asked Questions / Data Access FAQ / Scripting data downloading (locked)
- By seanbailey Date 2012-08-23 15:10 Edited 2013-03-04 16:53
The simple download examples provided in the bulk data download FAQ can be expanded upon to include
error handling.  Depending upon the error, you may wish the file retrieval to be retried, or you may wish the script to skip the file and proceed to the next in your list.
The attached bash script is are  example of how to do this.

Edit: With our continued move away from FTP data distribution, data orders now provide an http_manifest.txt file with URL listings for the files ordered.
The second attached script is a modification of the first specifically for these manifest files.

If wget is not installed (or is giving you fits...) try the attached cURL version.
Attachment: obpg_download.bash (2k)
Up Topic Frequently Asked Questions / Data Access FAQ / Scripting data downloading (locked)

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill