Recipe: Retrieve data subsets using download tool: Difference between revisions

Pchakrab (talk | contribs)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Back to [[G5NR Data Access Guide]].
== Problem ==
== Problem ==


We want to download data (global or subsetted) using the download tool.
We want to download data subsets using the download tool.


== Solution ==
== Solution ==
Line 10: Line 12:


The base url for the download tool for G5NR data is
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.
https://portal.nccs.nasa.gov/cgi-lats4d/opendap.cgi?&path=/OSSE/G5NR/Ganymed/7km
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.).
 
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  
 
https://portal.nccs.nasa.gov/cgi-lats4d/webform.cgi?&i=OSSE/G5NR/Ganymed/7km/0.5000_deg/inst/inst01hr_3d_T_Cv.  
 
Here one can select
* variables
* begin/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 interface ====
<!--
<!--
==== Command line interface ====
* Command line/Python script - There has to be a way to construct the POST request and then potentially use the Python requests module???
* Command line/Python script - There has to be a way to construct the POST request and then potentially use the Python requests module???
-->
-->
== See Also ==
# File Spec: [[File:G5NR-Ganymed-7km FileSpec-ON6-V1.0.pdf]]