pyPDAF.PDAF.omi_obs_op_gridpoint

pyPDAF.PDAF.omi_obs_op_gridpoint()

A (partial) identity observation operator

This observation operator is used when observations and model use the same grid.

The observations operator selects state vectors where observations are present based on properties given in obs_f, e.g., id_obs_p.

The function is used in the user-supplied function py__obs_op_pdaf().

Parameters:
  • i_obs (int) – index of observations

  • state_p (ndarray[tuple[dim_p], np.float64]) –

    PE-local model state (dim_p)

    The array dimension dim_p is dimension of model state.

  • obs_f_all (ndarray[tuple[nobs_f_all], np.float64]) –

    Full observed state for all observation types (nobs_f_all)

    The array dimension nobs_f_all is dimension of the observation.

Returns:

obs_f_all – Full observed state for all observation types (nobs_f_all)

The array dimension nobs_f_all is dimension of the observation

Return type:

ndarray[tuple[nobs_f_all], np.float64]