Ensemble Forecasting
What You'll Learn
- 1Generate initial-condition ensembles with singular vectors, bred vectors, and ensemble Kalman filters
- 2Explain how stochastic physics stands in for unresolved model error
- 3Compute CRPS, rank histograms, and spread–skill diagnostics for an ensemble
- 4Distinguish weather, seasonal, decadal, and climate ensemble designs
A single simulation is one draw from a distribution no one can write down. Ensemble forecasting replaces the impossible task of predicting the exact state with the tractable one of predicting its probability distribution, by running the model many times from slightly different starting points — and, where affordable, slightly different models. The technique is now the backbone of operational weather forecasting, seasonal prediction, and climate projection alike, with the differences between those applications mostly a matter of where the uncertainty lives.
Where Uncertainty Enters
At lead times of days, the dominant error is initial condition uncertainty: the atmosphere's chaotic amplification converts small analysis errors into large forecast errors within a week, the classic butterfly timescale Lorenz identified in 1963. At seasonal leads, the slow components — ocean temperature, soil moisture, snow cover — set the predictable signal, and the uncertainty is a mix of initial state and internal variability. At decadal leads, both compete. In climate projections, initial condition uncertainty is minor relative to scenario and model structural uncertainty, which is why climate ensembles sample different things entirely.
Ensemble generation therefore differs by timescale. Medium-range weather ensembles at ECMWF use singular vectors — perturbations computed to grow maximally over a 24 to 48-hour window in the model's linearised dynamics — combined with a random perturbation of the analysis. The ensemble Kalman filter (ETKF and variants) instead propagates the full analysis covariance, giving dynamically consistent perturbations calibrated to the observing system's error structure. Seasonal systems such as NMME combine initial-condition members across several models, and climate studies use either perturbed-physics ensembles, multi-model ensembles, or large initial-condition ensembles that isolate internal variability.
Stochastic Physics: Sampling Model Error
Initial-condition perturbations alone leave the ensemble underdispersive — too confident, with observations falling outside the spread too often. Stochastic physics addresses structural error by randomly perturbing the parametrised tendencies each time step. The three canonical schemes are SPPT, which multiplies the sum of physical tendencies by a random field; SKEB, which injects kinetic energy compensating for the dissipation the resolved flow cannot represent; and perturbed parameters, which draw scheme constants from distributions defined by the development process. A 50-member ensemble with stochastic physics routinely scores better in CRPS than a 100-member ensemble without it, which is the operational argument that spread quality beats raw member count once correlations between members are accounted for.
The arithmetic of ensemble size is worth internalising. For independent members, the ensemble mean error decreases as , so going from 10 to 50 members cuts error by a factor of 2.2, and from 50 to 500 by another 2.2. The diminishing returns are real, but so is the underdispersion cost of too few members — in practice, 30 to 50 members is the operational sweet spot for weather, and 20 to 30 for seasonal systems constrained by computing.
Verifying the Distribution
A probabilistic forecast is verified as a distribution, not an error bar. The two workhorse diagrams are the rank histogram and the continuous ranked probability score (CRPS). The rank histogram bins the observation by its rank among the sorted members: a U shape means the ensemble is underdispersive (observations fall outside the range too often); a dome means it is overdispersive; a slope indicates bias. The CRPS generalises absolute error to distributions:
where is the ensemble, the observation, and an independent draw from the same ensemble. It has the units of the variable, reduces to mean absolute error for a single-member forecast, and rewards both accuracy and sharpness. The first script computes CRPS, the rank histogram, and the spread–skill ratio for a synthetic ensemble:
import numpy as np
def crps_ensemble(members, observation):
"""Exact CRPS for an ensemble of exchangeable members."""
members = np.asarray(members, dtype=float)
term1 = np.mean(np.abs(members - observation))
term2 = np.mean(np.abs(members[:, None] - members[None, :])) / 2.0
return term1 - term2
def rank_histogram(members_matrix, observations):
"""Counts of the observation's rank among N sorted members."""
n_members = members_matrix.shape[1]
ranks = np.sum(members_matrix < observations[:, None], axis=1)
return np.bincount(ranks, minlength=n_members + 1)
def spread_skill(members_matrix, observations):
spread = members_matrix.std(axis=1, ddof=1).mean()
skill = np.sqrt(np.mean((members_matrix.mean(axis=1) - observations)**2))
return spread, skill, spread / skill
rng = np.random.default_rng(2)
obs = rng.normal(0.0, 1.0, 400)
members = obs[:, None] + rng.normal(0.0, 0.6, (400, 50)) # underdispersive
print("CRPS:", round(crps_ensemble(members[0], obs[0]), 3))
hist = rank_histogram(members, obs)
spread, skill, ratio = spread_skill(members, obs)
print("rank histogram ends vs middle:", hist[0] + hist[-1], "vs", hist[10:40].sum()//3)
print(f"spread {spread:.2f}, RMSE {skill:.2f}, spread/skill {ratio:.2f}")
A spread–skill ratio near 1 is the target; the synthetic ensemble lands near 0.6, and the U-shaped rank histogram confirms the diagnosis that the members are too tight around the truth. Operationally this is corrected by inflating perturbations or improving stochastic schemes, not by simply adding members of the same flawed configuration.
Multi-Model Ensembles and Weighting
Structural uncertainty is addressed by pooling models. CMIP6 comprises well over a hundred models from dozens of centres, and the multi-model mean historically outperforms any single member at the global scale, because independent model errors partially cancel. The statistical basis is straightforward — averaging reduces the error component that is uncorrelated across models — but the assumption of independence is fragile: centres share component models, parameterisations, and even codebases, so the effective number of independent models is far smaller than the count. Weighting schemes that discount models by their independence, by past skill, or by their distance from the observed climate have become standard practice, though each weighting introduces its own subjective choices.
Perturbed-physics ensembles take a different slice: one model, many parameter combinations, giving a controlled view of parametric uncertainty that multi-model ensembles cannot separate from structural error. The HadCM3Q ensemble and its descendants made this approach famous, and its lesson — that parameter spread often rivals inter-model spread — is the reason single-model sensitivity claims deserve skepticism.
Climate Large Ensembles
Modern climate modelling has embraced large ensembles: CESM2's 100-member single-forcing and historical large ensembles, CanESM5 with 50 members, MPI-GE, and others. Their purpose is to separate the forced response from internal variability with a known noise floor: the ensemble mean estimates the forced signal, and the member spread quantifies how much any single trajectory — including the observed one — can deviate from it. A useful rule is that at the global-mean scale, internal variability is near 0.1 K per decade, so the forced warming signal emerges from the noise within a decade or two; at regional scales, particularly for precipitation, the noise floor is several times larger, and the signal may not emerge for decades.
The second script demonstrates the signal-extraction logic with a synthetic forced-plus-noise ensemble:
import numpy as np
rng = np.random.default_rng(9)
n_members, n_years = 50, 80
years = np.arange(n_years)
forced = 0.02 * years # 0.2 K/century trend
internal = rng.normal(0.0, 0.12, (n_members, n_years)) # AR(1)-like noise
ensemble = forced[None, :] + internal
single = ensemble[0]
ensemble_mean = ensemble.mean(axis=0)
def trend(y):
return np.polyfit(years, y, 1)[0] * 100
print(f"true forced trend: {trend(forced):+.3f} K/decade")
print(f"single-member trend: {trend(single):+.3f} K/decade")
print(f"50-member mean trend: {trend(ensemble_mean):+.3f} K/decade")
noise_floor = internal.std(axis=0).mean() / np.sqrt(n_members)
print(f"standard error of member mean: {noise_floor:.3f} K")
Single members scatter by several tenths of a kelvin per decade around the truth; the 50-member mean recovers the forced trend to within a few hundredths. This is why attribution studies use ensembles, and why a single model run compared against a single observed decade proves almost nothing.
Ensembles Across Timescales
| Timescale | Ensemble design | Primary uncertainty | Typical size |
|---|---|---|---|
| Medium range (1 to 10 days) | Singular vectors + stochastic physics | Initial conditions | 30 to 51 |
| Subseasonal to seasonal | Multi-model IC ensembles (NMME, S2S) | Initial conditions and model | 10 to 30 per model |
| Decadal | Initialized coupled ensembles | Ocean initial state and model | 10 to 30 |
| Century scale | Scenario plus initial-condition ensembles | Scenario, model, forcing | 5 to 50 |
| Climate sensitivity studies | Perturbed physics, multi-model | Structural and parametric | Tens to hundreds |
The through-line is that every timescale runs an ensemble, but each designs its members to sample the uncertainty that dominates at that lead. Misreading which axis is being sampled — treating a multi-model spread as an initial-condition probability, or a scenario range as a confidence interval — is the most common misuse of ensemble output in both operational and climate contexts.
Common Mistakes
Adding members to fix an underdispersive ensemble
Fix: More members of a biased configuration only sample the wrong distribution more finely; diagnose the spread–skill ratio first, then fix perturbation or stochastic schemes.
Treating a multi-model range as a probability distribution
Fix: Models are not independent draws from a defined population; report the range as structural uncertainty and apply explicit weighting if you need probabilities.
Comparing a single model run to observations and calling it a trend
Fix: Internal variability at regional scales can exceed the forced signal for decades; use ensemble means or large ensembles before attributing the difference.
Best Practices
- Verify probabilistic forecasts with CRPS and rank histograms, not just ensemble-mean RMSE
- Check the spread–skill ratio against lead time; growing underdispersion with lead is the signature of missing model-error representation
- When publishing ensemble results, state which axis of uncertainty the members sample and which are held fixed
Key Takeaways
- Initial-condition ensembles sample chaos; stochastic physics stands in for model error; multi-model ensembles sample structure — each design targets a different uncertainty
- CRPS and rank histograms verify the full distribution, and a spread–skill ratio near 1 is the operational target
- Ensemble mean error falls as one over the square root of member count, so member quality and independence matter as much as quantity
- Climate large ensembles separate forced response from internal variability, showing why single-run trend comparisons are statistically empty at regional scales
Frequently Asked Questions
Why do operational ensembles need stochastic physics?
Deterministic-physics ensembles with perturbed initial conditions alone become underdispersive within a few days, because structural model error is unrepresented. Stochastic schemes restore realistic spread growth at modest cost.
Is the ensemble mean always the best forecast?
For mean-square loss the ensemble mean is optimal, and it wins most clearly at longer leads. For extremes and thresholds, the full distribution is necessary — the mean smooths exactly the features that matter for impacts.
How do climate ensembles differ from weather ensembles?
Weather ensembles perturb initial conditions to bracket chaos over days; climate ensembles perturb parameters, models, or forcing scenarios to bracket structural and scenario uncertainty over decades. The member counts, generation methods, and interpretation all follow from which uncertainty dominates.
Interview Questions
Q1: What does a U-shaped rank histogram indicate, and how do you fix it?
It means the ensemble is underdispersive — observations fall outside the member range too often; fix it by inflating initial perturbations or adding stochastic physics, not by adding members of the same configuration.
Q2: Define CRPS and explain why it is preferred over RMSE for ensembles.
CRPS is the expected absolute error of the ensemble distribution minus half the expected spread between ensemble members; it scores the whole distribution, rewards sharpness, and reduces to mean absolute error for a single member.
Q3: Why does the ensemble mean outperform any single member at long lead?
Unforced internal variability averages toward zero across members while the forced response remains, so the mean's error shrinks approximately as one over the square root of the member count.