Techniquecore
Covariance localization
Also called Schur product localization.
Multiplies the ensemble covariance elementwise by a compactly supported correlation to remove spurious long-range correlations.
Covariance localization removes the spurious correlations between distant variables from the sample covariance of an ensemble. A forecast ensemble of members gives a covariance of rank at most , and between two variables that are in fact unrelated it shows a sample correlation of typical size . An observation then changes variables far away from it. Localization multiplies entry by entry (the Schur product) by a correlation matrix that is on the diagonal, falls with distance and is zero beyond a cutoff, often the Gaspari-Cohn function. The Schur product theorem keeps the result a covariance matrix, and makes it full rank. Houtekamer and Mitchell (2001) and Hamill, Whitaker and Snyder (2001) introduced it in the ensemble Kalman filter.
In plain words
With twenty members, two numbers that have nothing to do with each other will still look a little related, just by chance. The filter takes this chance relation for real, so an observation in one place changes the state in a far place. Localization says: trust the ensemble for nearby pairs of variables, trust it less as the distance grows, and ignore it beyond some distance. It does this by multiplying each covariance by a weight that depends on the distance. The weights are chosen so that the result is still a valid covariance.
When it applies
- An ensemble filter or smoother whose ensemble is much smaller than the number of variables, so that is rank deficient.
- A system where the true correlations decay with distance, as in the atmosphere, the ocean or the Lorenz-96 model.
- An analysis that changes variables far from all observations, or a filter that needs very large inflation or diverges with a small ensemble.
The template
and are the unscaled perturbations of the state and of the predicted observations, so and . is the Schur (entrywise) product. The holes are the taper (a correlation function) and the length scale . In the notation of Ide, Courtier, Ghil and Lorenc (1997), marks the forecast.
LOCALIZED-GAIN(X, Y, R, positions, phi, c)- 1
rho^xy_jk <- phi(dist(grid j, obs k) / c) ▷ hole: phi and c - 2
rho^yy_kl <- phi(dist(obs k, obs l) / c) - 3
PH^T <- rho^xy o (X Y^T / (N - 1)) - 4
HPH^T <- rho^yy o (Y Y^T / (N - 1)) - 5
K <- PH^T (HPH^T + R)^-1 - 6
return K ▷ use in any ensemble analysis
Lines L1 and L2 compute the weights from the distances. Lines L3 and L4 localize the two covariances that the gain needs, which is the form of Houtekamer and Mitchell (2001). For a linear that only picks grid values, they are and for the correlation matrix on the grid. A serial filter that takes one observation at a time, like the serial EnSRF, only needs line L3 for one column: it multiplies the regression coefficients of the state on the observation by .
Localization in observation space. The LETKF has no gain matrix of the full state. It computes a separate analysis for each grid point with the nearby observations, and divides the error variance of observation by the weight . This acts on instead of . The two forms agree for observations at the grid point and differ elsewhere.
Why the matrix stays a covariance. The Schur product theorem: if and are symmetric positive semidefinite, so is . Proof: write . Then . If is positive definite and has a positive diagonal, the sum is zero only if for all . Each has some with , because , so . Hence a positive definite with unit diagonal turns any sample covariance with positive variances into a positive definite matrix of full rank, with the same variances. This is why must be a correlation function in the dimension of the grid, not just any function that falls to zero.
How large the spurious correlations are. Let and be independent, with Gaussian, and let be the sample correlation of independent draws. Then . Proof: given the draws of , , where is a fixed unit vector in the space of dimension of vectors with zero sum and is the centred vector of the draws of . is a standard Gaussian vector in that space times the standard deviation of , so is uniform on its unit sphere. Each of the coordinates of a uniform unit vector has the same mean square, and the squares add to . With the root mean square of a spurious correlation is .
A worked example. Take two grid points at positions and , two members and , and one observation of point with . The sample covariance is , so without localization the gain is and the mean of point moves from to , as far as point . With the Gaspari-Cohn taper and , the distance has the weight . The localized cross covariance is , the gain for point becomes , and its mean moves only to . Point keeps the gain . The LETKF form on the same data moves point to (see its page), because it changes the weight of the observation and not the covariance.
Measurements on the other pages. On the Lorenz-96 model with , every other variable observed and , the serial EnSRF with had the RMSE with , with and without localization. The EnKF had with and , and above without localization even with large inflation. With localization both filters stayed well below the error of a free ensemble.
Classic examples
- Ensemble Kalman filter: the localized gain of lines L3 to L5 with perturbed observations.
- Ensemble square root filter: serial processing, where each observation updates the state with localized regression coefficients.
- Ensemble adjustment Kalman filter: the same localized regression from observation space to each state variable.
- Local ensemble transform Kalman filter: localization in observation space by local analyses and weighted error variances.
- Hybrid ensemble-variational assimilation: the localized ensemble covariance as part of the background covariance of a variational method.
- Local particle filter: the same idea of a local analysis applied to particle weights.
Variations
- Choice of taper. The Gaspari-Cohn function is the usual choice because it looks like a Gaussian and has compact support. Any compactly supported correlation function of the right dimension works.
- Length scale. is tuned. A small removes more noise but also removes true correlations; a large keeps more noise. In the EnSRF measurement above the error fell as grew up to , the largest value tried (with the distance along the ring, for which the taper matrix at has a negative eigenvalue; see the pitfall on the wrong distance below), and the EnKF did best near to , so the best value depends on the filter.
- Several distances. A separate length scale can be used for each direction, for example for the vertical in a model of the atmosphere.
- Localization in time. In a smoother, the spurious correlations between distant times are not removed by a spatial taper. A shorter lag does this.
Pitfalls
- A taper that is not positive definite (line L1). A function that is at zero and falls to zero, such as a cut-off step or a triangle in two dimensions, can give a matrix with negative eigenvalues. Then can fail to be a covariance and the analysis can be unstable.
- The wrong distance (line L1). A correlation function of stays positive definite on a sphere or a circle with the chordal distance, because these lie in . With the distance along the circle this holds only while the support is at most half the circle. On the Lorenz-96 ring of 40 points the Gaspari-Cohn matrix with the distance along the ring has a negative eigenvalue for and more; see the Gaspari-Cohn function page.
- Half-width or support. With the Gaspari-Cohn function, is the half-width and the weight is zero beyond . A stated "localization radius" can mean either of the two. Check which one a value means.
- Imbalance. Localization also removes true long-range correlations, for example physical balances between variables, so the analysis can be out of balance.
- Nonlocal observations. An observation of an integral over many grid points, such as a satellite radiance, has no single position, so its distance to a grid point is not well defined.
References
- P. L. Houtekamer and H. L. Mitchell, A sequential ensemble Kalman filter for atmospheric data assimilation, Monthly Weather Review 129(1) (2001) 123-137, the localized gain with a compactly supported correlation function
- T. M. Hamill, J. S. Whitaker and C. Snyder, Distance-dependent filtering of background error covariance estimates in an ensemble Kalman filter, Monthly Weather Review 129(11) (2001) 2776-2790, the Schur product of the ensemble covariance with a correlation function and its effect for small ensembles
- G. Gaspari and S. E. Cohn, Construction of correlation functions in two and three dimensions, Quarterly Journal of the Royal Meteorological Society 125(554) (1999) 723-757, eq. (4.10), the compactly supported fifth order function used as the taper
- B. R. Hunt, E. J. Kostelich and I. Szunyogh, Efficient data assimilation for spatiotemporal chaos: a local ensemble transform Kalman filter, Physica D 230(1-2) (2007) 112-126, the local analysis with the observations near each grid point and their weighting by distance
- K. Ide, P. Courtier, M. Ghil and A. C. Lorenc, Unified notation for data assimilation, operational, sequential and variational, Journal of the Meteorological Society of Japan 75(1B) (1997) 181-189, the notation of the data assimilation pages
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W3 standard |
|
Tag HWT5MF Edit this page History Report an error Markdown