Description Usage Arguments Details Value See Also
Project the values of a cmip5data
object onto a new grid
1 2 |
orgVar |
A |
projLat |
TODO |
projLon |
TODO |
orgArea |
TODO |
projArea |
A |
projectionMatrix |
TODO |
verbose |
logical. Print info as we go? |
This function calculates the projection matrix to shift one global grid to a second. The relative contribution of an old grid to the new grid is calculated via an area weighting scheme where the area of a grid cell is assumed to be proportional to the degree area of that cell and neighboring cells are assumed to have the same area to degree ratios. This will NOT hold in large grids. Nor is the area weighting scheme appropreate for all variable types and grid shifts. Use with caution.
A cmip5data
object, whose val
is the area-weighted regrided
variable passed in orgVar
parameter. A projectionMatrix
field is also added
recording projection matrix used in regridding; this can be reused for later variables with the same regridding.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.