kloc_gain: Equivalent local Kalman gain

Description Usage Arguments

View source: R/utils_enkpf.R

Description

compute a Kalman gain locally at each location and construct a global Kalman gain with the appropriate values and zeroes

Usage

1
kloc_gain(P, H, R, l, get_neighbours, ndim = nrow(P))

Arguments

P

the covariance matrix

H

the observation linear operator

R

the observations error covariance

l

the localization radius

get_neighbours

the function to get neighboring points (typically ring_neighbours or sweq_neighbours)

ndim

different from q in case of sweq


robertsy/assimilr documentation built on May 27, 2019, 10:33 a.m.