pet_penmon: Potential Evapotranspiration

Description Usage Arguments Value Examples

View source: R/pet_penmon.r

Description

This function takes a dataframe object as input and computes PET.

Usage

1
pet_penmon(indat)

Arguments

indat

= dataframe containing the input variables

Value

A vector containing the daily Potential EvapoTranspiration (mm/day)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
pet_penmon(indat)

Where the dataframe "indat" contains the following variables:

tmin  = Temperature min    (degrees Celsius)
tmax  = Temperature max    (degrees Celsius)
only one of the following variables (vp OR rh OR dp) are to be passed
vp  = Vapour pressure    (hPa)
rh =  Relative humidity  (%)
dp =  Dewpoint           (degrees Celsius)
ws  = Wind speed at 10m  (m/s)
either ss or rs is passed, but not both
ss  = Sunshine duration  (0-24 hours)
cl  = Cloudiness         (0-1)
cl is optional for use with ss, if unavailble cl is estimated
rs  = radiation          (MJ/m^2)
Also rquired is the latitude and longitude
lat = Latitude  (degrees)
lons = Longitude (degrees)
Elevation (needed) is retrieved from the PETr internal file "data/elev_dat.rda" which contains data from:
http://www.ecad.eu/download/ensembles/data/Grid_0.1deg_reg_ensemble/elev_ens_0.1deg_reg_v17.0e.nc
Missing values should be converted to NA

ECA-D/PETr documentation built on Sept. 29, 2020, 7:50 p.m.