pyPDAF.PDAF.omi_get_interp_coeff_lin1D

pyPDAF.PDAF.omi_get_interp_coeff_lin1D()

The coefficient for linear interpolation in 1D.

The resulting coefficient is used in omi_obs_op_interp_lin().

Parameters:
  • gpc (ndarray[tuple[2], np.float64]) – Coordinates of grid points surrounding the observations (dim=2)

  • oc (float) – Coordinates of observation (targeted location)

  • icoeff (ndarray[tuple[2], np.float64]) – Interpolation coefficients (dim=2)

Returns:

icoeff – Interpolation coefficients (dim=2)

Return type:

ndarray[tuple[2], np.float64]