evapoTranspirationStats: Calculate evapo-transpiration stats from monthly weather data

View source: R/evapoTranspirationStats.R

evapoTranspirationStatsR Documentation

Calculate evapo-transpiration stats from monthly weather data

Description

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

Usage

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

## Not run: 
# more here soon.

## End(Not run)


jtlovell/jtlTools documentation built on Jan. 17, 2024, 2:53 p.m.