pyPDAF.PDAFomi.obs_op_extern¶
- pyPDAF.PDAFomi.obs_op_extern()¶
Observation operator for given observed model state.
Application of observation operator for the case that a user performs the actual observation operator elsewhere, e.g., directly in the model during the forecast or offline. For this case, the user can provide the observed model state to this routine and it will just call
pyPDAF.PDAFomi.gather_obsstate()
, to obtain the full observed vector obs_f_all.This has to be called in all filter processes.
- Parameters:
i_obs (int) – index into observation arrays
ostate_p (ndarray[np.float64, ndim=1]) – PE-local observed model state Array shape: (:)
obs_f_all (ndarray[np.float64, ndim=1]) – Full observed model state for all observation types Array shape: (:)
- Returns:
obs_f_all – Full observed state for all observation types Array shape: (:)
- Return type:
ndarray[np.float64, ndim=1]