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.

Lorenz-96 (single-level) — analysis-then-forecast setup

The higher-dimensional sibling of Lorenz-63: a ring of KK coupled scalar variables with periodic boundary conditions,

dxkdt=(xk+1−xk−2) xk−1−xk+F.\frac{dx_k}{dt} = (x_{k+1} - x_{k-2})\,x_{k-1} - x_k + F.

With K=40K = 40 and F=8F = 8 the system is fully chaotic, with a Lyapunov time of about 1/λmax⁡≈0.51/\lambda_{\max} \approx 0.5 time units. We use a 0.5-time-unit assim window inside a 5-time-unit total run (~10 Lyapunov times) so the free-forecast covers many e-fold times — the standard PyDA pattern, scaled to L96’s faster Lyapunov clock.

This notebook covers decisions, simulation, observation design, and sanity checks. The benchmark itself — 10_lorenz96_benchmark — runs the seven AnalysisStep methods on the resulting problem.

1. Decisions

ParameterValueRationale
KK40Canonical chaotic dimension.
FF8.0Standard L96 chaotic forcing.
dtdt0.01RK4 step.
TassimT_\text{assim}50 (0.5 time units)About one Lyapunov time; long enough for sparse obs, short enough for 4DVar’s BFGS to converge.
TtotalT_\text{total}500 (5 time units)~10 Lyapunov times of free-forecast.
σo\sigma_o1.0Obs noise std (~10% of typical state magnitude).
σb\sigma_b5.0Background-error std.

2. Simulate a long trajectory + Hovmöller

long trajectory: (500, 40)
<Figure size 1000x400 with 2 Axes>

3. Observation design for forecast-mode benchmark

Inside the assim window: observe every 4th grid point at every 0.05 time units (every 5 model steps). 10 spatial × 11 temporal = 110 scalar obs in a 0.5-time-unit window — enough information for strong-4DVar to recover x0x_0 tightly.

Free-forecast window: no obs. Each method’s analysis is rolled forward 4.5 time units through the L96 forward.

K=40, T_assim=50 (assim 0.5 time units)
T_total=250 (total 2.5 time units)
obs density: 110 / 2040 entries in assim window
<Figure size 1300x400 with 6 Axes>

4. Forward roundtrip sanity check

roundtrip max abs error: 0.00e+00

5. Truth Hovmöller over the full forecast window

10 Lyapunov times of L96 ground truth. The forecast methods aim to reconstruct this entire image from the bottom-left assim window (yellow-bordered region).

<Figure size 1100x450 with 2 Axes>

6. Next

Continue to 10_lorenz96_benchmark to see how each of the seven AnalysisStep methods recovers the initial state and how long the resulting forecast tracks the truth across the 10-Lyapunov-time horizon.