parameter | description |
---|---|
year_length | Number of days per year |
southern_hemisphere | Whether the annual curve corresponds to values in the southern or northern hemisphere |
temperature - annual_max | Annual maximum of daily mean temperature |
temperature - annual_min | Annual minimum of daily mean temperature |
temperature - daily_fluctuation | Standard deviation in daily mean temperature |
temperature - daily_lower_dev | Lower deviation from daily mean temperature |
temperature - daily_upper_dev | Upper deviation from daily mean temperature |
solar - annual_max | Annual maximum of daily mean solar radiation |
solar - annual_min | Annual minimum of daily mean solar radiation |
solar - daily_fluctuation | Standard deviation in daily mean solar radiation |
Supplementary materials to Angourakis et al. (2025)
1 Introduction
This file and all other referenced in the code can be found at the repository: https://github.com/Two-Rains/Weather-Angourakis-et-al-2025
1.1 About this document
To facilitate a deeper understanding and application of the Weather model, this resource contains all the source code for the figures presented in the related paper (Angourakis, Baudouin, and Petrie, in submission), including:
- Visualizing weather variables in example locations.
- Demonstrating the full model functionality.
- Visualizing parameter sensitivity for solar radiation and temperature generation.
- Visualizing parameter sensitivity for precipitation generation.
- A walk-through on the calibration of parameters.
- A calibration workflow for example locations.
These materials offer hands-on guidance for users looking to implement, calibrate, and analyse the Weather model in their own research.
1.2 About the Weather model
The Weather model is a procedural generation model designed to produce random synthetic daily weather time series with realistic characteristics, given a set of parameters. It is implemented in NetLogo and R and is computationally efficient. The Weather model generates synthetic weather time series using algorithms based on sinusoidal and double logistic functions, incorporating stochastic variation to mimic unpredictable weather patterns. It produces daily values of surface solar radiation, average/max/min temperature, and total precipitation.
More details about the two implementation at:
1.2.1 Parameters and hyperparameters
hyperparameter | parameter (year) | description |
---|---|---|
year_length | Number of days per year | |
annual_sum | precipitation - annual_sum_mean | Mean and |
annual_sum | precipitation - annual_sum_sd | standard deviation in annual sum of precipitation |
n_samples | precipitation - plateau_value_mean | Mean and |
n_samples | precipitation - plateau_value_sd | standard deviation in number of random samples (steps) during descritisation of cumulative precipitation curves (an approximation to the number of precipitation events) |
max_sample_size | precipitation - inflection1_mean | Mean and |
max_sample_size | precipitation - inflection1_sd | standard deviation in maximum length of samples (steps) during descritisation of cumulative precipitation curves (an approximation to the duration between precipitation events) |
plateau_value | precipitation - rate1_mean | Mean and |
plateau_value | precipitation - rate1_sd | standard deviation in value in which the gap between logistic curves is set (range of 0 to 1); interpretable as the proportion of precipitation falling in the first rainy season |
inflection1 | precipitation - inflection2_mean | Mean and |
inflection1 | precipitation - inflection2_sd | standard deviation in day of year in which the first logistic curves has its maximum slope; interpretable as the peak day of the first rainy season |
rate1 | precipitation - rate2_mean | Mean and |
rate1 | precipitation - rate2_sd | standard deviation in maximum rate or slope increase of the first logistic curves; interpretable as the maximum daily precipitation of the first rainy season |
inflection2 | precipitation - n_samples_mean | Mean and |
inflection2 | precipitation - n_samples_sd | standard deviation in day of year in which the second logistic curves has its maximum slope; interpretable as the peak day of the second rainy season |
rate2 | precipitation - max_sample_size_mean | Mean and |
rate2 | precipitation - max_sample_size_sd | standard deviation in maximum rate or slope increase of the second logistic curves; interpretable as the maximum daily precipitation of the second rainy season |