pyPDAF.PDAF.omi_omit_by_inno_cb¶
- pyPDAF.PDAF.omi_omit_by_inno_cb()¶
The function is called during the analysis step of a global filter. 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 called in the update routine of local filters and write statistics on locally used and excluded observations.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:
dim_obs_f (int) – Full dimension of obs. vector
resid_f (ndarray[tuple[dim_obs_f], np.float64]) –
Input vector of residuum
The array dimension dim_obs_f is Full dimension of obs. vector.
obs_f (ndarray[tuple[dim_obs_f], np.float64]) –
Input vector of full observations
The array dimension dim_obs_f is Full dimension of obs. vector.
- Returns:
resid_f (ndarray[tuple[dim_obs_f], np.float64]) – Input vector of residuum
The array dimension dim_obs_f is Full dimension of obs. vector
obs_f (ndarray[tuple[dim_obs_f], np.float64]) – Input vector of full observations
The array dimension dim_obs_f is Full dimension of obs. vector