NEDAS.assim_tools.assimilators.EAKF.core module
- class NEDAS.assim_tools.assimilators.EAKF.core.EAKFAssimilator(c: Context)[source]
Bases:
SerialAssimilator- obs_increment(obs_prior, obs, obs_err)[source]
Compute observation-space analysis increments.
- Parameters:
obs_prior (np.ndarray) – Observation priors, 1-D float array of length nens
obs (float) – The real observation value
obs_err (float) – Observation error std
- Returns:
observation-space analysis increments
- Return type:
ndarray
- update_local_state(state_prior, obs_prior, obs_incr, state_h_dist, state_v_dist, state_t_dist, hroi, vroi, troi, h_local_func, v_local_func, t_local_func) None[source]
Update the local state vector with the analysis increments.
- Parameters:
state_data (np.ndarray) – Local state vector, shape (nens, nfld, nloc)
obs_prior (np.ndarray) – Observation priors, shape (nens,)
obs_incr (np.ndarray) – Analysis increments, shape (nens,)
- update_local_obs(obs_data, used, obs_prior, obs_incr, h_dist, v_dist, t_dist, hroi, vroi, troi, h_local_func, v_local_func, t_local_func) None[source]
Update the local observations with analysis increments.
- Parameters:
obs_data (np.ndarray) – obs prior ensemble, shape (nens, nlobs)
used (np.ndarray) – boolean mask of already-assimilated obs
- NEDAS.assim_tools.assimilators.EAKF.core.obs_increment_eakf(obs_prior, obs, obs_err) ndarray
- NEDAS.assim_tools.assimilators.EAKF.core.update_local_state_linear(state_data, obs_prior, obs_incr, h_dist, v_dist, t_dist, hroi, vroi, troi, h_local_func, v_local_func, t_local_func) None
- NEDAS.assim_tools.assimilators.EAKF.core.update_local_obs_linear(obs_data, used, obs_prior, obs_incr, h_dist, v_dist, t_dist, hroi, vroi, troi, h_local_func, v_local_func, t_local_func)
- NEDAS.assim_tools.assimilators.EAKF.core.update_ensemble(ens_prior, obs_prior, obs_incr, local_factor) ndarray