pyPDAF.PDAF.omi_omit_by_inno_l_cb¶
- pyPDAF.PDAF.omi_omit_by_inno_l_cb()¶
The function is called during the analysis step on each local analysis domain. It checks the size of the innovation and sets the observation error to a high value if the squared innovation exceeds a limit relative to the observation error variance.This function is an internal PDAF-OMI function that is used as a call-back function. This could be used to modify the observation vector when OMI is used with pyPDAF.PDAF.assimilate_xxx instead of pyPDAF.PDAF.omi_assimilate_xxx.
- Parameters:
domain_p (int) – Current local analysis domain
dim_obs_l (int) – PE-local dimension of obs. vector
resid_l (ndarray[tuple[dim_obs_l], np.float64]) –
Input vector of residuum
The array dimension dim_obs_l is PE-local dimension of obs. vector.
obs_l (ndarray[tuple[dim_obs_l], np.float64]) –
Input vector of local observations
The array dimension dim_obs_l is PE-local dimension of obs. vector.
- Returns:
resid_l (ndarray[tuple[dim_obs_l], np.float64]) – Input vector of residuum
The array dimension dim_obs_l is PE-local dimension of obs. vector
obs_l (ndarray[tuple[dim_obs_l], np.float64]) – Input vector of local observations
The array dimension dim_obs_l is PE-local dimension of obs. vector