Perform bilinear interpolation to the "point" on the Cartesian (x-y) grid (from STPK)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| double precision, | intent(in) | :: | x(2) |
The nearest west and east points for "point" |
||
| double precision, | intent(in) | :: | y(2) |
The nearest south and north points for "point" |
||
| double precision, | intent(in) | :: | z(2,2) |
Values defined at (x,y). z(1,1) at x(1), y(1) z(1,2) at x(1), y(2) z(2,1) at x(2), y(1) z(2,2) at x(2), y(2) |
||
| double precision, | intent(in) | :: | point(2) |
The target point for the interpolation |
||
| double precision, | intent(out) | :: | val |
Interpolated value |