Preprints
https://doi.org/10.5194/egusphere-2025-6173
https://doi.org/10.5194/egusphere-2025-6173
26 Jan 2026
 | 26 Jan 2026
Status: this preprint is open for discussion and under review for Geoscientific Model Development (GMD).

Local weather scenarios for soil and crop models: a simple generator based on historic data sampling

Stefan Anton Albert Gasser, Julius Ansorge, Ulrich Weller, Hans-Jörg Vogel, and Sara König

Abstract. Weather scenarios are for example required to model future agricultural production and the development of soil properties under climate change. These scenarios should realistically depict regional weather conditions at a daily resolution for the expected climate development. In this technical note, we present the LocalWeatherSampler (LWS) for generating mid-term weather scenarios (20–30 years) for specific regions or locations based on historically recorded weather data. It is demonstrated for an example site in Germany. The core idea is to define wet or dry years and to increase their abundance in future years via a random sampling from history. A temperature trend based on common climate projections can be added afterwards. For the definition of dry/wet years, two different methods are implemented. The historical weather data can be either divided manually into a pool of wet (or dry) years or based on the Standardized Precipitation Index (SPI). By varying the threshold value for wet (dry) years and their probability of appearance within the scenario, the framework allows for the generation of scenarios tailored to specific requirements, such as sequences characterized by extremely dry years or by moderately dry years, as well as extremely wet future sequences. This approach is designed to test or analyze future scenarios of precipitation regimes and temperature trends using models that require realistic daily weather data, such as soil, crop, or hydrological models.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. While Copernicus Publications makes every effort to include appropriate place names, the final responsibility lies with the authors. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.
Share
Stefan Anton Albert Gasser, Julius Ansorge, Ulrich Weller, Hans-Jörg Vogel, and Sara König

Status: open (until 23 Mar 2026)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
Stefan Anton Albert Gasser, Julius Ansorge, Ulrich Weller, Hans-Jörg Vogel, and Sara König

Model code and software

R script: Local weather scenarios for soil and crop models: a simple generator based on historic data sampling Stefan Anton Albert Gasser et al. https://doi.org/10.5281/zenodo.17511186

Stefan Anton Albert Gasser, Julius Ansorge, Ulrich Weller, Hans-Jörg Vogel, and Sara König

Viewed

Total article views: 72 (including HTML, PDF, and XML)
HTML PDF XML Total BibTeX EndNote
51 17 4 72 2 2
  • HTML: 51
  • PDF: 17
  • XML: 4
  • Total: 72
  • BibTeX: 2
  • EndNote: 2
Views and downloads (calculated since 26 Jan 2026)
Cumulative views and downloads (calculated since 26 Jan 2026)

Viewed (geographical distribution)

Total article views: 71 (including HTML, PDF, and XML) Thereof 71 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 30 Jan 2026
Download
Short summary
The LocalWeatherSampler generates 20–30 year weather scenarios at daily resolution using historical weather data. Wet/dry years can be defined by threshold or via the Standardized Precipitation Index and future weather sequences can be generated tailored to specific scenarios, like extremely dry or very wet sequences. This approach enables testing and analyzing precipitation patterns and temperature trends with models that rely on realistic, daily weather data, such as soil and crop models.
Share