A Lorenz 2005 testbed for AI weather training

The L05 model, its reanalysis, and how far its small scales behave like atmospheric data

Author
George Craig
Affiliation
Meteorologisches Institut, LMU München
Status
Draft, November 2026

AI weather models are trained on reanalyses. Ensemble models have a harder task than deterministic ones: each member should carry realistic small-scale structure, even where that structure cannot be predicted. Whether a training loss can teach this, and how much data it takes, is hard to study on real data, where the truth is unknown and the record is fixed.

We therefore want a cheap model with a known truth and unlimited data that poses the same learning problem. This article describes one candidate, model III of Lorenz (2005)[1], here called L05, and reports how well it meets four requirements.

What the testbed should provide

In short

L05 gives realistic large scales, a realistic amount of small-scale variance and a working reanalysis at low cost. Its small scales are the weak point: their errors grow over days, not hours, so in a reanalysis they are almost fully predictable at 6 hours, and their spatial structure is about half as strong as in a reanalysis-like field. No setting we tried fixes this.

Part 1

The L05 model

Equations and parameters

The model has one variable \(Z_n\) at \(N\) points around a latitude circle. Lorenz calls it "some unspecified scalar atmospheric quantity"; we use wind as the closest analogy when we need reference values. \(Z\) is split by a smooth filter into a large-scale part \(X\) and a small-scale part \(Y\):

\[ X_n = \sideset{}{'}\sum_{i=-I}^{I} (\alpha - \beta |i|)\, Z_{n+i}, \qquad Y_n = Z_n - X_n . \]

Both parts are advected, damped and forced, and they are coupled:

\[ \frac{dZ_n}{dt} = [X,X]_{K,n} + b^2\,[Y,Y]_{1,n} + c\,[Y,X]_{1,n} - X_n - b\,Y_n + F . \]

The bracket is Lorenz's generalised advection term, an average of quadratic products over a window of \(K\) points:

\[ [X,Y]_{K,n} = \frac{1}{K^2} \sideset{}{'}\sum_{j=-K/2}^{K/2}\; \sideset{}{'}\sum_{i=-K/2}^{K/2} \left( -X_{n-2K-i}\,Y_{n-K-j} + X_{n-K+j-i}\,Y_{n+K+j} \right) . \]

A primed sum halves its first and last terms. \(\alpha\) and \(\beta\) are fixed by \(I\) so that the filter passes constants and linear trends unchanged.

With \(K = 1\) and no small scales this is the familiar Lorenz 1996 model. The window \(K\) makes the large-scale waves long and smooth; \(b\) makes the small scales faster and smaller, and \(c\) couples them to the large scales. We use Lorenz's own values throughout.

ParameterValueMeaning
\(N\)960grid points; 29.5 km apart on a 28 300 km circle
\(K\)32advection window of the large scales
\(I\)12half-width of the scale-separating filter
\(F\)15forcing
\(b\)10speed and damping of the small scales
\(c\)2.5coupling between the scales
time unit5 days6 hours are 0.05 units; fourth-order Runge–Kutta, 12 steps per 6 hours

Figure 1 runs the model in your browser, with the same equations and time step as our code. The large scales form about seven irregular travelling waves. Small-scale activity appears in bursts where the large-scale waves are steep. The other two parameter sets show what happens when the small scales are made faster: the large-scale flow locks into a regular travelling wave, some or all of the time.

day 0
Large scales, Xwhole ring, 28 300 km
0 kmtime ↓ (40 days shown)28 300 km
−614
X at the latest timewhole ring
Whole field, Z = X + Y, at the latest timewhole ring
Small scales, Yone quarter of the ring, full resolution
0 kmtime ↓7 080 km
−0.80.8
Y at the latest timethe same quarter of the ring
Figure 1. L05 running live. Each row is one 6-hour step; time runs downwards and the newest state is at the bottom. Left: the large scales on the whole ring. Right: the small scales on the first quarter of the ring. The line plots below show the latest state: X, the whole field Z, and Y. "Add a twin" starts a second run that differs by 0.1 % of the difference to an unrelated state; the right panel then shows the difference between the two runs' small scales (in the line plot, beside Y itself), and the readout shows the error as a fraction of its saturation value. Watch how many days the error needs.

Climate and spectrum

The model's climate is steady and chaotic. The numbers below come from three 10-year runs; the count of locked years also includes the 20-year run behind the reference reanalysis.

PropertyL05Atmospheric reference
Dominant large-scale wavenumber7about 7 (Selz et al.[2], 300 hPa, 40–60°)
Leading Lyapunov exponent1.56 per day–
Years with a locked travelling wave1 of 50–
Variance below 400 km0.13 %0.20 % of kinetic energy
Variance below 1000 km0.28 %2.0 % of kinetic energy
Area holding 80 % of the small-scale variance21 %–
Kurtosis of the small scales13–
Cost of the model326 years per core-hour–

A year counts as locked when one large-scale wavenumber dominates on at least 90 % of its days with a nearly constant amplitude. One year in 50 met this rule, narrowly (wavenumber 7 on 93 % of days), and a few others came close. The large-scale flow is therefore not immune to the regular regime that the faster parameter sets of Figure 1 fall into, but it visits it rarely.

Figure 2 shows where the variance sits. The large scales peak at wavenumber 7, as the atmosphere does. The small scales are a separate hump that peaks at the grid scale: their waves are only 2 to 6 grid points long. Between the two, at 400 to 1000 km, L05 has a gap where the atmosphere has a continuous spectrum.

Figure 2. Variance per unit logarithm of wavenumber, as a fraction of the total: L05's whole field \(Z\) (broad grey line) with its large and small scales (10-year climatology) and the kinetic-energy spectrum of Selz et al. (ICON at 40 km, digitised from their Fig. 3), which ends at 150 km. Dashed lines mark wavelengths of 1000 and 400 km.

The reanalysis

An AI model is trained on analyses, not on the truth. We therefore run a data assimilation system on the model and train on its output. The reference set-up is:

The small scales are much shorter than the observation spacing, so the observations say nothing about them. What the analysis contains at small scales depends on which state is called "the analysis". We compared five products from the same run.

ProductConstructionSmall-scale variance
relative to the truth
Large-scale error
Meanthe ensemble mean, the usual Kalman-filter analysis0.110.59 %
Memberone ensemble member1.121.19 %
Controlone extra state, updated with the ensemble's gain from its own forecast1.010.80 %
Control, truncatedas the control, with large-scale increments only1.000.78 %
Redrawnlarge scales of the mean, small scales of a different random member every cycle1.080.60 %
One simulated year at the reference set-up. The large-scale error is the error variance above 400 km over the climatological variance. A 20-year run of the same set-up is stable and without drift, and gives the same values for the control (1.00 and 0.81 %).

The control is our reference product. It is built as ERA5 is[3]: a single deterministic state, whose first guess is its own forecast and whose increments are large-scale, so that its small scales are generated by the model and carried from one cycle to the next. The ensemble mean, in contrast, averages the unobserved small scales away, as the mean of the 20th Century Reanalysis does where observations are sparse[5]. Figure 3 shows the difference.

Product
Truthsmall scales, Y
0 kmtime ↓ (10 days)4 720 km
Controlsmall scales, Y
0 kmtime ↓4 720 km
−1.21.2
Figure 3. The small scales of the truth and of an analysis product over the same 10 days and 4 720 km, one row per 6-hour analysis. The mean has almost none. The member and the control have realistic small scales that persist from one analysis to the next, in the right places but with the wrong details. The redrawn product's small scales change completely every cycle.

Figure 4 shows the analysis error by scale. The large waves are analysed to better than 1 % of their variance. The error rises steeply between 1000 and 400 km and is saturated below. At 400 km the analysis is much worse than the atmospheric reference.

Figure 4. Error variance of the analysis over the climatological variance, by wavenumber. A value of 1 means no information for an averaged state, and 2 for a single state such as the control. The reference is the initial ensemble variance of Selz et al., shown down to 300 km; below that their curve is affected by an interpolation artefact.

Part 2

Does it behave like atmospheric data?

Part 1 described the model as it is. This part asks whether training on it poses the same problem as training on a reanalysis of the real atmosphere. There is no agreed list of properties that a testbed needs for this, so we attempted to define one: a set of requirements on the large scales, the small scales and the analysis, each with a measure and, where we could find one, a reference value from the atmosphere or from a reanalysis. The scorecard summarises them and how L05 does. The sections after it explain the most important tests, look at what a learner sees in the training pairs, and ask whether the set-up can be tuned to remove the shortcomings.

Scorecard

Each row is one requirement with the measure we chose for it. "Reference" is the value for the atmosphere or for a reanalysis, where we have one. The status compares the two.

RequirementMeasureL05ReferenceStatus
Steady chaosyears with a locked wave1 of 500Partly
Large scales predictable at 6 hgrowth of large-scale error over 6 h1.25–1.331.15–1.3Met
Large-scale error growthgrowth from 12 h to 3 days5.15.9Met
Large-scale predictability limittime to half saturation28–34 d9–13 dNot met
Small-scale varianceshare below 400 km0.13 %0.20 %Met
Continuous spectrumshare below 1000 km0.28 %2.0 %Not met
Small scales structuredshuffle test (Section "Spatial structure")1.4–2.0 %3.5 %Partly
Small scales unpredictable at 6 hunpredictable fraction, analysis to next analysis0.02largeNot met
unpredictable fraction, analysis to truth0.96largeMet
Realistic analysislarge-scale error0.57 %0.51–0.57 %Met
error at 400 km, of saturation0.910.34Not met
Intermittent small scalesarea holding 80 % of their variance21 %noneNo reference
Affordablereanalysis cost per simulated year0.11 core-h–Met

Large-scale error growth

Selz et al.[2] measured how fast the difference between ensemble members grows in a global model started from today's analysis uncertainty. Figure 5 compares L05 with their result on the scales above 400 km, starting from the same initial error.

Figure 5. Error variance above 400 km over the climatological variance, against lead time, from an initial value of 0.57 %. L05: 60 cases with bred perturbations. Reference: Selz et al., experiment with full initial uncertainty.

The two agree for the first three days, which covers any step an AI model would be trained on. After that L05's growth slows down while the atmosphere's does not: L05 reaches half of saturation only after 28 to 34 days, against 9 to 13 days. L05 is therefore not a model of the medium range.

Small-scale error growth

In the atmosphere, errors at the smallest resolved scales grow much faster than errors at the large scales, and that is one reason why those scales are unpredictable at 6 hours. Figure 6 shows how fast they grow in L05, in pairs of runs that start almost identical.

Initial error
Figure 6. Error variance of the small and large scales, as a fraction of saturation, in pairs of runs that start a small distance apart (24 pairs). The initial difference is the stated percentage of the difference between two unrelated states.

From a 0.1 % error the small scales need about 6 days to reach half of saturation, and even from a 10 % error about a day. Their growth rate (an e-folding time near half a day) is only about three times faster than that of the large scales. In the atmosphere the separation is greater. This single property is behind most of the failed rows in the scorecard.

Spatial structure of the small scales

A loss that scores every grid point separately, such as the CRPS, cannot tell a realistic small-scale field from one with the same values scattered at random. A loss that scores neighbourhoods jointly, such as an energy score, can, provided there is structure to see. We measure how much there is with a shuffle test.

0 %change of the CRPS
–increase of the neighbourhood energy score
Figure 7. Three ensemble members over 200 grid points (5 900 km), before and after the shuffle. A smooth field loses a lot; a field that is already noisy at the grid scale loses little. The L05 lines are small scales of analysis members. The other two are Gaussian random fields with atmospheric spectra below 400 km: their phases are random, so they have no intermittency.

Figure 8 places L05 between two references. A field with the atmosphere's \(k^{-5/3}\) spectrum down to our grid scale gives 0.6 %. A field with the spectrum of a model or reanalysis, which has little variance near its grid scale, gives 3.5 %; since AI models are trained on reanalyses, this is the relevant target, but it is provisional because it comes from a model spectrum and not from a reanalysis. L05's small scales give 1.4 to 2.0 %. The part of the small scales that is unpredictable after a short time is more structured than the small scales as a whole, and loses that structure as it grows (see "The training step" below).

The comparison has a weakness. Both reference fields are Gaussian with random phases, so all of their structure is in the spectrum. L05's small scales are intermittent wave packets, and that is where their structure comes from: a Gaussian field with L05's own small-scale spectrum gives only 0.13 %. A real reanalysis field is intermittent too, so it would probably score above the 3.5 % of the Gaussian field with its spectrum. The gap between L05 and a reanalysis may therefore be larger than Figure 8 shows.

Figure 8. Increase of the 5-point neighbourhood energy score under the shuffle. Bars show one standard error where it was measured. The 6-hour value describes only the 2 % of the small-scale variance that is unpredictable at that step.

What a learner can predict

An AI model is trained on pairs: an analysis, and the analysis one step later. For each product we ran the true model from the first analysis and compared it with the second. What the true model cannot reproduce, no learner can. We call its share of the variance the unpredictable fraction: 0 means the target follows from the input, 1 means it is unrelated to it.

Target
Figure 9. Unpredictable fraction at 6 hours by wavenumber, for the five analysis products at the reference set-up (one year, 1 460 pairs).

With the next analysis as the target, as in training on a reanalysis, the small scales of the member and the control are about 98 % predictable. The model carries them forward, slowly, and the analysis step does not touch them. Only the redrawn product has unpredictable small scales, and it has them by construction. With the truth as the target, every product's small scales are unpredictable, because the analysis never knew them. But a model trained on a reanalysis never sees the truth.

The small scales also carry little weight: at the reference set-up they account for 3 % of the 6-hour squared error between consecutive control analyses, and 19 % against the truth.

Can the set-up be tuned to meet the requirements?

The shortcomings come down to the small scales: they are too predictable at 6 hours and not structured enough. We tried to change this in three ways: through the model's parameters, through the observation network, and through the length of the training step.

The model's parameters

Raising \(b\) and \(c\) speeds up the small scales, but the large-scale flow then locks into a travelling wave, as the second and third parameter sets of Figure 1 show. Figure 10 collects 39 parameter sets. None has fast small scales and an unlocked flow. A smoothed small-scale term removes the lock but slows the small scales or stops their chaos; a grid of twice the resolution gave only a small gain in structure at five times the cost.

Figure 10. Parameter sets from the screens: the time small-scale errors need to saturate from a 0.1 % error, against the share of years in which the large scales were locked into a regular wave (3 runs of 5 years each). Open symbols did not saturate within the run and are placed at its end. The shaded corner is where a set would have to be. Hover for the parameters.

The observation network

Denser observations might be expected to reach some of the small scales, so that the analysis step would change them and make them less predictable. They do not, as long as the large-scale analysis error is held at its realistic value: a denser network then needs noisier observations, and the small scales, whose standard deviation is only 0.17, stay invisible (Figure 11).

Figure 11. Analysis error against the observation error, for observations at every 10th, 5th and 2nd grid point. Left: large scales, with the two target values. Right: small scales; 1 means that the analysis knows nothing about them. The small scales are analysed only where the large-scale error is far below the targets.

The training step

If the errors need more time, the training step can be lengthened. Over several assimilation cycles the model's own error growth, fed by the analysis increments, makes the control's small scales unpredictable without any redrawing. Figure 12 shows what this buys and what it costs.

6 h
–of the small-scale variance is unpredictable
–structure of the unpredictable part (reference 3.5 %)
–large-scale error growth over the step (reference 1.15–1.3 for 6 h)
Figure 12. The control product against the length of the training step. Left: unpredictable fraction of the small scales, for the reference set-up and for the set-up with a smaller analysis error. Middle: growth of the large-scale error over the step, from analysis to forecast. Right: shuffle-test value of the unpredictable part, measured on ensembles of 40 possible targets for the same input (60 cases). Dotted lines are the references. The slider reads off the reference set-up; a requirement counts as met for at least 50 % unpredictable, at least 80 % of the reference structure, and growth of at most 1.35, and as partly met down to 25 %, 50 % and a growth of 2.

The three requirements pull against each other. At 12 hours the unpredictable part is well structured, but it is only 16 % of the small-scale variance. At 2 days most of the small-scale variance is unpredictable, but its structure has fallen to that of the small scales as a whole, and the large-scale error has grown almost sixfold over the step. A step of 12 hours to 1 day is a workable compromise if it is accepted as a longer step. It cannot stand in for 6 hours in the atmosphere, where the large-scale error grows by a factor of 1.15 to 1.3.

None of the three removes the shortcomings. The first two leave them as they are, and the third trades them against each other.

Summary and open points

What L05 is good for

Where it falls short

Points that are still open:

References

  1. Lorenz, E. N. (2005). Designing chaotic models. Journal of the Atmospheric Sciences, 62, 1574–1587.
  2. Selz, T., Riemer, M. and Craig, G. C. (2022). The transition from practical to intrinsic predictability of midlatitude weather. Journal of the Atmospheric Sciences, 79, 2013–2030.
  3. Hersbach, H., et al. (2020). The ERA5 global reanalysis. Quarterly Journal of the Royal Meteorological Society, 146, 1999–2049.
  4. Hunt, B. R., Kostelich, E. J. and Szunyogh, I. (2007). Efficient data assimilation for spatiotemporal chaos: a local ensemble transform Kalman filter. Physica D, 230, 112–126.
  5. Compo, G. P., et al. (2011). The Twentieth Century Reanalysis Project. Quarterly Journal of the Royal Meteorological Society, 137, 1–28.
  6. Lang, S., et al. (2024). AIFS-CRPS: ensemble forecasting using a model trained with a loss function based on the continuous ranked probability score. arXiv:2412.15832.
  7. Lang, S., et al. (2026). On the sensitivity of machine-learned probabilistic weather forecast models to scale-aware scoring rules. Preprint.