Papers › Latent diffusion models for generative precipitation nowcasting with accurate...

Latent diffusion models for generative precipitation nowcasting with accurate uncertainty quantification

25 Apr 2023arXiv:2304.12891archive 2025-07-28

Jussi Leinonen, Ulrich Hamann, Daniele Nerini, Urs Germann, Gabriele Franch

Diffusion models have been widely adopted in image generation, producing higher-quality and more diverse samples than generative adversarial networks (GANs). We introduce a latent diffusion model (LDM) for precipitation nowcasting - short-term forecasting based on the latest observational data. The LDM is more stable and requires less computation to train than GANs, albeit with more computationally expensive generation. We benchmark it against the GAN-based Deep Generative Models of Rainfall (DGMR) and a statistical model, PySTEPS. The LDM produces more accurate precipitation predictions, while the comparisons are more mixed when predicting whether the precipitation exceeds predefined thresholds. The clearest advantage of the LDM is that it generates more diverse predictions than DGMR or PySTEPS. Rank distribution tests indicate that the distribution of samples from the LDM accurately reflects the uncertainty of the predictions. Thus, LDMs are promising for any applications where uncertainty quantification is important, such as weather and climate.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2304.12891")

Code

Syntology Ran 0 of 23 code samples harvested from 1 repository linked to this paper; 23 have no recorded run.

By repository: official repository: 23 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

meteoswiss/ldcast officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

23 samples harvested; 0 ran; 0 honoured the contract we drafted; 23 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

23unverified

Licence: 0 of the 23 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from meteoswiss/ldcast. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

activation meteoswiss/ldcast/ldcast/models/utils.py official repository unverified Apache-2.0 (permissive) · db1e29d0f75ef2ae · report
bin_classify_patches meteoswiss/ldcast/ldcast/features/sampling.py official repository unverified Apache-2.0 (permissive) · ebcc8aa2f3792088 · report
confusion_matrix meteoswiss/ldcast/ldcast/analysis/confmatrix.py official repository unverified Apache-2.0 (permissive) · f2263dfddca0d1e7 · report
confusion_matrix_thresholds meteoswiss/ldcast/ldcast/analysis/confmatrix.py official repository unverified Apache-2.0 (permissive) · cbfb31bff0aefba5 · report
confusion_matrix_thresholds_leadtime meteoswiss/ldcast/ldcast/analysis/confmatrix.py official repository unverified Apache-2.0 (permissive) · 76b21856146ac180 · report
convert_var_for_saving meteoswiss/ldcast/ldcast/features/io.py official repository unverified Apache-2.0 (permissive) · cf2cd534394d8503 · report
crps_ensemble meteoswiss/ldcast/ldcast/analysis/crps.py official repository unverified Apache-2.0 (permissive) · 75943c22120aebe7 · report
crps_ensemble_multiscale meteoswiss/ldcast/ldcast/analysis/crps.py official repository unverified Apache-2.0 (permissive) · aa6dea747c932747 · report
decode_saved_var_to_rainrate meteoswiss/ldcast/ldcast/features/io.py official repository unverified Apache-2.0 (permissive) · 7f03dc080c1b06b0 · report
ensemble_nll_normal meteoswiss/ldcast/ldcast/models/distributions.py official repository unverified Apache-2.0 (permissive) · 174a827fede88455 · report
frac_from_file meteoswiss/ldcast/ldcast/analysis/fss.py official repository unverified Apache-2.0 (permissive) · c566b4fa04d9a567 · report
fractions_ensemble meteoswiss/ldcast/ldcast/analysis/fss.py official repository unverified Apache-2.0 (permissive) · ccc9d5748608a1a1 · report
get_patches meteoswiss/ldcast/ldcast/features/patches.py official repository unverified Apache-2.0 (permissive) · 78380992e5f30b16 · report
hist_from_file meteoswiss/ldcast/ldcast/analysis/histogram.py official repository unverified Apache-2.0 (permissive) · 42439dd27eea6c3b · report
histogram meteoswiss/ldcast/ldcast/analysis/histogram.py official repository unverified Apache-2.0 (permissive) · ac175e372929cf52 · report
indices_with_complete_sample meteoswiss/ldcast/ldcast/features/sampling.py official repository unverified Apache-2.0 (permissive) · 9bc4f280671d3d7d · report
kl_from_standard_normal meteoswiss/ldcast/ldcast/models/distributions.py official repository unverified Apache-2.0 (permissive) · f2494184413c3b19 · report
normalization meteoswiss/ldcast/ldcast/models/utils.py official repository unverified Apache-2.0 (permissive) · 9c2597fbddd2688d · report
patch_locations meteoswiss/ldcast/ldcast/features/patches.py official repository unverified Apache-2.0 (permissive) · 339d89795e411b17 · report
rank_distribution meteoswiss/ldcast/ldcast/analysis/rank.py official repository unverified Apache-2.0 (permissive) · 0fdb75e5730ec729 · report
ranks_ensemble meteoswiss/ldcast/ldcast/analysis/rank.py official repository unverified Apache-2.0 (permissive) · 2501a7f14e03e0b6 · report
ranks_multiscale meteoswiss/ldcast/ldcast/analysis/rank.py official repository unverified Apache-2.0 (permissive) · 11e52746c9a0795a · report
sample_from_standard_normal meteoswiss/ldcast/ldcast/models/distributions.py official repository unverified Apache-2.0 (permissive) · baeb617f027ac19c · report

Tasks

Image GenerationUncertainty Quantification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

DiffusionLatent Diffusion Model

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections