Example pages containing: tips | resources | functions/procedures
Bin Data: Satellite and Observations
binning_1.ncl: Read multiple files
(here, 131 files) for one particular day; for each file
bin and sum the satellite data using bin_sum;
after all files have been read, use bin_avg
to average all the summed values; plot; create a netCDF
of the binned (gridded data).
Note: here the data are netCDF files. However, the original files were HDF-SDS (Scientific Data Set) files. NCL can handle either. Only the file extension need be changed (.nc to .hdf).
binning_2.ncl:
Consider a triplet ( clat[*], clon[*], cval[*] ) that represent
storm track positions and winds. Count the instances and frequency that these fall
within a particular grid box and the average wind values. These 'observations'
are all randomly generated and are presented for illustration