Manuscript Offprint
arXiv:2610.33482Climate downscaling with likelihood functional flow matching
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Decisions about heat, frost and flooding are made locally, yet reanalyses and climate models resolve tens of kilometres. Generative downscalers add kilometre-scale detail with uncertainty, but are tied to a grid, costly to sample and lack a tractable likelihood. Here we introduce CD-FFM, a functional flow-matching model that treats the high-resolution field as a continuous random field that one model can query at any location and resolution. Its velocity acts pointwise, so spatial variability comes from a noise prior fitted to the observed spectrum and every observation has an exact likelihood. Downscaling ERA5 to 1 km daily temperature over Fennoscandia, CD-FFM lowers the continuous ranked probability score by 27–31% against regression and 12–18% against a forty-times larger neural operator in each of three test years, and outperforms a CorrDiff-style diffusion model while sampling about fifty times faster. The same model transfers to precipitation and makes large kilometre-scale ensembles affordable.
Keywords: statistical downscaling, generative models, flow matching, probabilistic weather, climate extremes
Every day, farmers, road authorities, energy operators and emergency services in northern Europe act on temperature and precipitation at the scale of a valley, a road or a catchment. Climate change is making local extremes more frequent and more surprising[1], yet the global reanalyses and climate projections that describe them resolve the atmosphere at roughly 25–100 km[2]. Downscaling bridges this gap. Dynamical downscaling with a regional climate model is physically grounded but too expensive for large ensembles. Statistical downscaling, from bias correction and spatial disaggregation (BCSD)[3, 4] to deep regression networks[5, 6], is cheap but mostly deterministic: it returns the conditional mean and smooths away the fine-scale variability and the tails that matter most for impacts.
Deep generative models have begun to close this gap. Generative adversarial networks[7, 8] and, more recently, diffusion models[9, 10] learn the conditional distribution of the fine field and draw ensembles of realistic kilometre-scale fields from it. CorrDiff[10], which corrects a convolutional UNet regression with a residual diffusion model, recovers the power-law spectra of the target data and has become a reference for generative downscaling.
Current generative downscalers nevertheless have four limitations. First, they are tied to a grid: the network is trained and sampled on the pixels of one target product, so resolution and region are fixed at training time. Second, they are costly to sample. A diffusion model needs tens of evaluations of a network with tens of millions of parameters over the whole domain for every ensemble member[10, 11], which limits ensemble sizes in exactly the applications that need them. Third, their ensembles are often under-dispersed[10], so the uncertainty they convey is too narrow. Fourth, their likelihood is intractable at scale: evaluating how probable an observed field is requires stochastic trace estimates over millions of dimensions[12, 13], so such models are judged by sample-based scores alone.
These limitations share a cause: the generative model is a convolutional network on a pixel grid. Its kernels have a fixed size in pixels, which ties it to one grid, and it creates fine-scale structure by mixing neighbouring pixels through many layers, which couples millions of pixels in every sample and in its probability. Functional generative models avoid this: they define a distribution over fields of continuous coordinates, which can be evaluated at any set of points .
Here we present CD-FFM, a Climate Downscaling model based on Functional Flow Matching. Flow matching[15] trains a network to predict the velocity that carries samples of simple noise to samples of the data; functional flow matching[14] extends this from vectors to random fields. CD-FFM treats the two grids of the problem differently. The coarse input always lives on the same grid, so a Flower neural operator[16] encodes it once; Flower mixes information through warps, learned location-dependent displacements, which suit the transported, anisotropic patterns of weather. The output must be free of any grid, so a local implicit function[17], a small network that interpolates the encoding to any coordinate, reads it at the query locations, and a velocity that acts on each location independently transports a Gaussian random field (spatially correlated Gaussian noise) to the target field. Because this velocity cannot move information between locations, the noise sets the spatial variability of every sample, so we fit the power spectrum of the noise prior, its distribution of variance across scales, to observations. The design meets five conditions:
• Resolution-free. One trained model can be evaluated on any set of points, from regular grids at any resolution to scattered weather stations.
• Realistic spatial variability. Samples reproduce the observed power spectrum and pixel-to-pixel roughness.
• Calibrated. Ensemble spread matches the actual error, as judged by proper scores, which reward honest probabilistic forecasts, and by the reliability of extreme-event probabilities.
• Exact likelihood. At each location the flow is a three-dimensional ordinary differential equation (ODE), so the probability of any observation follows exactly from one backward ODE solve.
• Efficient. A 3.2-million-parameter model trains in about an hour on one GPU, and a distilled flow map draws a sample in one or two network evaluations.
We downscale ERA5[2] to the 1 km Nordic Gridded Climate Dataset (NGCD)[19]: daily mean, maximum and minimum temperature (TG, TX, TN) over Norway, Sweden and Finland (1.33 million land pixels), and daily precipitation. We compare CD-FFM with a BCSD-style statistical baseline, the same network trained by regression, a CorrDiff-style diffusion model and a flow in which the Flower encoder is replaced by a forty-times larger Fourier neural operator (FNO)[20], which mixes all locations through global Fourier modes; this last comparison isolates the choice of encoder.
1 Results
Figure 1 shows the outcome for one summer day of the test year 2019. The ensemble members share the large-scale pattern set by ERA5 and differ in local detail, yet each reproduces the valley and plateau structure of western Norway (Extended Data Fig. 1); the ensemble spread, about 0.5–1.5 °C, is largest in the north and inland. Throughout, we evaluate on 2016, 2018 and 2019, none of which was used for training or checkpoint selection, with 16-member ensembles and the fair ensemble continuous ranked probability score (CRPS)[21], which measures the distance between the predicted distribution and the observation in °C and equals the absolute error for a single forecast; all models share the same inputs, 15 training years and evaluation code.
a ERA5 input (0.25°), 28 Jul 2019
b CD-FFM, mean of 16 samples

c NGCD observations (1 km)
d CD-FFM ensemble spread
Daily mean temperature, TG (°C)
0.00 0.25 0.50 0.75 1.00 1.25 1.50 1.75 2.00 Standard deviation of TG (°C)
e ERA5 input, western Norway
f CD-FFM, sample 1

g CD-FFM, sample 2
h NGCD observations
Daily mean temperature, TG (°C), western Norway
Fig. 1 CD-FFM downscales ERA5 to 1 km daily temperature with calibrated uncertainty. a–d, Daily mean temperature (TG) on 28 July 2019, a summer day of the test year, over Norway, Sweden and Finland: ERA5 input at 0.25° (a), the mean of 16 CD-FFM samples (flow map, two steps; b), NGCD observations at 1 km (c) and the ensemble standard deviation (d). The box marks the 128×128 km region in western Norway enlarged in e–h. e–h, ERA5 input (e), two individual CD-FFM samples (f, g) and NGCD observations (h) in that region, a landscape of fjords, valleys and high plateaus around Sogndal.
Because sees location only through , any finite set of query points is mapped point by point, and the samples of different point sets are mutually consistent views of one continuous random field (Methods). The model can therefore be queried on regular grids at any resolution or at scattered points, and training on random subsets of points gives an unbiased estimate of the loss over the whole field. The same structure means that the network can transform the noise value at each location but cannot move information between locations: given the condition, the spatial variability of a sample is inherited from z. We therefore draw z from a Gaussian random field whose power-law spectrum is fitted, over wavelengths of 8–500 km, to that of the observed residuals, the part of NGCD that a regression on the coarse input cannot explain. With spatially independent noise, samples are salt-and-pepper; with a conventional smooth kernel, they are blotchy and too smooth below 20 km (Methods and Extended Data Fig. 2).
Figure 3 evaluates one noise realization and the trained model on six nested grids, from 8 to 0.25 km, a 32-fold range. Coarse queries are subsamples of fine ones, and at shared points the generated temperatures agree to ; the same holds over

Fig. 2 CD-FFM downscales by querying a continuous random field at any set of locations. a, Condition. The ERA5 fields of one day are encoded once into a coarse feature field. Any set of query locations s (a coarse grid, a fine grid or scattered points) is then read from it by a local implicit function. This function combines the four surrounding cells (dashed) with the sub-cell offset and the static descriptors, giving a condition per location. b, Velocity. At each location a small network transports the noise distribution (orange, ) into the predictive distribution of the 1 km value (blue, ); coloured paths are individual samples. Because acts on one location at a time, the same ordinary differential equation run backwards from an observation (star; black path) gives its exact likelihood, accumulating the trace of the Jacobian . c, Noise prior. Each ensemble member starts from one draw of a Gaussian random field whose spectrum is matched to the observations; since the velocity cannot mix locations, this field sets the spatial variability of the sample (i.i.d. noise gives too rough a field, a smooth RBF field a blotchy one). d, Outputs. Ensembles of 1 km maps on any grid, and, by running the flow backwards, the exact likelihood of every observed pixel, without a stochastic trace estimator.
the whole domain from 16 to 1 km (Extended Data Fig. 3). Below the 1 km training resolution the field stays continuous and free of blocks or seams, although this finer detail is a smooth continuation rather than new information, since no observations finer than 1 km constrain it. The cost scales with the number of points: a 1 km field of the whole Nordic domain (1.33 million points) takes 0.94 s on one GPU, including encoding, against 0.06 s at 4 km and 0.01 s at 16 km.
1.2 The exact likelihood shows how far each downscaled value can be trusted
A generative downscaler returns a distribution rather than a single value, and its users need to know whether that distribution can be trusted at a given place and day. The likelihood answers this directly: it is the probability density that the model assigned, before seeing the data, to the value actually observed. A low likelihood means that either the weather was unusual or the model was over-confident. Unlike CRPS, which compares samples with the observation, the likelihood evaluates the full predictive density and penalizes over-confidence most severely. For a grid-based diffusion model it is intractable at scale; for CD-FFM it follows exactly from one backward solve of the three-dimensional ODE at each location (Methods). We report the negative log-likelihood per pixel, joint over TG, TX and TN, in nats, the unit of information for a Noise field z(s), one realization on nested grids

b CD-FFM sample of TG on the same grids, western Norway, 28 Jul 2019
Fig. 3 One CD-FFM sample can be queried at any resolution. a, One realization of the Gaussian noise field evaluated on nested grids from 8 to 0.25 km over a km box in western Norway. b, The corresponding CD-FFM sample of daily mean temperature on 28 July 2019, and the NGCD observations at 1 km. The encoder is evaluated once, and the noise and the flow pointwise, so every location receives the same value whatever other points are queried; coarse and fine queries are views of one field. Below 1 km the detail comes from the continuous query and the interpolated static descriptors; the model was trained on 1 km data only.
natural logarithms: lower is better, and a model that is better by 1 nat assigns the observations on average times the probability density.
Over every seventh day of 2019, CD-FFM assigns the observations the highest likelihood of all models we can score: 4.71 nats per pixel, against 5.10 for the same network trained by regression and 7.78–9.12 for flows built on a Fourier neural operator (Extended Data Table 1). The regression score is optimistic, because we give that network the most favourable Gaussian spread, fitted on the test days themselves. The difference of 0.39 nats means that the observed values are about 1.5 times as probable under CD-FFM, whereas the near-deterministic ensembles of the FNO flows place almost no probability on them. Over every day of 2019, the observations are more probable under CD-FFM than under the regression Gaussian at 99.1% of the pixels and on 87% of the days (Fig. 4d,f).
The gain is physically structured. It is largest at sites whose climatological minimum temperature lies more than 1.5 °C below the mean of their ERA5 cell, typically valley floors where cold air pools (median 0.70 nats), and smallest at sites more than 1.5 °C above it (0.28 nats; Fig. 4e). At such sites the minimum temperature given the coarse field is wide and asymmetric, depending on whether an inversion forms or breaks, which a Gaussian with one spread cannot represent. Near Tromsø on 15 January 2019, for example, the observed minimum was about 6 °C above both predictive medians; CD-FFM gave 5.5% probability to values at least this warm, the Gaussian 1.1% (Fig. 4g).
Mapped over the domain, the likelihood shows where the observed field is surprising given the reanalysis (Fig. 4a–c). On 28 July 2019 the least likely observations lie in the interior of northern Sweden and Finland, where the observed heat exceeded the ensemble, whereas the well-predicted south has values near -2 nats. Such maps, which take about 15 s per day for the full domain, can flag unusual local weather or problems in the observational product at every location. Differentiating the likelihood with respect to the input also shows where the model draws its information from. Half of a Observed TG anomaly, 28 Jul 2019

b -log p(observation), CD-FFM
c -log p(observation), regression
d Mean likelihood gain over 2019
e Gain against local climate

f Daily domain mean, 2019
Local TN climatology – ERA5-cell mean (°C)
g Coldest pixel (69.47° N, 19.87° E)
h Warmest pixel (69.62° N, 19.73° E)

TN (°C), 15 Jan 2019

TN (°C), 15 Jan 2019
Fig. 4 The exact likelihood shows how surprising each observation is, and where the local distributions of CD-FFM matter. a, Observed daily mean temperature on 28 July 2019 as a standardized anomaly. b, c, Negative log-likelihood of the observed (TG, TX, TN) at every pixel under CD-FFM (exact) and under the regression network with its most favourable Gaussian (residual covariance fitted on the test days). d, Likelihood gain of CD-FFM over the Gaussian, averaged over every day of 2019 (positive: observations more probable under CD-FFM); the star marks the ERA5 cell used in g, h. e, Gain against the deviation of the local climatological minimum temperature from the mean of its ERA5 cell (negative: locally cold sites); median and interquartile range in 20 bins. f, Daily domain-mean negative log-likelihood over 2019. g, h, Predictive distribution of the minimum temperature on 15 January 2019 at the climatologically coldest and warmest pixel of the ERA5 cell with the largest local contrast: 4,000 CD-FFM samples, the regression Gaussian and the observation (dashed).
the total sensitivity of CD-FFM lies within 360–490 km of the target, in an anisotropic, location-specific pattern, whereas the FNO flow spreads it almost uniformly over the domain (Extended Data Fig. 4), as expected from sparse warps on the one hand and global Fourier mixing on the other (Methods).
1.3 CD-FFM is more skilful than statistical, neural-operator and diffusion downscalers
On the continuous ranked probability score, CD-FFM is the most skilful model in every test year (Extended Data Tables 1 and 2). Relative to the same network trained by regression, CD-FFM lowers CRPS by 28, 31 and 30% for TG, TX and TN (27–31% in each test year) and is better on 96–100% of the days. Relative to the FNO flow, which has 124 million parameters and differs from CD-FFM only in its encoder, the reduction is 14–17% (12.5–18.2% in each year); a size-matched FNO (7.7 million parameters) is worse still. All 95% block-bootstrap intervals exclude zero. The gain holds almost everywhere: averaged over 2019, CD-FFM has the lower CRPS at every one of the 1.33 million pixels against regression and the BCSD-style baseline, and at 99.7% of them against the FNO flow (Fig. 5b,c).
The strongest baseline is a re-implementation of CorrDiff[10], a state-of-the-art diffusion-based generative downscaler that adds a residual diffusion model (EDM, ref. [11]) to a convolutional UNet regression. It runs on the 1 km grid with exactly the inputs of CD-FFM and received about ten times its training compute (13.1 against 1.4 GPU-hours, including the flow-map distillation; Methods). Because full-domain diffusion sampling is expensive, both models were compared on every seventh day of 2019 with 8 members. CD-FFM lowers CRPS by 17, 5 and 5% for TG, TX and TN, with intervals that exclude zero, and is better at 88% of the pixels. The diffusion model is competitive for TX and TN but clearly worse for TG, where its ensemble is more under-dispersed and its ensemble-mean error larger (root mean square error 2.36 against 2.08°C). Each of its samples requires 35 evaluations of a 24.8-million-parameter UNet, about 19 s per member and day, against 0.35 s for CD-FFM, a factor of about fifty.
The gain is probabilistic rather than deterministic: the error of the CD-FFM ensemble mean is within of the regression network's, and the FNO's ensemble mean is even slightly more accurate for TG (mean absolute error 1.34 against 1.41 °C), but its members are nearly identical and it loses on every probabilistic score. With the encoder as the only difference, the Flower model is thus both more skilful and about forty times smaller, consistent with the inductive bias of sparse, displacement-based mixing for weather that is advected and shaped by terrain (Methods). The power spectrum of the samples follows NGCD to within a factor of about two from 2 to 500 km (Fig. 5e), whereas the deterministic outputs lose power at small scales. CD-FFM also corrects the bias of its input while downscaling: its daily 28 km cell means are closer to NGCD than ERA5 itself is (Methods).
1.4 Calibrated ensembles improve the prediction of extremes
Consistent with its likelihood, CD-FFM is the best calibrated of the generative models, although it remains under-dispersed (Extended Data Fig. 5). The ratio of ensemble spread to the error of the ensemble mean is 0.61, 0.75 and 0.72 for TG, TX and TN, where 1 indicates calibration, against 0.17–0.28 for the FNO flow and 0.40–0.64 for the CorrDiff-style model (0.55–0.70 for CD-FFM on the same days). Better calibration pays off for extremes. For the ensemble probability that a value exceeds the local 95th percentile of the seasonal climatology, or falls below its 5th percentile, CD-FFM reduces the Brier score, the mean squared error of the predicted event probability, relative to regression by 24% for hot and cold TG extremes and by 24–27% for TX and TN, and its TG Brier scores are the lowest of all models (Extended Data Table 1 and Supplementary Table 1).
Figure 6a–c follows the most extreme observed day of 2019 at three cities. At Kiruna on 3 March, the observed minimum of lay at the 7th percentile of the ensemble, about below both the ensemble median and the regression prediction. In Bergen, the 91 mm of precipitation observed on 30 December exceeded all but 0.5% of the samples, whereas regression and ERA5 gave 31 and 32 mm and no indication a One sample of each method (texture), Western Norway, 28 Jul 2019

b Mean CRPS over the test year 2019 (TG, TX and TN)

c CRPS of the baseline minus CRPS of CD-FFM; share of pixels where CD-FFM is better
Blue: CD-FFM has the lower CRPS.
†CorrDiff-style: every 7th day, 8 members, compared with CD-FFM on the same days.
d Probabilistic skill, test year 2019
e Spectrum of one TG sample
Fig. 5 CD-FFM has the lowest probabilistic error at almost every location. a, One field of each method for daily mean temperature on 28 July 2019 in western Norway: ERA5 input, the BCSD-style baseline, the regression network, one sample each of the CorrDiff-style diffusion model, the FNO flow and CD-FFM (flow map, two steps), and NGCD observations. A single sample differs from the observations by the ensemble spread, so this row compares spatial structure, not accuracy. b, CRPS at every 1 km pixel, averaged over the days of the test year 2019 and over TG, TX and TN, for each method; the label gives the domain mean. c, CRPS of each baseline minus that of CD-FFM on the same days (blue: CD-FFM better), with the fraction of pixels at which CD-FFM is better. d, CRPS skill relative to the BCSD-style baseline, 2019 (higher is better). e, Radially averaged power spectrum of one TG sample (every seventh day of 2019, 512×512 km box) of each method and of NGCD. †The CorrDiff-style model was evaluated on every seventh day with 8 members and is compared with CD-FFM on the same days.

NGCD --- ERA5 --- BCSD-style Regression CD-FFM median CD-FFM 25–75% CD-FFM 5–95%

TG minus its 25 km cell mean ( C)
Percentile (TX upper tail, solid / TN lower tail, dashed)
Daily precipitation on wet days (mm)
Fig. 6 Extreme events and distributions. a–c, Six weeks around the most extreme observed day of the test year 2019 at the 1 km pixel of one of eleven Nordic cities, selected from NGCD alone: the highest daily maximum temperature (a), the lowest daily minimum temperature (b) and the largest daily precipitation (c). Black, NGCD observations; dashed, ERA5 (enclosing 0.25° cell for temperature, bilinear for precipitation); dotted, BCSD-style baseline; red, regression; blue, median and 25–75% and 5–95% ranges of 200 CD-FFM samples. The vertical line marks the selected day. d, Distribution of fine-scale detail, daily mean temperature minus the mean of its 0.25° cell on the same day, at 20,000 fixed pixels on every day of 2019, for one sample of each method and for NGCD (grey). e, Upper-tail quantiles of the daily maximum (solid) and lower-tail quantiles of the daily minimum temperature (dashed) of each method minus those of NGCD, same pixels and days. f, Distribution of daily precipitation amounts on wet days (> 0.1 mm), with the fraction of dry pixel-days in the legend. †CorrDiff-style model: every seventh day.
that such an amount was possible. The 33.0°C reached in Helsinki on 28 July, in contrast, was matched by only 0.5% of the samples. Over the six weeks around each event, the observation lay within the central 90% of the ensemble on 74 and 79% of the days for the temperature events and on 91% for the precipitation event: the ensembles are informative about extremes but too narrow during them. Pooled over 20,000 pixels and every day of 2019, CD-FFM reproduces the upper tail of the daily maximum best, with 99th and 99.9th percentiles within 0.16 °C of NGCD against 0.2–0.6 °C for the other methods (Fig. 6e). At the 0.1st percentile of the daily minimum, the generative models are 1.1–1.3 °C too cold and regression 1.0 °C too warm.
The same configuration, unchanged except for the transform of amounts to a Gaussian scale, also downscales daily precipitation (Extended Data Table 3). It lowers CRPS to 1.17 mm day , against 1.65 for regression and 2.21 for interpolated ERA5, reproduces the frequency of wet days (frequency bias 1.09, against 1.50 for regression) and of days above 10 mm (0.94, against 0.52), and has the lowest Brier score at every threshold. It comes closest to the observed share of dry pixel-days and to the heavy tail, and it is the only method whose largest value (151 mm) reaches the largest observed (150 mm; Fig. 6f). It still produces too few events above 20 mm (frequency bias 0.79), and its samples are more fragmented than observed, because the noise prior was fitted to temperature.
1.5 Skill carries over to an out-of-distribution region
Because the model is trained and queried point by point, a region can be withheld from training entirely and downscaled afterwards, a direct test of spatial generalization. We removed northern Fennoscandia (latitude ≥ 66.5°N, longitude ≥ 24°E; about 132,000 pixels) from the training data. Compared with a model trained on all pixels, CRPS in that region changes by −0.03, +0.03 and +0.06 °C for TG, TX and TN (Extended Data Table 4). The differences outside the region, where both models saw the same data, indicate run-to-run variability: for TG they match those inside (0.03 °C in favour of the held-out model), whereas for TX and TN the unseen region is 4 and 7% worse, more than outside. The unseen region is thus downscaled nearly as well as when seen, and most of its error reflects its harder climate (TG CRPS 1.31 against 1.00 elsewhere, even when seen). The held-out model still uses the region’s NGCD climatology for normalization and static input, so this tests generalization to unseen daily data at locations with a known climatology.
1.6 A distilled flow map sets the trade-off between speed and accuracy
The cost of a downscaled ensemble is the product of members, days, locations and network evaluations per sample, and for long or large ensembles the last factor dominates. Integrating the learned ODE accurately takes about ten network evaluations; fewer Euler steps are cheaper but under-integrate the flow, so the ensemble shrinks. With two steps, the spread/skill ratio falls to 0.17 and CRPS rises by 16–20% relative to ten steps (Extended Data Fig. 6). We therefore distilled a flow map[18, 23, 24]: a second small network, trained in 27 min to reproduce accurate integrations of the learned ODE, that jumps from any time t to any later time in one call (Methods).
A single flow-map step is as accurate as 20 Euler steps (CRPS 1.067, 0.524 and 0.696°C, against 1.077, 0.524 and 0.697°C) and better calibrated (spread/skill 0.55 against 0.50 for TG). Two steps are 1–2.6% better than ten Euler steps for every variable in each test year (Extended Data Table 2), probably because the map learned from accurate integrations. Each additional member of a full 1 km field then costs about 0.35 s. At the other end of the trade-off, integrating the ODE from zero noise gives a deterministic best estimate in a single sample, as smooth as a regression output. Its mean absolute error (1.39, 0.73 and 0.96°C) is lower than that of the regression network trained with the same inputs and 7–14% lower than that of the 24.8-million-parameter UNet regression stage of the CorrDiff-style model (Supplementary Fig. 1). One trained model thus provides a best-estimate map, calibrated ensembles at the cost of one or two evaluations per member, and the exact likelihood of every observation.
2 Discussion
We presented CD-FFM, a functional flow-matching model that treats downscaling as sampling a continuous random field. A warp-based encoder for the fixed coarse grid and a pointwise velocity on a local implicit function for the output let one model downscale to any set of locations, give the exact likelihood of every observation, and make the noise prior the model of spatial variability. Across three test years, CD-FFM is more skilful than regression, statistical downscaling and a much larger neural-operator flow on every probabilistic score, and more skilful than a CorrDiff-style diffusion model while sampling about fifty times faster.
These properties matter beyond the scores. The exact likelihood turns a generative downscaler into a probabilistic model whose density can be evaluated, mapped and compared, which grid-based diffusion models do not offer at comparable cost; it could serve as a routine check of where downscaled fields can be trusted, for model selection, and for quality control of observational products. The results also suggest that, for downscaling, the design of the noise deserves as much attention as the design of the network: measuring the spectrum of the target and drawing the noise from it is a simple, physically interpretable alternative to white noise. Finally, the cost of a member, a fraction of a second for a kilometre-scale field of three countries, makes large ensembles of downscaled forecasts and climate projections affordable, in which rare local extremes can only be sampled with many members.
Several limitations remain. The ensembles are still under-dispersed (spread/skill 0.61–0.75), as for other generative downscalers[10]. The noise prior is stationary, and therefore adds too much sub-cell variability in smooth terrain and too little in steep terrain (departures from the 0.25° cell mean are 2.4 times as wide as observed; Fig. 6d); because the flow is invertible, a non-stationary prior could be estimated from the noise that reproduces the observed fields. The model relies on a high-resolution climatology for normalization and static descriptors, and we evaluated one region and one gridded product that is itself an interpolation of station data; a global 1 km climatology and validation against independent stations would extend and strengthen the conclusions. Whether the learned mapping holds in the warmer climates of long projections requires dedicated tests.
3 Methods
3.1 Data
Target. NGCD[19] provides daily TG, TX, TN and precipitation (RR) on a 1 km Lambert azimuthal equal-area grid (2,020×1,550 cells) over Norway, Sweden and Finland, interpolated from station observations[25]. We use the 1,325,781 land pixels with complete climatologies for all three temperature variables.
Input. ERA5[2] daily mean, maximum and minimum 2 m temperature and total precipitation of the target day on a 0.25° grid (71×113 cells, 54–71.5°N, 4–32°E). ERA5 temperatures are standardized with a two-harmonic seasonal climatology fitted per cell; precipitation is log-transformed and standardized globally.
Splits. We train on 2001–2015 (5,478 days), select checkpoints on 2017 (12 fixed dates, 20,000 fixed pixels) and test on 2016, 2018 and 2019. Normalization statistics are fitted on 1981–2015.
Normalization. Each temperature variable is standardized per pixel as . Here and are two-harmonic seasonal fits of the mean and of the residual variance, is the day of year, and is floored at . Precipitation is mapped to a Gaussian scale through its cumulative probability . A dry day ( ) maps to , the per-pixel dry-day frequency. A wet amount maps to , where is a global quantile table (5–95%) above which a single generalized Pareto distribution (threshold 15.6 mm) describes the tail. In both cases . In the inverse transform, values below the midpoint of the gap between the dry atom ( ) and the lowest wet quantile ( ) are decoded as dry.
Static descriptors. Seventeen per-pixel features, computed from the 1981–2015 NGCD climatology, supply topographic information that the coarse input cannot: whether a pixel lies in a valley, on a slope or at the coast. For each temperature variable, they are the annual mean, its deviation from the mean of the enclosing ERA5 cell, the amplitude of the annual cycle, and the January and July standard deviations. The remaining two are the TX–TN diurnal range and its sub-cell deviation. The precipitation model adds and its sub-cell deviation. Without the descriptors, the standardized output is nearly flat at the pixel scale even where NGCD shows weather-dependent structure such as cold-air pooling (pixel-scale roughness of standardized anomalies in western Norway 0.001, against 0.04–0.06 in NGCD). In otherwise identical models, adding them lowers the 2019 CRPS for TX and TN by 3 and 5% (0.548 to 0.534 and 0.731 to 0.698 °C) and raises TG CRPS slightly (0.99 to 1.02 °C), consistent with TG being the variable least determined by local climate (Supplementary Table 2).
3.2 Model
Encoder. The coarse input always lives on the same grid, so a grid-based neural operator suits it; only the output has to be free of a grid. We use Flower[16], a U-shaped neural operator built from multihead warps. In each block, every head h predicts a displacement pointwise from the features at s and reads the features at by bilinear interpolation; the heads are concatenated and followed by pointwise channel mixing (a convolution), group normalization and a GELU nonlinearity. The design is motivated by transport. Along the characteristics of an advection equation the solution is carried unchanged, so the field at a point equals the earlier field at a displaced point, and over short times the displacement depends only on the local state[16]. A warp represents such transport with a single sample per head: interactions are nonlocal but sparse and data-dependent, at a cost linear in the number of grid points. A Fourier neural operator[20] instead couples every location with every other through a fixed set of global Fourier modes, a dense mixing that treats all long-range interactions as equally plausible a priori[16]. Near-surface temperature at a location depends mainly on regional, direction-dependent information: the air mass advected from upwind, the distance to the coast, and the orientation of valleys and mountain ranges. We therefore expected sparse, displacement-based mixing to suit downscaling better than global spectral mixing. Our encoder has four resolution levels, lifting dimension 64, 8 heads and 8 normalization groups, and maps the four standardized ERA5 fields of the day to a 128-channel feature field at ERA5 resolution.
Encoder comparison. To test this expectation, we replaced Flower by an FNO encoder in the same U-shaped scaffold and kept the inputs, query, velocity, noise and training identical (Baselines). The results agree with the expected inductive bias in three ways. First, skill: the FNO flow with 124 million parameters has a 16–21% higher CRPS than CD-FFM, whose whole model has 3.2 million (Supplementary Table 2), and a size-matched FNO with 7.7 million is worse still (Extended Data Table 1). Second, locality: half of the likelihood sensitivity of CD-FFM lies within 360–490 km of the target in an anisotropic, location-specific pattern, against 690–850 km and an almost uniform pattern for the FNO flow (Extended Data Fig. 4). Third, spread: the FNO ensembles are nearly deterministic (spread/skill 0.17–0.28, against 0.61–0.75), so the observations are far less likely under them (7.78–9.12 against 4.71 nats). We do not exclude that a differently tuned FNO would do better; within this matched comparison, the warp-based encoder is both more skilful and about forty times smaller.
Continuous query. For a location s we follow the local implicit image function[17] with feature unfolding (3×3 neighbourhoods) and local ensembling over the four surrounding cells, weighted by the opposite-corner area; the static descriptors are concatenated at each of the four positions. A three-layer perceptron returns the 64-dimensional condition , to which the day-of-year encoding (cos, sin) is appended.
Velocity. is a four-layer perceptron (width 256, GELU) on the concatenation of the state , and a sinusoidal embedding of . It acts on every location independently.
Functional consistency. Let be a Gaussian random field and the time-1 flow map of . For any finite point set , the generated vector is . Because the maps are applied independently per point, the finite-dimensional distributions inherit the consistency of those of : marginalizing a point removes one coordinate of and one map. By Kolmogorov's extension theorem, they therefore define a stochastic process, that is, a random field over the domain. Given the condition , the spatial dependence of the output is that of transformed by invertible per-point maps. In particular, the network cannot introduce spatial dependence that is absent from .
Arbitrary-resolution queries. For Fig. 3, query points are placed on corner-aligned, nested grids in the index space of the NGCD grid (spacing 8 to 0.25 km), so that every point of a coarser grid also belongs to all finer ones. Latitude, longitude, static descriptors and climatology coefficients at the points are bilinear in grid-index space; the ERA5 encoding is computed once; the noise field, the condition and the flow are evaluated at the points. The same random seed fixes the noise realization for all grids.
3.3 Noise prior and spatial variability
Construction. We construct from random Fourier features[26], , with and drawn independently per output channel. Here is the location in degrees with longitude scaled by cos 64.5°, and z has unit marginal variance. For the power-law prior, the frequencies have uniform direction and radial density on , drawn by inverting the cumulative distribution. The expected per-mode spectrum is then between wavelengths and . We use , the slope of the NGCD residual spectrum (truth minus regression) at 5–100 km for all three variables, together with wavelengths 8–500 km and . On a km test grid, this construction recovers slopes of -2.39 for and -3.21 for .
Choice of prior. Because the velocity acts pointwise, the noise prior sets the spatial variability of the samples. To isolate its effect, we trained five models that differ only in the noise prior and compared one generated sample per day with NGCD (Extended Data Fig. 2, Supplementary Fig. 2). Spatially independent (i.i.d.) noise yields salt-and-pepper fields, with a flat, white-noise floor in the power spectrum below about 5 km. A conventional smooth random field, a squared-exponential kernel with a 0.5° length scale represented with 64 random Fourier features, has about ten times too much power at 30–150 km, visible as blotches and interference stripes, and too little power below 20 km. Each signature is that of the kernel itself, which confirms that the pointwise network passes the noise structure through to the output. For the power law, the range of wavelengths matters. Over 2–500 km, the domain-mean spectrum matches NGCD but flat terrain becomes too rough: in northern Finland the pixel-scale roughness of a sample is 0.41 and 0.14 °C on a winter and a summer day, against 0.046 and 0.031 °C in NGCD, because the observed fine-scale variability is concentrated in mountains whereas a stationary prior spreads it uniformly. Restricting the prior to 8–500 km removes this artefact (0.046 and 0.030 °C) while following the NGCD spectrum to within a factor of about two from 2 to 500 km; restricting it further, to 20–500 km, makes samples too smooth below 20 km.
Per-pixel scores barely distinguish between the priors: CRPS differs by at most 0.08°C for TG and 0.008°C for TX and TN (Supplementary Table 3). The 20–500 km prior even has the best TG CRPS (0.992), spread/skill ratio (0.61) and log score (4.57 nats), but these scores evaluate each pixel separately and cannot see that its samples are too smooth below 20 km. Applications that use generated fields as fields (areal means, catchment totals, spatial extremes, inputs to impact models) need the spatial structure to be right, so we use the 8–500 km power law, the only prior whose spatial variability matches NGCD in both flat and mountainous terrain. For precipitation, a coarser band can be chosen at sampling time without changing any per-pixel score (Supplementary Fig. 3).
3.4 Training and sampling
Training. We use flow matching[15, 27, 28] with the linear interpolant and the loss , masked where NGCD is missing. Each batch has 16 days with 2,560 points per day: 2,048 points drawn uniformly over the training region and 16 clusters of 32 points inside randomly chosen ERA5 cells. We optimize with AdamW[29] (learning rate , 1,000 warm-up steps, cosine decay, gradient clipping at 1) and keep an exponential moving average of the weights (decay 0.999). Training runs for 60,000 steps with checkpoints every 5,000 steps, and the evaluated checkpoint minimizes the summed validation CRPS; the best score is reached after about 40,000 steps, roughly one hour. All training data reside on the GPU as 16-bit standardized arrays, so assembling a batch takes a handful of index operations and a training step about 85 ms. In a reduced configuration (RBF noise, no static descriptors), going from 5 to 10 training years lowers CRPS by 6 and 4% for TX and TN, whereas going from 10 to 15 years lowers it by less than 1%; TG changes by at most 1% (Supplementary Fig. 4).
Sampling. Euler integration (10 steps by default) or the flow map; 16 members for the main results. The deterministic best estimate integrates the ODE from z = 0.
Flow map. A second network has the architecture of plus a sinusoidal embedding of . It defines the map . We initialize it from with the new inputs zeroed, so that it starts as one Euler step. With the encoder and query frozen, it is trained to regress the teacher's average velocity , where is obtained from by integrating with eight fourth-order Runge-Kutta substeps. On 25% of the points we set and use as the target, so that the instantaneous velocity is retained. Distillation runs for 20,000 steps with a learning rate of (27 min).
Consistency with the coarse field. ERA5 is not a coarsening of NGCD: daily 28 km cell means of the two products differ by about 2 °C on average, and part of this difference changes from day to day. We tested an exact constraint that, after every integration step, shifts each sample so that its cell means equal those of ERA5. It raises TG CRPS from 1.09 to 1.74 °C (+60%); removing a monthly climatological offset first barely helps (1.68 °C; Supplementary Table 4). Left unconstrained, CD-FFM produces cell means that are closer to NGCD than ERA5 itself is (mean absolute difference 1.61 against 1.98 °C), so it corrects the bias of its input while downscaling. Hard mass-conservation constraints, which suit a coarse field that aggregates the target, are harmful when the coarse field is biased, and we do not use them.
Precipitation. The same configuration with one output channel and the precipitation transform above.
3.5 Baselines
Regression. The same network and inputs, with v evaluated at x = 0, t = 0 as a direct predictor trained with mean squared error in standardized space.
FNO flow. The Flower encoder replaced by an FNO encoder in the same U-shaped scaffold, at lifting dimensions 64 (124M parameters) and 16 (7.7M); all else identical (Encoder comparison above).
BCSD-style. The ERA5 standardized anomaly, interpolated bilinearly and rescaled with the NGCD climatology: .
CorrDiff-style. Following ref. [10], this baseline has two stages on the 1 km grid: a UNet regression of the standardized mean, and an EDM[11] residual diffusion model conditioned on the inputs and the regression mean. The diffusion stage uses Karras preconditioning ( ), log-normal noise levels and a deterministic Heun sampler with 18 steps, i.e. 35 network evaluations. Both UNets have channel multipliers 1-2-4-4 (base 64), two residual blocks per level with FiLM noise embedding and no attention (24.8M parameters). They are therefore fully convolutional and can be applied to the whole domain. The inputs are those of CD-FFM, supplied as 1 km channels: bilinearly interpolated ERA5 fields, the 17 static descriptors, day of year, normalized latitude and longitude, and a land mask. Both stages are trained on random 128×128 km patches, for 60,000 steps (regression, 3.1 h) and 150,000 steps (diffusion, 10.0 h), with checkpoints selected on a fixed validation-patch loss. As in the original CorrDiff, inference is tile-wise. Both UNets are applied to overlapping 128×128 km tiles (stride 112 km, linear blending over the overlap) at every regression and denoising call, so that the group-normalization statistics match those seen in training. Applying the UNets to the whole domain at once, which includes about 40% sea, changes these statistics. In a preliminary test, this degraded the regression stage from a TG mean absolute error of 1.62 to 2.11 °C, so we report only the tile-wise results. Because full-domain sampling took about 19 s per member and day, it was compared with CD-FFM on every seventh day of 2019 (55 days) with 8 members.
Precipitation baseline. ERA5 total precipitation interpolated bilinearly in log space.
3.6 Evaluation
All scores are computed on every land pixel of every test day. CRPS uses the fair ensemble estimator[21], , which is unbiased for the CRPS of the underlying distribution and therefore comparable across ensemble sizes and with deterministic predictions[30]. Spread/skill is the mean ensemble standard deviation divided by the RMSE of the ensemble mean; rank histograms[31] use 16 members. Extremes: Brier score of the ensemble probability of exceeding the local 95th percentile ( ) or falling below the 5th ( ) of the seasonal climatology (Supplementary Table 1); for precipitation, absolute thresholds of 0.1, 1, 10 and 20 mm day with frequency bias and Brier score. Spectra: radially averaged power spectrum of one sample in the largest fully valid 512×512 km box (southern Norway and Sweden), every seventh day. Roughness: mean absolute deviation from the 3×3 median in 128×128 km boxes in northern Finland (flat) and western Norway (mountains).
Exact log score. Because is pointwise and at every pixel, the predictive density of (TG, TX, TN) at a pixel is pushed through a three-dimensional ODE. By the instantaneous change of variables[13, 32], , where is obtained by integrating the ODE backwards from the observation. The divergence is the trace of a Jacobian and is computed exactly with three backward passes. No stochastic trace estimator[12] is therefore needed, and the difficulty addressed by recent likelihood flow maps[24] does not arise for a pointwise functional model. We use 20 fourth-order Runge–Kutta steps (10, 20 and 40 steps agree to 0.001 nats) and convert to physical units by adding , so the reported negative log-likelihood is that of a density in ; its absolute value depends on the units, whereas differences between models do not. One nat is the information of an event of probability ; a difference of nats corresponds to a ratio of predictive densities. Deterministic models receive a Gaussian with the residual covariance fitted on the evaluated days themselves. This oracle gives them the most favourable homoscedastic spread.
Likelihood influence maps. For a target pixel and a day, we compute the exact log-likelihood of the observation as above, but differentiably, by evaluating the divergence with a retained graph. We then back-propagate it through the velocity, the continuous query and the encoder to the standardized ERA5 input, and average the absolute gradient over every 14th day of 2019. These gradients are local sensitivities rather than causal effects and serve as a diagnostic. One-point correlation maps use the standardized TG anomaly of every day of 2019.
Significance. Daily domain means of each score are paired between models on common days; the mean difference is resampled with a moving-block bootstrap (7-day blocks within each year, 4,000 resamples), and we report the 2.5th and 97.5th percentiles.
TG consistency. In NGCD 2019, TG differs from (TX+TN)/2 by 1.70°C on average (spatial standard deviation 1.8°C; 2.2°C in winter), with day-to-day shifts of the domain mean of up to 3.3°C; TG is defined and interpolated independently of TX and TN. This variability is not determined by TX, TN or ERA5 and explains why TG errors exceed those of TX and TN.
Compute. All experiments ran on single AMD Instinct MI250X graphics compute dies (64 GB) of the LUMI supercomputer, in PyTorch with PyTorch Lightning. CD-FFM trains in about 1.0 GPU-hour and its flow map in 0.45 GPU-hours; the CorrDiff-style baseline used 13.1 GPU-hours. Sampling one 1 km field of the Nordic domain, including data loading and scoring, took about 0.35 s per member with the flow map, 0.7 s with ten Euler steps and 19 s with the CorrDiff-style model. All experiments in this paper, including discarded configurations and the CorrDiff-style baseline, used about 110 GPU-hours.
Data availability. ERA5 is available from the Copernicus Climate Change Service Climate Data Store. NGCD is available from the Copernicus Climate Change Service (https://doi.org/10.24381/cds.e8f4a10c). The preprocessed inputs and targets of the test years, the climatologies and static descriptors, the weights of all models in this paper, and the evaluation outputs behind every table and figure are available at Zenodo (https://doi.org/10.5281/zenodo.23496724).
Code availability. Code for preprocessing, training, evaluation and all figures, the training configurations of every model and pretrained weights are available at https://github.com/Holmes-Alan/CD-FFM and archived at Zenodo (https://doi.org/10.5281/zenodo.23499076) under the MIT licence.
Acknowledgements. We acknowledge the EuroHPC Joint Undertaking for awarding this project access to the LUMI supercomputer.
Declarations
• Competing interests: The authors declare no competing interests.
• Author contributions: Z.-S. Liu implemented the modelling, coding, and paper drafting; H. Toropainen provided paper revision and data collection; and M. Boy advised on atmospheric interpretation and paper revision.
Appendix A Extended Data
a Nordic domain, 28 Jul 2019

b Western Norway
Extended Data Fig. 1 One input, many plausible 1 km fields. a, Daily mean temperature on 28 July 2019 over the Nordic domain: ERA5 input, NGCD observations, five CD-FFM samples (flow map, two steps) and the mean of 16 samples. b, The same in the 128×128 km region in western Norway. The samples share the large-scale pattern set by ERA5 and differ in the local detail.

NGCD RBF
i.i.d. Power law 2–500 km

Power law 8–500 km (CD-FFM)
Power law 20–500 km
Regression
Power law 20–500 km
Extended Data Fig. 2 A spectrum-matched noise prior reproduces the observed spatial variability; standard priors do not. a–c, Radially averaged power spectra of one generated sample (2019, every seventh day) of TG, TX and TN for five noise priors and the regression network, against NGCD (black). d, Pixel-scale roughness (mean absolute deviation from the median) of one TG sample in a flat (northern Finland) and a mountainous (western Norway) km box, averaged over a winter and a summer day. Only the 8–500 km power law matches NGCD in flat terrain.
Appendix B Supplementary Information
Extended Data Table 1 CD-FFM is the most skilful model on every probabilistic score. a, Accuracy; b, calibration, extremes and likelihood, for the same models. The FNO flows use the same inputs, noise and training as CD-FFM. Test year 2019, every day, all 1.33 million pixels, best validation checkpoint (chosen on 2017). CRPS: fair ensemble CRPS (equals the mean absolute error for deterministic models). RMSE of the ensemble mean. Spread/skill: ensemble spread over RMSE of the ensemble mean (1 = calibrated). Brier: Brier score for exceeding the local 95th percentile (hot) or falling below the 5th (cold), TG. Log score: exact negative log predictive density per pixel, joint over TG/TX/TN (every seventh day; deterministic models are given a Gaussian with residual covariance fitted on the test days themselves). †Every seventh day of 2019 (55 days) with 8 members, because of the sampling cost of the diffusion model; these two rows are compared only with each other. Arrows give the direction of a better score. Bold: best value among the models evaluated on every day, and the better of the two models in the † block. Green: final CD-FFM configuration; blue: other CD-FFM samplers.
a Accuracy
| Model | Params | CRPS (°C) ↓ | RMSE (°C) ↓ | ||||
|---|---|---|---|---|---|---|---|
| TG | TX | TN | TG | TX | TN | ||
| Generative models, every day, 16 members | |||||||
| FNO flow | 124M | 1.195 | 0.639 | 0.837 | 1.90 | 1.08 | 1.49 |
| FNO flow | 7.7M | 1.209 | 0.655 | 0.853 | 1.96 | 1.15 | 1.58 |
| CD-FFM, 10 Euler steps | 3.2M | 1.034 | 0.530 | 0.699 | 1.97 | 1.05 | 1.48 |
| CD-FFM, flow map, 2 steps | 3.2M | 1.008 | 0.522 | 0.689 | 1.97 | 1.06 | 1.49 |
| Deterministic models, every day | |||||||
| BCSD-style | — | 1.984 | 1.005 | 1.302 | 2.71 | 1.41 | 1.83 |
| CorrDiff-style UNet regression | 24.8M | 1.616 | 0.787 | 1.026 | 2.22 | 1.11 | 1.51 |
| Regression, same network | 3.2M | 1.422 | 0.752 | 0.986 | 1.98 | 1.06 | 1.47 |
| CD-FFM, zero-noise ODE | 3.2M | 1.386 | 0.727 | 0.959 | 1.94 | 1.04 | 1.44 |
| Every seventh day, 8 members | |||||||
| CorrDiff-style diffusion | 24.8M | 1.288 | 0.549 | 0.730 | 2.36 | 1.10 | 1.48 |
| CD-FFM, flow map, 2 steps | 3.2M | 1.064 | 0.523 | 0.694 | 2.08 | 1.08 | 1.50 |
b Calibration, extremes and likelihood
| Model | Params | Spread/skill (→1) | Brier, TG ↓ | Log score ↓(nats) | |||
|---|---|---|---|---|---|---|---|
| TG | TX | TN | Hot | Cold | |||
| Generative models, every day, 16 members | |||||||
| FNO flow | 124M | 0.17 | 0.28 | 0.27 | 0.0382 | 0.0243 | 9.12 |
| FNO flow | 7.7M | 0.23 | 0.36 | 0.34 | 0.0403 | 0.0238 | 7.78 |
| CD-FFM, 10 Euler steps | 3.2M | 0.51 | 0.61 | 0.59 | 0.0330 | 0.0214 | 4.71 |
| CD-FFM, flow map, 2 steps | 3.2M | 0.61 | 0.75 | 0.72 | 0.0324 | 0.0212 | — |
| Deterministic models, every day | |||||||
| BCSD-style | — | — | — | — | 0.0588 | 0.0428 | — |
| CorrDiff-style UNet regression | 24.8M | — | — | — | 0.0479 | 0.0278 | — |
| Regression, same network | 3.2M | — | — | — | 0.0432 | 0.0280 | 5.10 |
| CD-FFM, zero-noise ODE | 3.2M | — | — | — | 0.0431 | 0.0267 | — |
| Every seventh day, 8 members | |||||||
| CorrDiff-style diffusion | 24.8M | 0.40 | 0.64 | 0.62 | 0.0394 | 0.0330 | — |
| CD-FFM, flow map, 2 steps | 3.2M | 0.55 | 0.70 | 0.69 | 0.0327 | 0.0301 | — |
a One CD-FFM sample queried at 16, 8, 4, 2 and 1 km over the whole domain, 28 Jul 2019

b 64 km box in western Norway, continued to 0.5 and 0.25 km

Extended Data Fig. 3 One sample at any resolution over the whole domain. a, ERA5 input and one CD-FFM sample (fixed noise realization) queried separately at 16, 8, 4, 2 and 1 km over the Nordic domain, with the number of points and the GPU time of each query (encoding, query and two flow-map steps). b, A 64×64 km box continued to 0.5 and 0.25 km, and NGCD at 1 km. Values at shared points agree to °C. Coarse grids are point values, not area averages, which is why they alternate between valley and mountain in steep terrain.
Extended Data Table 2 The gains are significant and consistent across years. Paired differences in daily domain-mean CRPS ( C; A – B, negative favours A), pooled over 2016, 2018 and 2019 (1,096 days), with 95% moving-block bootstrap intervals (7-day blocks within years) and the fraction of days on which A scores better. A is the CD-FFM flow map (2 steps, 16 members) unless noted. Arrows give the direction that favours A; every interval excludes zero. Blue: comparison with another CD-FFM sampler. 2019 only, every seventh day (55 days), 8 members for both models; blocks of 7 consecutive evaluated days.
| Baseline B | Var. | A - B [95% CI] ↓ | Relative ↓ | Days A better ↑ |
|---|---|---|---|---|
| Baselines, 2016, 2018 and 2019 | ||||
| Regression, same inputs | TG | -0.396 [-0.416, -0.369] | -28.2% | 96% |
| TX | -0.232 [-0.239, -0.224] | -30.6% | 100% | |
| TN | -0.296 [-0.311, -0.280] | -29.9% | 100% | |
| FNO flow (124M) | TG | -0.169 [-0.190, -0.149] | -14.4% | 79% |
| TX | -0.109 [-0.115, -0.103] | -17.2% | 97% | |
| TN | -0.143 [-0.149, -0.135] | -17.1% | 99% | |
| BCSD-style | TG | -0.923 [-0.969, -0.858] | -47.8% | 98% |
| TX | -0.472 [-0.496, -0.449] | -47.3% | 100% | |
| TN | -0.596 [-0.622, -0.569] | -46.2% | 100% | |
| Another CD-FFM sampler, 2016, 2018 and 2019 | ||||
| CD-FFM, 10 Euler steps | TG | -0.026 [-0.028, -0.024] | -2.5% | 95% |
| TX | -0.008 [-0.009, -0.008] | -1.5% | 91% | |
| TN | -0.009 [-0.010, -0.008] | -1.3% | 88% | |
| Diffusion baseline, every seventh day of 2019 | ||||
| CorrDiff-style | TG | -0.224 [-0.282, -0.070] | -17.4% | 67% |
| TX | -0.027 [-0.037, -0.012] | -4.8% | 65% | |
| TN | -0.035 [-0.045, -0.013] | -4.8% | 76% | |
a W Norway mountains

CD-FFM influence; 50% within 436 km
FNO-flow influence; 50% within 848 km
Correlation, NGCD
Correlation, CD-FFM
Correlation, regression
b Stockholm

CD-FFM influence; 50% within 492 km
FNO-flow influence; 50% within 686 km
Correlation, NGCD
Correlation, CD-FFM
Correlation, regression
c Sodankyla (Lapland)

CD-FFM influence; 50% within 384 km
FNO-flow influence; 50% within 750 km
Correlation, NGCD
Correlation, CD-FFM
Correlation, regression
d Tromso (coast)
CD-FFM influence; 50% within 361 km
FNO-flow influence; 50% within 780 km
Correlation, NGCD
Correlation, CD-FFM
Correlation, regression
Extended Data Fig. 4 CD-FFM draws information from a compact, location-specific region and reproduces the observed spatial dependence. a–d, Four target locations (star). Columns 1–2, likelihood influence maps , summed over the four input fields and averaged over every 14th day of 2019, for CD-FFM and the FNO flow (log colour scale), with the radius holding 50% of the gradient mass. Columns 3–5, one-point correlation maps of the daily TG anomaly at the target with every 1 km pixel over 2019: NGCD observations, one CD-FFM sample per day, regression. The regression network correlates too strongly over long distances, as expected from a model that predicts smooth conditional means.
a Daily mean (TG)

Rank of the observation among 16 members
b Daily maximum (TX)

Rank of the observation among 16 members
c Daily minimum (TN)

Rank of the observation among 16 members
Extended Data Fig. 5 CD-FFM is better calibrated than the FNO flow but still under-dispersed. a–c, Rank histograms of the observed TG, TX and TN among 16 members, 2019; the dashed line is the calibrated level.
Extended Data Table 3 The same configuration transfers to precipitation. Test year 2019, all pixels; CD-FFM with 16 members; the regression model uses the same network. CRPS, RMSE and bias in mm day. Frequency bias (1 = correct number of events) and Brier score of the event probability for daily totals above 0.1 mm (wet days), 10 mm and 20 mm. Bold: best value; green: CD-FFM; blue: its zero-noise estimate.
| Model | CRPS ↓ | RMSE ↓ | Bias (→0) | Freq. bias (→1) | Brier score ↓ | ||||
|---|---|---|---|---|---|---|---|---|---|
| >0.1 | >10 | >20 | >0.1 | >10 | >20 | ||||
| ERA5, bilinear | 2.207 | 4.26 | +0.42 | 1.27 | 1.10 | 0.83 | 0.270 | 0.074 | 0.018 |
| Regression | 1.651 | 3.52 | -0.42 | 1.50 | 0.52 | 0.29 | 0.309 | 0.053 | 0.013 |
| CD-FFM, zero-noise ODE | 1.589 | 3.52 | -0.57 | 1.13 | 0.50 | 0.24 | 0.219 | 0.052 | 0.013 |
| CD-FFM | 1.174 | 3.51 | -0.07 | 1.09 | 0.94 | 0.79 | 0.161 | 0.042 | 0.011 |
Extended Data Table 4 Generalization to an unseen region. CRPS (°C) in 2019 inside the held-out region (northern Fennoscandia) and in the rest of the domain. Bold: better of the two models; green: model trained on all pixels; blue: model that never sampled the region.
| Model | Held-out region ↓ | Rest of domain ↓ | ||||
|---|---|---|---|---|---|---|
| TG | TX | TN | TG | TX | TN | |
| Region never sampled in training | 1.272 | 0.606 | 0.965 | 0.969 | 0.528 | 0.682 |
| Trained on all pixels | 1.305 | 0.580 | 0.901 | 1.004 | 0.525 | 0.677 |

Euler, learned velocity Distilled flow map
Extended Data Fig. 6 A distilled flow map is as skilful in one network evaluation as the ODE in twenty. a–c, CRPS of TG, TX and TN against the number of network evaluations per sample, for Euler integration of the learned velocity (red) and for the distilled flow map (blue). d, Spread/skill ratio for TG (1 indicates calibration). Every seventh day of 2019, 8 members.
Supplementary Table 1 Extremes. Brier scores for hot (above the local 95th percentile) and cold (below the 5th) events, 2019. Bold: best value; green: CD-FFM.
| Model | Hot ↓ | Cold ↓ | ||||
|---|---|---|---|---|---|---|
| TG | TX | TN | TG | TX | TN | |
| BCSD-style | 0.0588 | 0.0317 | 0.0322 | 0.0428 | 0.0291 | 0.0358 |
| Regression | 0.0432 | 0.0246 | 0.0234 | 0.0280 | 0.0159 | 0.0248 |
| FNO flow (124M) | 0.0382 | 0.0212 | 0.0205 | 0.0243 | 0.0146 | 0.0222 |
| CD-FFM (10 Euler steps) | 0.0330 | 0.0185 | 0.0171 | 0.0214 | 0.0119 | 0.0188 |
a Nordic domain, 15 Jan 2019

b Northern Norway

Supplementary Fig. 1 The zero-noise ODE gives a smooth best estimate. a, Daily mean temperature on 15 January 2019 over the Nordic domain: ERA5 input, NGCD observations, the BCSD-style baseline, the regression network with the same architecture, the UNet regression stage of the CorrDiff-style baseline and the zero-noise CD-FFM estimate. b, The same in a km region in northern Norway around Tromsø. The zero-noise estimate is as smooth as the regression outputs and more accurate than both (Extended Data Table 1).
Supplementary Table 2 Component ablation. One change at a time against the matching reference; 2019, every day, fair CRPS ( C; unbiased across ensemble sizes), 10 Euler steps, 16 members unless noted. The final configuration uses the Flower encoder, power-law noise over 8–500 km, static descriptors and 15 training years. The static-descriptor and noise rows use a reference with power-law noise over 2–500 km, the prior with which the model without descriptors was trained. The amount of training data is varied in Supplementary Fig. 4. Bold: best value within each block; green: final configuration; blue: other variants. *8 members.
| Setting | CRPS (°C) ↓ | Change vs reference (%) | ||||
|---|---|---|---|---|---|---|
| TG | TX | TN | TG | TX | TN | |
| Reference: final configuration | ||||||
| CD-FFM (final configuration) | 1.034 | 0.530 | 0.699 | reference | ||
| FNO encoder (124M) instead of Flower | 1.195 | 0.639 | 0.837 | +15.6 | +20.6 | +19.7 |
| Reference: power law over 2–500 km, with static descriptors | ||||||
| Power law 2–500 km, static descriptors | 1.022 | 0.534 | 0.698 | reference | ||
| without static descriptors* | 0.987 | 0.548 | 0.731 | -3.4 | +2.6 | +4.7 |
| RBF noise instead of power law | 1.074 | 0.538 | 0.705 | +5.1 | +0.7 | +1.0 |
Supplementary Table 3 Noise prior ablation. Same setup, only the noise differs; 2019, 16 members, 10 Euler steps. Bold: best value; green: final configuration; blue: other priors.
| Noise prior | CRPS (°C) ↓ | Spread/skill (→1) | Log score ↓ | ||
|---|---|---|---|---|---|
| TG | TX | TN | TG | (nats) | |
| i.i.d. | 1.037 | 0.536 | 0.700 | 0.50 | 4.65 |
| RBF, 0.5°, 64 features | 1.074 | 0.538 | 0.705 | 0.45 | 4.90 |
| Power law, 2–500 km | 1.022 | 0.534 | 0.698 | 0.51 | 4.67 |
| Power law, 20–500 km | 0.992 | 0.534 | 0.702 | 0.61 | 4.57 |
| Power law, 8–500 km (final) | 1.034 | 0.530 | 0.699 | 0.51 | 4.71 |
a Western Norway, 28 Jul 2019

b Northern Scandes, 28 Jul 2019
Supplementary Fig. 2 Generated samples reproduce the fjord and mountain structure of NGCD. Daily mean temperature on 28 July 2019 in two 128×128 km regions, western Norway (a) and the northern Scandes (b): NGCD observations, the regression network, and one sample each of the FNO flow and of CD-FFM with i.i.d., RBF and spectrum-matched (8–500 km) noise. Each generative panel is a single sample, whose departure from the observations includes the ensemble spread and any error of the ERA5 input that all methods share; the panels compare spatial structure, whereas accuracy is compared in Fig. 5b,c and Extended Data Table 1.
Precipitation without retraining: inference-time noise band and probability matching, 2019-01-01

Supplementary Fig. 3 Precipitation texture can be corrected at sampling time. Daily precipitation on 1 January 2019 (log colour scale) and a 256 km zoom: NGCD; one sample with the trained noise band (8–500 km) and with coarser bands (25–500 and 75–500 km) used only at sampling time; the 16-member ensemble mean; and probability-matched means over the whole domain and over 256 km tiles. Per-pixel CRPS and Brier scores are the same for all three bands (2019, every seventh day). The tile-wise matching leaves seams and is not recommended.

Supplementary Fig. 4 More training data helps up to about ten years. Fair CRPS on 2019 for models trained on the last 5, 10 and 15 years of the training period (2011–2015, 2006–2015 and 2001–2015), with RBF noise and without static descriptors, otherwise identical.
Supplementary Table 4 Inference-time studies. Every seventh day of 2019, 8 members, CD-FFM with Euler sampling unless noted. Cell-mean columns: mean absolute difference (°C) between daily 28 km cell means of the generated TG and those of NGCD or ERA5; the ERA5 column is a diagnostic rather than a score. Bold: best value; green: sampler used for the main results; blue: other settings.
| Setting | CRPS (°C) ↓ | TG cell means (°C) | |||
|---|---|---|---|---|---|
| TG | TX | TN | vs NGCD ↓ | vs ERA5 | |
| Consistency with the coarse field (10 Euler steps) | |||||
| Unconstrained (reference) | 1.092 | 0.531 | 0.704 | 1.61 | 1.88 |
| Exact ERA5 cell-mean constraint | 1.743 | 0.533 | 0.706 | 1.98 | 0.00 |
| Exact, monthly debiased | 1.682 | 0.533 | 0.711 | 1.92 | 0.59 |
| Sampler (unconstrained) | |||||
| 2 Euler steps | 1.272 | 0.632 | 0.836 | ||
| 5 Euler steps | 1.130 | 0.552 | 0.729 | ||
| 20 Euler steps | 1.077 | 0.524 | 0.697 | ||
| Flow map, 1 step | 1.067 | 0.524 | 0.696 | ||
| Flow map, 2 steps | 1.064 | 0.523 | 0.694 | ||
References
[1] Fischer, E. M., Sippel, S. & Knutti, R. Increasing probability of record-shattering climate extremes. Nature Climate Change 11, 689–695 (2021).
[2] Hersbach, H., Bell, B., Berrisford, P. et al. The ERA5 global reanalysis. Quarterly Journal of the Royal Meteorological Society 146, 1999–2049 (2020).
[3] Wood, A. W., Leung, L. R., Sridhar, V. & Lettenmaier, D. P. Hydrologic implications of dynamical and statistical approaches to downscaling climate model outputs. Climatic Change 62, 189–216 (2004).
[4] Maraun, D. & Widmann, M. Statistical Downscaling and Bias Correction for Climate Research (Cambridge University Press, 2018).
[5] Vandal, T. et al. DeepSD: generating high resolution climate change projections through single image super-resolution, 1663–1672 (2017).
[6] Rampal, N., Hobeichi, S., Gibson, P. B. et al. Enhancing regional climate downscaling through advances in machine learning. Artificial Intelligence for the Earth Systems 3 (2024).
[7] Leinonen, J., Nerini, D. & Berne, A. Stochastic super-resolution for downscaling time-evolving atmospheric fields with a generative adversarial network. IEEE Transactions on Geoscience and Remote Sensing 59, 7211–7223 (2021).
[8] Harris, L., McRae, A. T. T., Chantry, M., Dueben, P. D. & Palmer, T. N. A generative deep learning approach to stochastic downscaling of precipitation forecasts. Journal of Advances in Modeling Earth Systems 14, e2022MS003120 (2022).
[9] Watt, R. A. & Mansfield, L. A. Generative diffusion-based downscaling for climate (2024). ArXiv:2404.17752.
[10] Mardani, M. et al. Residual corrective diffusion modeling for km-scale atmospheric downscaling. Communications Earth & Environment 6, 124 (2025).
[11] Karras, T., Aittala, M., Aila, T. & Laine, S. Elucidating the design space of diffusion-based generative models, Vol. 35 (2022).
[12] Hutchinson, M. F. A stochastic estimator of the trace of the influence matrix for Laplacian smoothing splines. Communications in Statistics – Simulation and Computation 18, 1059–1076 (1989).
[13] Grathwohl, W., Chen, R. T. Q., Bettencourt, J., Sutskever, I. & Duvenaud, D. FFJORD: free-form continuous dynamics for scalable reversible generative models (2019).
[14] Kerrigan, G., Migliorini, G. & Smyth, P. Functional flow matching, Vol. 238 of PMLR (2024).
[15] Lipman, Y., Chen, R. T. Q., Ben-Hamu, H., Nickel, M. & Le, M. Flow matching for generative modeling (2023).
[16] Muser, T., Spitzer, A., Lassas, M., De Hoop, M. V. & Dokmanić, I. Flowers: A warp drive for neural PDE solvers, Vol. 306 of Proceedings of Machine Learning Research, 91390–91418 (PMLR, 2026). URL https://proceedings.mlr.press/v306/muser26a.html.
[17] Chen, Y., Liu, S. & Wang, X. Learning continuous image representation with local implicit image function, 8628–8638 (2021).
[18] Boffi, N. M., Albergo, M. S. & Vanden-Eijnden, E. Flow map matching (2024). ArXiv:2406.07507.
[19] Copernicus Climate Change Service. Nordic gridded temperature and precipitation data from 1961 to present derived from in-situ observations. Copernicus Climate Change Service (C3S) Climate Data Store (2021).
[20] Li, Z. et al. Fourier neural operator for parametric partial differential equations (2021).
[21] Ferro, C. A. T. Fair scores for ensemble forecasts. Quarterly Journal of the Royal Meteorological Society 140, 1917–1923 (2014).
[22] Künsch, H. R. The jackknife and the bootstrap for general stationary observations. The Annals of Statistics 17, 1217–1241 (1989).
[23] Frans, K., Hafner, D., Levine, S. & Abbeel, P. One step diffusion via shortcut models (2025).
[24] OuYang, R. et al. Few-step Boltzmann generators via scalable likelihood flow maps (2026). ArXiv:2606.29110.
[25] Lussana, C., Tveito, O. E., Dobler, A. & Tunheim, K. senorge_2018, daily precipitation, and temperature datasets over Norway. Earth System Science Data 11, 1531–1551 (2019).
[26] Rahimi, A. & Recht, B. Random features for large-scale kernel machines, Vol. 20 (2007).
[27] Liu, X., Gong, C. & Liu, Q. Flow straight and fast: learning to generate and transfer data with rectified flow (2023).
[28] Albergo, M. S. & Vanden-Eijnden, E. Building normalizing flows with stochastic interpolants (2023).
[29] Loshchilov, I. & Hutter, F. Decoupled weight decay regularization (2019).
[30] Gneiting, T. & Raftery, A. E. Strictly proper scoring rules, prediction, and estimation. Journal of the American Statistical Association 102, 359–378 (2007).
[31] Hamill, T. M. Interpretation of rank histograms for verifying ensemble forecasts. Monthly Weather Review 129, 550–560 (2001).
[32] Chen, R. T. Q., Rubanova, Y., Bettencourt, J. & Duvenaud, D. Neural ordinary differential equations, Vol. 31 (2018).
[33] Ebert, E. E. Ability of a poor man's ensemble to predict the probability and distribution of precipitation. Monthly Weather Review 129, 2461–2480 (2001).