What is a RegionGrid?
A RegionGrid
contains information that:
Allows us to extract gridded lon-lat data for a given
GeoRegion
(see GeoRegions.jl) of interest.Subset the relevant longitude/latitude vectors from the initial grid.
Allows for easy spatial-averaging of extracted gridded lon-lat data, weighted by latitude.
The Types of RegionGrid
s
The RegionGrid
abstract type has three subtypes:
RectilinearGrid
type, which is for the extraction of data on rectilinear lon-lat gridsGeneralizedGrid
type, which is for the extraction of data on non-rectilinear lon-lat grids, such as a curvilinear grid.UnstructuredGrid
type, which is for the extraction of data on unstructured lon-lat grids such as a cubed-spherical grid, or an unstructured mesh.
Confusing? Fret not, it's always easier to understand by doing, so let's go through an example here.