Learn R Programming

⚠️There's a newer version (1.4.4) of this package.Take me there.

wxgenR (version 1.4.3)

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

163

Version

1.4.3

License

CC0

Maintainer

David Woodson

Last Published

March 15th, 2025

Functions in wxgenR (1.4.3)

selectState

Select transition state
wxgenR-package

wxgenR: A Stochastic Weather Generator with Seasonality
getDatesInWindow

Get dates in window
spellLengths

Spell length calculation
repan

Random variates from the Epanechnikov kernel
wxgenR

wxgenR package
writeSim

Write simulations to file
wx

Runs weather generator
BlacksburgVA

Example meteorological training data for weather generator
LowerSantaCruzRiverBasinAZ

Example meteorological training data for weather generator
stationData

Meteorological training data for weather generator from nine stations