This is a suggested modification to the usage of curl in the LAADS Linux Shell Script
I was working on downloading data using the LAADS Linux Shell Script (https://ladsweb.modaps.eosdis.nasa.gov/tools-and-services/data-download-scripts/#shell) and kept running into issues where my connection would be interrupted requiring me to restart the download. With the script from the website all the files would be redownloaded and any partially downloaded files would be skipped.
In the do loop for downloading the files I added "-C -" option to the curl command to continue/recover downloads saving the overhead of redownloading files, and completing downloads on any partial files.
Suggested modification curl in LAADS Linux Shell Script
-
- Posts: 380
- Joined: Mon Sep 30, 2019 8:33 am America/New_York
- Has thanked: 3 times
Re: Suggested modification curl in LAADS Linux Shell Script
@dalde Thanks very much for the suggestion. We will forward this to the relevant team to include in the directions.
Regards,
LAADS User Services
To receive news from LAADS DAAC direct to your inbox, email laadsdaac-join@lists.nasa.gov with “subscribe” in the subject line.
LAADS User Services
To receive news from LAADS DAAC direct to your inbox, email laadsdaac-join@lists.nasa.gov with “subscribe” in the subject line.