pyPDAF.PDAFomi.set_icoeff_p

pyPDAF.PDAFomi.set_icoeff_p()

Setting the observation interpolation coefficient for i-th observation type. This property is optional unless interpolations needed in observation operators operator.

The function is typically used in user-supplied function py__init_dim_obs_pdaf.

icoeff_p(nrows, dim_obs_p) is a 2D array of real number used to interpolate state vector to point-wise observation grid. The nrows is the number of state vector used to interpolate to one observation location.

A suite of functions are provided to obtain these coefficients, which depend on obs_f attribute of id_obs_p and observation coordinates.

See also pyPDAF.PDAF.set_id_obs_p():

See also PDAF documentation for OMI interpolations.

Parameters:
  • i_obs (int) – index of observations

  • nrows (int) – number of state vector used to interpolate to one observation location

  • dim_obs_p (int) – dimension of PE local obs vector

  • icoeff_p (ndarray[tuple[nrows, dim_obs_p, ...], np.float64]) – weighting coefficients for interpolations The 1st-th dimension nrows is number of state vector used to interpolate to one observation location The 2nd-th dimension dim_obs_p is dimension of PE local obs