Recipe: Retrieve data subsets using download tool

From GEOS-5
Jump to navigation Jump to search

Problem

Solution

Download global data

The download tool can be used for server-side subsetting of collections. This can be done either via the tool's web interface or the command line.

  • Web interface - The base url for the download tool for G5NR data is

http://portal.nccs.nasa.gov/cgi-lats4d/opendap.cgi?&path=/OSSE/GEOS-5.12. To download a subset of the collection inst01hr_3d_T_Cv, from the above url, one can follow links [0.5000_deg → inst → Download (for the appropriate collection)] to the collection's download page at http://portal.nccs.nasa.gov/cgi-lats4d/webform.cgi?&i=OSSE/GEOS-5.12/0.5000_deg/inst01hr_3d_T_Cv. Here one can select variables, the begin and end times, vertical levels (for 3D data), spatial subset (by drawing a box or specifying the lats/lons) and download the resulting data in a format of choice (compressed NetCDF-4, little endian binary etc.).

  • Command line/Python script - There has to be a way to construct the POST request and then potentially use the Python requests module???


Download data subset