Description Usage Arguments Value Examples
This function takes a dataframe object as input and computes PET.
1 | pet_penmon(indat)
|
indat |
= dataframe containing the input variables |
A vector containing the daily Potential EvapoTranspiration (mm/day)
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.