Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Variational data assimilation, written as probabilistic programs

esmax · ocean · 9 · 3D-Var, strong, incremental and weak-constraint 4D-Var, each full and reduced, written as numpyro models with gaussx, kernellib and geonnax priors

Abstract

3D-Var, strong-constraint 4D-Var and weak-constraint 4D-Var, each in a full and a reduced form, are one idea at six sizes, and incremental 4D-Var solves the strong-constraint pair a second way. The idea is a Gaussian prior on whatever is uncertain, a model that maps it to the observations, and the most probable value given the data. In this page, we write each one as a numpyro model whose covariances are gaussx operators (circulant, Kronecker, low-rank) built from kernellib kernels, with reduced bases from kernellib feature maps and geonnax eigenfunctions. So the cost function is derived and not hand-written, the analysis is the model’s MAP, and the Laplace approximation is its uncertainty.

Keywords:3D-Var4D-Varincremental 4D-Varweak constraintreduced ordernumpyrogaussxkernellibLaplace approximation

Open the full page

Where it sits. A companion to pages 3 and 4: the same estimators as probabilistic programs, with structured covariances and their Laplace spread. The full page is a self-contained document with operator boxes (inputs, outputs, shapes and units), figures and code sketches, which opens on its own and links back here.

TL;DR: Six priors, one likelihood, two ways to solve

On the page

  1. Intuition: one ladder

  2. The program behind every method

  3. The machinery: priors as structured objects

  4. 1 · 3D-Var

  5. 2 · Reduced 3D-Var

  6. 3 · Strong-constraint 4D-Var

  7. 4 · Reduced strong-constraint 4D-Var

  8. 5 · Incremental 4D-Var

  9. 6 · Reduced incremental 4D-Var

  10. 7 · Weak-constraint 4D-Var

  11. 8 · Reduced weak-constraint 4D-Var

  12. Inference: MAP, quasi-static windows, Laplace

  13. The eight side by side

  14. At ocean scale

  15. Notes from building this page