Recipe: Visualize OPeNDAP data using Panoply: Difference between revisions

Pchakrab (talk | contribs)
Move from http to https
 
(3 intermediate revisions by one other user not shown)
Line 4: Line 4:


By accessing the collection <code>inst01hr_3d_T_Cv</code> via the OPeNDAP server
By accessing the collection <code>inst01hr_3d_T_Cv</code> via the OPeNDAP server
  http://opendap.nccs.nasa.gov/dods/OSSE/G5NR/Ganymed/7km
  https://opendap.nccs.nasa.gov/dods/OSSE/G5NR/Ganymed/7km


we want to plot the air temperature data at the surface for 2006/Sep/18, 9z using panoply.
we want to plot the air temperature data at the surface for 2006/Sep/18, 9z using panoply.
Line 11: Line 11:
Panoply (v 4.0.5) is a cross-platform application that plots geo-gridded and other arrays from NetCDF, HDF, GRIB, and other datasets. For more information, please see
Panoply (v 4.0.5) is a cross-platform application that plots geo-gridded and other arrays from NetCDF, HDF, GRIB, and other datasets. For more information, please see


  http://www.giss.nasa.gov/tools/panoply/
  https://www.giss.nasa.gov/tools/panoply/


Once <code>panoply</code> is installed, it can be launched from the command line via
Once <code>panoply</code> is installed, it can be launched from the command line via
Line 22: Line 22:
[[Image:Panoply_main.png|500px]]
[[Image:Panoply_main.png|500px]]


To load the downloaded data file click on File -> Open... and from the file browser we choose the file. Opening the file leads to the display
To access the collection <code>inst01hr_3d_T_Cv</code> from the OPeNDAP server, we click on File -> 'Open Remote Dataset' and enter the url
https://opendap.nccs.nasa.gov:80/dods/OSSE/G5NR/Ganymed/7km/0.5000_deg/inst/inst01hr_3d_T_Cv


[[Image:Panoply_data.png|500px]]
in the input box and click on 'Load'. This leads to the display


Here, we select our variable, <code>T</code>, from the 'Datasets' tab and click on 'Create Plot'. In the new window that appears, we select the first option 'Create geogridded Longitude-Latitude plot' and click on 'Create'. To plot the air temperature at the surface (level=72), in the 'Array(s)' Tab we set the 'Vertical level:' to 72 and check the 'Always fit to data' box in the 'Scale' tab resulting in
[[Image:Panoply_data_dap.png|500px]]
 
Here, we select our variable, <code>t</code>, from the 'Datasets' tab and click on 'Create Plot'. To plot the surface air temperature for 2006-09-18, 9z, we select that date and Altitude 72 from the 'Array(s)' tab and check the box 'Always fit to data' box in the 'Scale' tab resulting in


[[Image:Panoply_temperature.png|500px]]
[[Image:Panoply_temperature.png|500px]]