Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.From coarse grids to local climate
A climate model might give one temperature for a 100 km square that contains a mountain, a valley and a lake. A farmer or an engineer needs the temperature at a particular place. Downscaling uses knowledge of the landscape and the statistics of past observations to turn the coarse value into local values. Because models also have systematic errors, a bias correction step makes their statistics match observations first.
National climate scenarios such as UKCP18 and the CORDEX regional programme rely on dynamical and statistical downscaling with bias correction.
- 1. Downscaling adds…
- 2. A coarse grid cell containing a mountain…
- 3. Bias correction makes model statistics match…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.By hand
- Dynamical downscaling: run a high-resolution regional model inside the coarse model (CORDEX); physically consistent but expensive.
- Statistical downscaling: learn relations between coarse predictors and local observations. Perfect prognosis trains on reanalysis, paired day by day with observations; model output statistics trains on model output directly.
- Bias correction: mean shift; quantile mapping, which maps the model’s distribution onto the observed one; quantile delta mapping (Cannon et al., 2015), which also preserves the model’s projected change at each quantile.
- ML downscaling: CNNs and U-Nets map coarse fields to fine ones; GANs and diffusion models generate realistic small-scale detail.
- Regression versus generation: MSE-trained predictions are the conditional mean and lack small-scale variance; adding noise or generative sampling restores variance at the price of a higher RMSE.
- Evaluation: RMSE, bias, variance ratio, extremes (high percentiles) and spatial structure, and behaviour in a changed climate.
- 1. Perfect prognosis trains on…
- 2. Quantile delta mapping preserves…
- 3. Adding noise to a regression restores…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 25 minUndergraduate students and practising engineers.A line across two ridges
Exercise 1.
- A 256 km line at 1 km resolution with ridges 2.0 km and 1.2 km high.
- Daily temperature: 10 °C, lapse rate −6.5 K/km, large-scale weather (sd 4 K, length 80 km) and local detail (sd 1.5 K, length 3 km).
- A coarse grid of 16 cells of 16 km, and linear interpolation back to the fine grid.
Practice.
- Use topography and other static fields as predictors; they explain much of the local climate.
- Separate bias correction from downscaling and check each on held-out periods.
- Prefer trend-preserving methods such as quantile delta mapping for projections.
- Evaluate extremes and variance, not just RMSE.
- Tools: xclim and ibicus for bias adjustment, xESMF for regridding, scikit-downscale, and U-Net or diffusion models in PyTorch.
import numpy as np
def quantile_delta_map(model_hist, obs_hist, model_future):
tau = (np.argsort(np.argsort(model_future)) + 0.5) / len(model_future)
return np.quantile(obs_hist, tau) + model_future - np.quantile(model_hist, tau)- 1. A strong static predictor for temperature is…
- 2. For projections prefer…
- 3. A Python package for bias adjustment:
Level 3: Advanced
★★★★☆ Advanced⏱ 25 minGraduate level, with full derivations and proofs.Theory
What averaging hides. The 2 km summit is 13 K colder than the lowlands because of the lapse rate, but a 16 km cell averages it with lower ground. In Exercise 1 the summit’s mean temperature was −3.1 °C while the interpolated coarse field gave 1.8 °C, 4.9 K too warm. The coarse cells still held 90% of the variance: the large-scale weather is resolved, the local relief is not.
Regression is a conditional mean. A regression of each fine point on the coarse field learns its offset and slope, removing the topographic bias, but it predicts the average local value given the coarse state. Local detail that the coarse field does not determine is missing, so the prediction is smoother than reality. Adding noise with the residual spread restores the variance, but because the noise is independent of the true detail, the squared errors add: RMSE grows.
Bias correction and change. Quantile mapping applies a fixed transfer function learned in the present. If the model’s variance is too low by a factor 0.7, the function stretches anomalies by 1/0.7, and a 3 K model warming is stretched too. Quantile delta mapping instead adds the model’s change at each quantile to the observed quantile, so the projected change passes through unaltered.
- 1. The interpolated summit was too warm by…
- 2. Adding independent noise to a regression…
- 3. Quantile mapping can distort…
Level 4: Expert
★★★★★ Expert⏱ 30 minResearchers: original papers and open problems.How do interpolation, regression and stochastic regression compare for spatial downscaling, and which bias corrections stay reliable when the climate warms?
History.
- H. von Storch, E. Zorita and U. Cubasch (1993) and R. Wilby and T. Wigley (1997) developed statistical downscaling.
- A. Wood et al. (2004) introduced bias correction with spatial disaggregation (BCSD).
- A. Cannon, S. Sobie and T. Murdock (2015) introduced quantile delta mapping.
- T. Vandal et al. (2017) applied deep super-resolution to downscaling; diffusion models now generate kilometre-scale fields.
Exercise 2. 2000 training and 1000 test days. Part 1 downscales correct coarse fields (as from a reanalysis); part 2 corrects a coarse model that is 2 K too warm with 30% too little variability, at the cell containing the high ridge, for the present and for a future 3 K warmer. Seed 0:
| spatial downscaling | RMSE (K) | worst mean bias (K) | variance ratio | 99th-percentile error (K) |
|---|---|---|---|---|
| interpolation | 1.5 | 4.8 | 0.96 | 0.77 |
| regression | 1.0 | 0.1 | 0.97 | 0.31 |
| regression + noise | 1.4 | 0.14 | 1.0 | 0.31 |
| bias correction | present: bias, sd ratio, 99th pct error | future: bias, sd ratio, 99th pct error |
|---|---|---|
| none | 2.0, 0.7, −1.1 | 2.0, 0.7, −0.83 |
| mean shift | 0.0, 0.7, −3.1 | 0.0, 0.7, −2.8 |
| quantile mapping | −0.026, 1.0, −0.026 | 1.2, 0.98, 0.25 |
| quantile delta mapping | 0.0, 0.99, −0.28 | 0.0, 1.0, −0.042 |
- Regression removed the topographic bias (worst point 4.8 K to 0.1 K) and cut RMSE by a third; adding noise restored variance but raised RMSE back to 1.4 K.
- A mean shift fixed the mean but left the hottest days 3 K too cool.
- Quantile mapping was nearly perfect in the present but 1.2 K too warm in the future, because it stretched the 3 K warming by 1/0.7; quantile delta mapping kept the future mean right.
- Seeds 1 and 2: regression RMSE 1.0 in both, worst mean bias 0.15 and 0.12 K; future quantile-mapping bias 1.4 and 1.2 K, quantile delta mapping 0.0 in both.
Downscaling in practice
- National scenarios: UKCP18, the US LOCA and NEX-GDDP data, and CORDEX regional ensembles.
- Impacts: hydrology, agriculture, energy demand and urban heat need local, bias-corrected inputs.
- Machine learning: U-Nets, GANs and diffusion models (for example CorrDiff) downscale weather and climate fields to kilometre scale.
- Caution: statistical relations learned in the present may not hold in a changed climate; physically based or trend-preserving methods are safer.
References
- R. L. Wilby and T. M. L. Wigley (1997). “Downscaling general circulation model output: a review of methods and limitations.” Progress in Physical Geography.
- A. W. Wood, L. R. Leung, V. Sridhar and D. P. Lettenmaier (2004). “Hydrologic implications of dynamical and statistical approaches to downscaling climate model outputs.” Climatic Change.
- A. J. Cannon, S. R. Sobie and T. Q. Murdock (2015). “Bias correction of GCM precipitation by quantile mapping: how well do methods preserve changes in quantiles and extremes?” Journal of Climate.
- D. Maraun and M. Widmann (2018). Statistical Downscaling and Bias Correction for Climate Research. Cambridge University Press.
- T. Vandal et al. (2017). “DeepSD: generating high resolution climate change projections through single image super-resolution.” KDD.