Manuscript Offprint

arXiv:2610.28327

Observation Assimilation Transformer: Probabilistic Weather Analysis from Sparse Station Observations

Christian Donner, Michele Cattaneo, Maxim Samarin, Francesco Zanetta, Icíar Lloréns Jover, Garbiela Aznar Siguan, Michele Volpi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We present the Observation Assimilation Transformer (OAT), a geometry-aware neural process that corrects and refines a prior numerical weather prediction (NWP) field into a high-resolution posterior field by assimilating sparse observations. OAT is an encoder-decoder transformer that considers a set of observed locations and their NWP prior to condition predictions at a set of arbitrary unobserved query locations. Its sparse attention mechanism makes it scalable to thousands of station observations and depends on relative positions between locations, never on the absolute coordinates. The model allows for partially missing observations, predictions at arbitrary continuous locations without grid projection, and outputs are parametric distributions. A station-randomized training algorithm is developed with continuous ranked probability score (CRPS) loss. We test OAT on two datasets – one at regional scale with hundreds of stations, and one at continental scale with thousands of stations. On these datasets OAT outperforms several baselines and shows well calibrated predictions. In an illustrative case study, OAT's downscaling capabilities are demonstrated by downscaling ERA5 ( ∼\sim 31km) to COSMO (1km), where OAT achieves lower mean absolute error (MAE) and CRPS for temperature and precipitation on test stations compared to COSMO.

1 Introduction

Numerical weather prediction (NWP) models solve the governing equations of the atmospheric motions on high-performance computing (HPC) systems [Bauer et al., 2015], but their utility is fundamentally limited by the spatial resolution at which these equations can be practically solved. Their spatial and temporal discretization introduces errors and systematic biases through imperfect modelling of processes occurring at scales smaller than the model grid. Additionally, in the presence of complex topography, the spatial resolution of the NWP grid may be insufficient to accurately represent the underlying terrain over which the equations are solved. While increasing the horizontal spatial resolution can reduce some of these errors, doing so comes at a substantial increase of computational cost. Fully data-driven alternatives to NWP models are currently achieving remarkable results at a fraction of the inference cost, often matching or surpassing NWP models on specific metrics. However their trustworthiness and ability to model extreme events is still, at the time of writing, an open question [Bonavita, 2024]. A natural approach to address these limitations, is to reconcile NWP output with observations, which, despite being affected by measurement errors, are the best available estimate of the true atmospheric state.

Statistical postprocessing [Rasp and Lerch, 2018] addresses the issue by learning a distribution that corrects systematic errors of raw NWP ensemble forecasts at station locations, conditioned on an NWP ensemble, geographic location and a set of predictors features derived from topography. Observations serve as training target, and if the learned model does not rely on station-specific embeddings, it can be transferred to arbitrary locations, under the assumption that topographic features alone are sufficient to describe the local processes. However, statistical postprocessing treats prediction locations independently, where neighboring stations are not used to inform predictions at nearby or related locations. Furthermore, observations are only used as training targets, meaning the model can be applied before any observation is available but fails to assimilate the actual realization of the target process at inference time. Statistical downscaling [Rampal et al., 2024, Mardani et al., 2025] addresses a complementary limitation; rather than correcting errors at station locations, it learns a mapping from a coarse resolution field, to fine-scale predictions by targeting high-resolution gridded references. This may or may not include coupled past observations [Vaughan et al., 2022, Bruinsma et al., 2023, Sousa et al., 2026]. However, like statistical postprocessing, downscaling typically does not assimilate observations at inference time. In contrast, data assimilation [Carrassi et al., 2018] explicitly combines model forecasts with newly available observations to refine the estimated atmospheric state at any given time, and is an integral part of the NWP pipeline. These approaches are complementary; statistical postprocessing focuses on correcting biases, statistical downscaling primarily enhances spatial resolution and data assimilation incorporates observations at inference time.

We aim to combine elements from each paradigm into a data-driven framework that can correct NWP biases, generate higher resolution fields, and condition probabilistic predictions on observations. To this end, we present the Observation Assimilation Transformer (OAT), a geometry-aware neural process combining:

• NWP & Topography informed predictions, embedding both sources into a (learned) latent vector.

• Observation assimilated predictions via a dedicated transformer architecture.

• No absolute positions; attention only depends on relative geometry similar to Ashman et al. [2024a].

• Scalability to thousands of stations via kNN-sparsified attention.

• Embedding partial observations via a neural gating mechanism.

• A randomized training algorithm using station observations as target.

After discussing related work in Section 2, we introduce the architecture and training procedure of OAT in Section 3. Then we introduce two datasets, one focusing on Switzerland and one whole Europe in Section 4. We show OAT's capabilities on these datasets and we compare it against several data-driven baselines, analyze the performance of OAT under different factors, show a downscaling example and the calibration of OAT to provide predictive distribution. Section 5 concludes discussing limitations and future work. All code is made available at the Swiss Data Science Center Github.

References (56)