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

From GEOS-5
Jump to navigation Jump to search
Pchakrab (talk | contribs)
 
(9 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/G5NR/Ganymed/7km
  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.


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.).
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???
-->
-->
Line 20: Line 33:
== See Also ==
== See Also ==


# [[Recipe: File naming conventions]]
# 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

  1. File Spec: File:G5NR-Ganymed-7km FileSpec-ON6-V1.0.pdf