topcompute_fromirr_bilinear_weigaddr
Interpolation
Parameters
olonin
in
required
type: 2d array
olat
in
required
type: 2d array
omsk
in
required
type: 2d array or -1
alonin
in
required
type: 2d array
alat
in
required
type: 2d array
amsk
in
required
type: 2d array or -1
weig
out
type: 2d array
addr
out
type: 2d array
Version history
Version
$Id: compute_fromirr_bilinear_weigaddr.pro 372 2008-08-08 12:31:53Z pinsard $
History
June 2006: Sebastien Masson (smasson@lodyc.jussieu.fr)
Known issues
Restrictions
- the input grid must be an "irregular 2D grid", defined as a grid made
of quadrilateral cells
- We supposed the data are located on a sphere, with a periodicity along
the longitude
- to perform the bilinear interpolation within quadrilateral cells, we
first morph the cell into a square cell and then compute the bilinear
interpolation.
- if some corners of the cell are land points, their weights are set to 0
and the weight is redistributed on the remaining "water" corners
- points located out of the southern and northern boundaries or in cells
containing only land points are set the same value as their closest neighbors
Statistics
McCabe cyclic | 49 |
McCabe essential | 1 |
McCabe modular design | 1 |