NEDAS.core.inflation module

class NEDAS.core.inflation.Inflation(coef: float = 1.0, adaptive: bool = False, prior: bool = False, post: bool = False)[source]

Bases: ABC

Class for inflating the ensemble members (covariance inflation)

validate_obs_ens(c: Context, obs_ens: dict) bool[source]

Check if the obs_ens has all member and records

obs_space_stats(c: Context)[source]

observation-space statistics

abstractmethod adaptive_prior_inflation(c: Context)[source]
abstractmethod adaptive_post_inflation(c: Context)[source]
abstractmethod apply_inflation(c: Context, flag: Literal['prior', 'post'])[source]