pyPDAF.PDAF.omi_get_interp_coeff_lin

pyPDAF.PDAF.omi_get_interp_coeff_lin()

The coefficient for linear interpolation up to 3D.

The resulting coefficient is used in omi_obs_op_interp_lin().

See introduction in PDAF-OMI wiki page

Parameters:
  • gpc (ndarray[tuple[num_gp, n_dim], np.float64]) –

    Coordinates of grid points The order of the grid points in gcoords has to be consistent with the order of the indices specified in id_obs_p of obs_f.

    The 1st-th dimension num_gp is Length of icoeff The 2nd-th dimension n_dim is Number of dimensions in interpolation

  • oc (ndarray[tuple[n_dim], np.float64]) –

    Coordinates of observation

    The array dimension n_dim is Number of dimensions in interpolation

  • icoeff (ndarray[tuple[num_gp], np.float64]) –

    Interpolation coefficients (num_gp)

    The array dimension num_gp is Length of icoeff

Returns:

icoeff – Interpolation coefficients (num_gp)

The array dimension num_gp is Length of icoeff

Return type:

ndarray[tuple[num_gp], np.float64]