GitHunt
AR

arnaud-ma/StochasticWeatherGenerators.jl

A Julia package to define, fit and generate from Stochastic Weather Generators

StochasticWeatherGenerators.jl Logo StochasticWeatherGenerators.jl

Dev Docs

A Julia package to define, fit and generate from Stochastic Weather Generators (SWG).
It provides the interface to the models and data.

To install it, just add it as any other Julia package, i.e. in the Julia REPL:

import Pkg
Pkg.add("StochasticWeatherGenerators")
# or
pkg> add StochasticWeatherGenerators

Stochastic Weather Generators

Stochastic Weather Generators (SWGs) are statistical tools that create realistic sequences of weather data by mimicking patterns found in observations. They are used to study climate variability and provide synthetic data for impact models in fields like hydrology and agriculture.
For more details, see the documentation or the IPCC note on weather generators.

Illustration of SWG

** Original idea from @caroline-cognot. Thanks to the Makie team for helping on the implementation.

Models

Currently, the package offers:

Important

The objective of this package is not only to show my model, but also to propose several classic (and newer) SWG models. Hence, feel free to open an issue or open a PR with ideas and models.
This would allow easy model comparison and, in some cases, combination.
I'll try to implement the simple (and historic) model, i.e. the Richardson - Water resources research, 1981.

Go check the documentation and the fully reproducible tutorial associated with the paper.

Languages

Julia100.0%

Contributors

MIT License
Created March 18, 2026
Updated March 18, 2026