pyPDAF.PDAF.omi_likelihood_l_cb¶
- pyPDAF.PDAF.omi_likelihood_l_cb()¶
This is an internal PDAF-OMI function that is used as a call-back function to compute the likelihood of the observation for a given ensemble member according to the observations used for the local analysis in the localized LNETF. 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:
domain_p (int) – Current local analysis domain
step (int) – Current time step
dim_obs_l (int) – PE-local dimension of obs. vector
obs_l (ndarray[tuple[dim_obs_l], np.float64]) –
PE-local vector of observations
The array dimension dim_obs_l is 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.
lhood_l (float) – Output vector - log likelihood
- 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
lhood_l (float) – Output vector - log likelihood