Demo scripts
These are the scripts Dennis and/or Mary wrote during the demos on Tuesday and Wednesday afternoon.
The mnxy_n.ncl scripts read in the manhattan100.csv file and create an XY plot. Each numbered script is the same as the previous script with a few more additions. See the script comments for more details.
mnxy_1.ncl | mnxy_2.ncl | mnxy_3.ncl | mnxy_4.ncl |
mnxy_5.ncl | mnxy_6.ncl | mnxy_7.ncl mnxy_utils.ncl |
- plot_air.ncl - Demo of reading a NetCDF
file and creating filled contour plots. This script also zooms in
on South Sudan and uses a shapefile to draw a map outline of South
Sudan. The "air.mon.mean.nc" NetCDF file can be downloaded from
here,
and the SSD_adm files can be downloaded
from http://gadm.org/country.
read_crop_write_nc3.ncl - Read a sample "CropYieldSample.csv" CSV file and write all the values to a NetCDF 3 file.
- read_crop_write_nc4.ncl - Read
a sample "CropYieldSample.csv"
CSV file and write all the values to a NetCDF 4 file.