Learn R Programming

wxgenR (version 1.4.4)

A Stochastic Weather Generator with Seasonality

Description

A weather generator to simulate precipitation and temperature for regions with seasonality. Users input training data containing precipitation, temperature, and seasonality (up to 26 seasons). Including weather season as a training variable allows users to explore the effects of potential changes in season duration as well as average start- and end-time dates due to phenomena like climate change. Data for training should be a single time series but can originate from station data, basin averages, grid cells, etc. Bearup, L., Gangopadhyay, S., & Mikkelson, K. (2021). "Hydroclimate Analysis Lower Santa Cruz River Basin Study (Technical Memorandum No ENV-2020-056)." Bureau of Reclamation. Gangopadhyay, S., Bearup, L. A., Verdin, A., Pruitt, T., Halper, E., & Shamir, E. (2019, December 1). "A collaborative stochastic weather generator for climate impacts assessment in the Lower Santa Cruz River Basin, Arizona." Fall Meeting 2019, American Geophysical Union. .

Copy Link

Version

Install

install.packages('wxgenR')

Monthly Downloads

149

Version

1.4.4

License

CC0

Maintainer

David Woodson

Last Published

April 14th, 2025

Functions in wxgenR (1.4.4)

wx

Runs weather generator
generate_TmaxTmin

Generate maximum and minimum daily temperature from daily average temperature
spellLengths

Spell length calculation
BlacksburgVA

Example meteorological training data for weather generator
getDatesInWindow

Get dates in window
multisite_shuffle

Multisite shuffling of wxgenR simulation results
repan

Random variates from the Epanechnikov kernel
selectState

Select transition state
wxgenR

wxgenR package
writeSim

Write simulations to file
stationData

Meteorological training data for weather generator from nine stations
LowerSantaCruzRiverBasinAZ

Example meteorological training data for weather generator
BOCO_sims

wxgenR simulation results for multiple meteorological stations in Boulder County, CO
wxgenR-package

wxgenR: A Stochastic Weather Generator with Seasonality