API reference
This page provides an auto-generated summary of the pyremap API.
Mesh Descriptors
|
Interpolate/extrapolate a 1D field from grid centers to grid corners |
|
Interpolate/extrapolate a 1D field from grid centers to grid corners |
|
Get a descriptor of a lat-lon grid, used for remapping |
|
A class for describing a lat-lon grid |
|
Read the lat-lon grid from a file with the given lat/lon var names. |
|
Create the lat-lon grid with the given arrays and units. |
|
Given a lat-lon grid file, create a SCRIP file based on the grid. |
|
A class for describing a lat-lon grid that may not be a tensor grid (lat/lon are 2D arrays). |
|
Read the lat-lon grid from a file with the given lat/lon var names. |
|
Create a SCRIP file based on the grid. |
|
A class for describing an MPAS cell mesh |
|
Create a SCRIP file from the MPAS mesh. |
|
A class for describing an MPAS edge mesh |
|
Create a SCRIP file from the MPAS mesh. |
|
A class for describing an MPAS vertex mesh |
|
Create a SCRIP file from the MPAS mesh. |
|
A class for describing a collection of points |
|
Write a SCRIP file for the point collection |
|
A class for describing a general logically rectangular grid that can be defined by a |
|
Given a grid file with x and y coordinates defining the axes of the logically rectangular grid, read in the x and y coordinates and interpolate/extrapolate to locate corners. |
|
Given x and y coordinates defining the axes of the logically rectangular grid, save the coordinates interpolate/extrapolate to locate corners. |
|
Create a SCRIP file based on the grid and projection. |
Remapping
|
Set the source grid from a file with a longitude-latitude grid. |
|
Set the source grid from an MPAS mesh file |
|
Set the source grid from a file with a projection grid. |
|
Set the destination grid from a file with a longitude-latitude grid. |
|
Set the destination grid from an MPAS mesh file |
|
Set the destination grid from a file with a collection of points. |
|
Set the destination grid from a file with a projection grid. |
|
Make the mapping file |
|
Given a source file defining either an MPAS mesh or a lat-lon grid and a destination file or set of arrays defining a lat-lon grid, constructs a mapping file used for interpolation between the source and destination grids. |
|
Given a source data set, returns a remapped version of the data set, possibly masked and renormalized. |
Polar projections
Get a projection for an Arctic stereographic comparison grid |
|
Get a projection for an Antarctic steregraphic grid |
|
|
Get a descriptor of a polar stereographic grid used for remapping |
|
Get a descriptor of a polar stereographic grid used for remapping |
|
|
|