water (version 0.5)

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 = "ETr", long.z = WeatherStation$long, date = "auto", MTL)

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" for short crops, similar to clipped, cool-season grass; or "ETr" for tall crops, similar to 0.5 m tall full-cover alfalfa.
long.z
longitude for local time
date
if date == "auto" will use a MTL file provided or present in the working folder to select the date.
MTL
Metadata file. If not provided will look for one on working directory. If provided or present will calculate weather conditions on satellite overpass.

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 DataCamp Workspace