# 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, constants, ...) with class "Penman"
results <- ET(data, constants, solar="sunshine hours", wind=
"yes", windfunction_ver = "1948", alpha = 0.08, z0 = 0.001)
# Plot the estimated Penman open-water evaporation against average temperature
ETForcings(data, results, forcing = "Tmax")
Run the code above in your browser using DataLab