pyPDAF.PDAF.omi_set_id_obs_p

pyPDAF.PDAF.omi_set_id_obs_p()

Setting the id_obs_p attribute of obs_f.

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

Here, id_obs_p(nrows, dim_obs_p) is a 2D array of integers. The value of nrows depends on the observation operator used for an observation.

Examples:

Parameters:
  • i_obs (int) – index of observations

  • id_obs_p (ndarray[tuple[nrows, dim_obs_p], np.intc]) –

    indice corresponds to observations in the state vector

    The1st-th dimension nrows is Number of values to be averaged or used for interpolation; the2nd-th dimension dim_obs_p is dimension of PE local obs.