Recipe: Retrieve (global) data from HTTPS server: Difference between revisions

Pchakrab (talk | contribs)
Pchakrab (talk | contribs)
Line 32: Line 32:


The command line tool <code>wget</code> can be used to retrieve the same files as
The command line tool <code>wget</code> can be used to retrieve the same files as
  wget http://g5nr.nccs.nasa.gov/data/Ganymed/7km/c1440_NR/DATA/0.5000_deg/inst/inst01hr_3d_T_Cv/Y2006/M09/D18/*
  wget http://g5nr.nccs.nasa.gov/data/DATA/0.5000_deg/inst/inst01hr_3d_T_Cv/Y2006/M09/D18/*


The <code>*</code> at the end would retrieve all (24) files for the given day.
The <code>*</code> at the end would retrieve all (24) files for the given day.


To download a file for a specific time, say 0900z, we can use
To download a file for a specific time, say 0900z, we can use
  wget http://g5nr.nccs.nasa.gov/data/0.5000_deg/inst/inst01hr_3d_T_Cv/Y2006/M09/D18/c1440_NR.inst01hr_3d_T_Cv.20060918_0900z.nc4
  wget http://g5nr.nccs.nasa.gov/data/DATA/0.5000_deg/inst/inst01hr_3d_T_Cv/Y2006/M09/D18/c1440_NR.inst01hr_3d_T_Cv.20060918_0900z.nc4


== Discussion ==
== Discussion ==