Learn R Programming

water (version 0.3.2)

dailyET: Calculates daily ET using Penman Monteith hourly formula for every hour

Description

Calculates daily ET using Penman Monteith hourly formula for every hour

Usage

dailyET(WeatherStation, DOY, height, lat, long, elev, ET = "ETo", long.z = WeatherStation$long)

Arguments

WeatherStation
a data frame with all the needed fields (see example)
DOY
day of year
height
weather station sensors height in meters
lat
latitude in decimal degrees of the weather station
long
longitude in decimal degrees of the weather station
elev
elevation in meters of the weather station
ET
"ETo" or "ETr"
long.z
longitude for local time

Value

ET daily in mm.h-1

References

Allen 2005 ASCE

Examples

Run this code
csvfile <- system.file("extdata", "apples.csv", package="water")

WeatherStation <- read.WSdata(WSdata = csvfile, date.format = "%d/%m/%Y", 
lat=-35.42222, long= -71.38639, elev=201, height= 2.2, cf=c(1,0.2777778,1,1))

dailyET(WeatherStation = WeatherStation, lat=-35.422, long=-71.386, elev=124, 
ET="ETo")

Run the code above in your browser using DataLab