wxgenR: A Stochastic Weather Generator with Seasonality

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. <https://ui.adsabs.harvard.edu/abs/2019AGUFMGC41G1267G>.

Version: 1.4.5
Depends: R (≥ 3.5.0)
Imports: lubridate, msm, sm, dplyr, plyr, foreach, parallel, doParallel, stats, utils, magrittr, doRNG, mc2d, qmap, tidyr
Suggests: knitr, rmarkdown, reshape2, ggpubr, moments, seas, padr, hydroGOF, SpecsVerification, ggridges, tigris, terra, stringr, mapview, xts, sf, lfstat, FedData, ggplot2
Published: 2026-05-04
DOI: 10.32614/CRAN.package.wxgenR
Author: Subhrendu Gangopadhyay [aut], Lindsay Bearup [aut], David Woodson [aut, cre], Marketa McGuire [aut], Andrew Verdin [aut], Eylon Shamir [aut], Eve Halper [aut]
Maintainer: David Woodson <dwoodson at usbr.gov>
License: CC0
Copyright: This software is in the public ___domain because it contains materials that originally came from the United States Bureau of Reclamation, an agency of the United States Department of Interior.
NeedsCompilation: no
CRAN checks: wxgenR results

Documentation:

Reference manual: wxgenR.html , wxgenR.pdf
Vignettes: wxgenR - Blacksburg, VA NWS Station (source, R code)
wxgenR - Lower Santa Cruz River Basin, AZ (source, R code)

Downloads:

Package source: wxgenR_1.4.5.tar.gz
Windows binaries: r-devel: wxgenR_1.4.5.zip, r-release: wxgenR_1.4.5.zip, r-oldrel: wxgenR_1.4.5.zip
macOS binaries: r-release (arm64): wxgenR_1.4.5.tgz, r-oldrel (arm64): wxgenR_1.4.5.tgz, r-release (x86_64): wxgenR_1.4.5.tgz, r-oldrel (x86_64): wxgenR_1.4.5.tgz
Old sources: wxgenR archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=wxgenR to link to this page.