Recipe: Retrieve data subsets using download tool: Difference between revisions
Jump to navigation
Jump to search
(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 | 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 | ||
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 | |||
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/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]] |
Latest revision as of 10:23, 9 April 2019
Back to G5NR Data Access Guide.
Problem
We want to download data subsets using the download tool.
Solution
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
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
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
See Also
- File Spec: File:G5NR-Ganymed-7km FileSpec-ON6-V1.0.pdf