evapoTranspirationStats: Calculate evapo-transpiration stats from monthly weather data

Description Usage Arguments Details Value Examples

Description

evapoTranspirationStats Simple function to clean up ET stats generation from weather data.

Usage

1
evapoTranspirationStats(weather, siteInfo, sites)

Arguments

weather

A data.frame with the following columns (names must match): "site", "month", "year", "tmin", "tmax", "tmean", "rain".

siteInfo

A dataframe with the column "site" that matches that of weather. This dataset is populated with ET stats

sites

A character vector specifying the names of sites in weathe / siteInfo

...

Not currently in use.

Details

See SPEI R package for details. This is just a simple wrapper.

Value

siteInfo, with three additional columns, spi, spei, pot.et

Examples

1
2
3
4
## Not run: 
# more here soon.

## End(Not run)

jtlovell/jtlTools documentation built on May 24, 2019, 4:07 a.m.