How to batch download data files in a given time range

How to batch download data files in a given time range

Postby yiboj » Fri Dec 18, 2015 10:18 am

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 download_dataset.py here.

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

% ./download_dataset.py -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.
yiboj
 
Posts: 80
Joined: Mon Mar 30, 2015 11:22 am

Return to Data Access and Services

cron