Mesh Descriptors
Overview of mesh descriptors used in pyremap.
In order to perform remapping, we need a description of both the source and destination mesh or grid. Here, we think of a mesh as being potentially unstructured, whereas a grid is always structured. Mesh descriptors provide the necessary metadata and functionality to describe these meshes or grids, enabling remapping between different representations of spatial data.
The subclasses of MeshDescriptor
, described in detail below, are used to
create grid files in
SCRIP format
for use in generating mapping (weight) files with tools like
ESMF or
MOAB. These mapping files can then
be used to remap datasets using either the
NCO ncremap
tool or sparse
matrix multiplication in numpy
.