Page 1 of 1

How to batch download data files in a given time range

PostPosted: Fri Dec 18, 2015 10:18 am
by yiboj
This python script is used to download data files for a given time period. The script combines the PODAAC web granule temporal search service, and the OPeNDAP to download most of the Level 2, Level 3 and Level 4 datasets from PODAAC server.

The current version works with Level 2, Level 3 and Level 4 datasets in netcdf format.

Please note that you have to have the python software, wget or curl installed on the computer.

You can download the script here.

For example, to extract CMC data from 2010-01-01 to 2010-02-05 can be made on the UNIX command line:

% ./ -s 20100101 -f 20100205 -x CMC0.2deg-CMC-L4-GLOB-v2.0

where CMC0.2deg-CMC-L4-GLOB-v2.0 is the short name for CMC dataset. Shortname is the required field for the script to run and the script will print out the help menu without the shortname. Shortname can be found from PODAAC web portal.