pyPDAF.PDAF.omi_add_obs_error_cb¶
- pyPDAF.PDAF.omi_add_obs_error_cb()¶
This is an internal PDAF-OMI function that is used as a call-back function to add random observation error to stochastic EnKF. This could be used to modify the observation variance when OMI is used with pyPDAF.PDAF.assimilate_xxx instead of pyPDAF.PDAF.omi_assimilate_xxx. See https://pdaf.awi.de/trac/wiki/U_likelihood_l
- Parameters:
step (int) – Current time step
dim_obs_p (int) – Dimension of PE-local observation vector
C_p (ndarray[tuple[dim_obs_p, dim_obs_p], np.float64]) –
Matrix to which R is added
The 1st-th dimension dim_obs_p is Dimension of PE-local observation vector The 2nd-th dimension dim_obs_p is Dimension of PE-local observation vector
- Returns:
C_p – Matrix to which R is added
The 1st-th dimension dim_obs_p is Dimension of PE-local observation vector The 2nd-th dimension dim_obs_p is Dimension of PE-local observation vector
- Return type:
ndarray[tuple[dim_obs_p, dim_obs_p], np.float64]