R: Plot esimtated evapotranspiration with climate variables
ETForcings
R Documentation
Plot esimtated evapotranspiration with climate variables
Description
Produce plot of daily, monthly and annual averaged estimated evapotranspiration with selected climate variables of the same time step.
Usage
ETForcings(data, results, forcing)
Arguments
data
A list of data named data which must contain a component with the name of a climate variable that the estimated evapotranspiration should be plotted against, see forcing.
results
A list named results which has been derived from function ET.
forcing
A character string as the name of a climate variable that the estimated evapotranspiration should be plotted against, can be any of: Tmax - maximum temperature, Tmin - minimum temperature, u2 - average wind speed at 2m, uz - average wind speed, Rs - solar radiation, n - daily sunshine hours, Precip - precipitation, Epan - Class-A pan evaporation, RHmax - maximum relative humidity, RHmin - minimum relative humidity, Tdew - average dew point temeprature.
Value
Three plots are generated for the response of calculated evapotranspiration to each climate variable, including:
1) daily evapotranspiration estimate vs. daily average temperature;
2) monthly mean daily evaporationion estimate vs. monthly average temperature;
3) annual mean daily evaporationion estimate vs. annual average temperature.
Author(s)
Danlu Guo
See Also
ETPlot
Examples
# Use processed existing data set and constants from kent Town, Adelaide
data("processeddata")
data("constants")
# Call ET.Penman under the generic function ET
results <- ET.Penman(data, constants, ts="daily", 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")
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(Evapotranspiration)
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Evapotranspiration/ETForcings.Rd_%03d_medium.png", width=480, height=480)
> ### Name: ETForcings
> ### Title: Plot esimtated evapotranspiration with climate variables
> ### Aliases: ETForcings
> ### Keywords: plot climate forcing evapotranspiration
>
> ### ** Examples
>
> # Use processed existing data set and constants from kent Town, Adelaide
> data("processeddata")
> data("constants")
>
> # Call ET.Penman under the generic function ET
> results <- ET.Penman(data, constants, ts="daily", solar="sunshine hours",
+ wind="yes", windfunction_ver = "1948", alpha = 0.08, z0 = 0.001)
Penman Open-water Evaporation
Evaporative surface: water, albedo = 0.08 ; roughness height = 0.001 m
Sunshine hour data have been used for calculating incoming solar radiation
Wind data have been used for calculating the Penman evaporation. Penman 1948 wind function has been used.
Timestep: daily
Units: mm
Time duration: 2001-03-01 to 2004-08-31
Basic stats
Mean: 4.87
Max: 12.79
Min: 1.04
>
> # Plot the estimated Penman open-water evaporation against average temperature
> ETForcings(data, results, forcing = "Tmax")
>
>
>
>
>
> dev.off()
null device
1
>