Skip to content

walkerjeffd/weathergen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weathergen R Package

Jeffrey D. Walker, PhD

http://walkerjeffd.github.io/weathergen

‼️ WARNING! This package has been discontinued and is no longer maintained. It may not work using the current version of R.

This package will contain functions for generating synthetic daily timeseries of precipitation and air temperature under future climate change scenarios. These timeseries can then be used for performing a climate stress test.

This package is under heavy development and should not be used until its official release.

Installation

Before installing the weathergen package, you must install the hydromad package (homepage) using the following commands:

install.packages(c("zoo", "latticeExtra", "polynom", "car", "Hmisc","reshape"))
install.packages("hydromad", repos="http://hydromad.catchment.org")

The weathergen package can then be installed from this github repo using the install_github() function from the devtools package.

devtools::install_github('walkerjeffd/weathergen')
library(weathergen)

Building From Source

To build the package from source:

devtools::document()
devtools::build()

To build only vignettes, run:

devtools::build_vignettes()