Page 1 of 1

Suggested modification curl in LAADS Linux Shell Script

Posted: Tue Nov 15, 2022 2:28 pm America/New_York
by dalden
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.

Re: Suggested modification curl in LAADS Linux Shell Script

Posted: Wed Nov 16, 2022 9:48 am America/New_York
by LAADSx_UserServices_M
@dalde Thanks very much for the suggestion. We will forward this to the relevant team to include in the directions.