Learn R Programming

Evapotranspiration (version 1.7)

ET: ET Formulations

Description

A generic function for estimating evapotranspiration from different formulations according to class of data.

Usage

ET(data, ...)

Arguments

data
A list of climate data required for estimating evapotranspiration which differs for each evapotranspiration formulations, see specific formulations for details.
...
Arguments to be passed to methods which differs for each evapotranspiration formulations, see specific formulations for details.

Details

The class of data must be defined prior to call this function in order to proceed to specific formulation.

Examples

Run this code
# Use processed existing data set from kent Town, Adelaide
data("processeddata")
data("constants")

# Set data class to be "Penman" to call function
funname <- "Penman" 
class(data) <- funname 

# Call generic function ET(data, ...) with class "Penman"
results <- ET(data, constants, solar="sunshine hours", wind=
"yes", windfunction_ver = "1948", alpha = 0.08, z0 = 0.001)

Run the code above in your browser using DataLab