Helper routine: Initialize linear interpolation coefficients in 1D
The routine computes the coefficients for linear interpolation in 1 dimensions. The computation is done for one observation given the observation coordinates (OC) as well as the coordinates of the grid points (GPC).
Revision history: * 2019-12 - Lars Nerger - Initial code * Later revisions - see repository log
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in) | :: | gpc(:) | |||
real, | intent(in) | :: | oc | |||
real, | intent(inout) | :: | icoeff(:) |