py__localize_covar_serial_pdaf

py__localize_covar_serial_pdaf(iobs: int, dim_p: int, dim_obs: int, hp_p: np.ndarray, hxy_p: np.ndarray) Tuple[np.ndarray, np.ndarray]

Apply covariance localisation in EnSRF/EAKF.

The localisation is applied to each observation element. The weight can be obtained by pyPDAF.PDAF.local_weight().

Parameters

iobs: int

Index of the observation element.

dim_p: int

Dimension of the state vector.

dim_obs: int

Dimension of the observation vector.

hp_p: np.ndarray[np.float, dim=1]

Matrix HP. Shape: (dim_p)

hxy_p: np.ndarray[np.float, dim=1]

Matrix HX (observed state). Shape: (dim_obs)

Returns

hp_p: np.ndarray[np.float, dim=1]

Localised matrix HP. Shape: (dim_p)

hxy_p: np.ndarray[np.float, dim=1]

Localised matrix HX (observed state). Shape: (dim_obs)