Learn R Programming

Evapotranspiration (version 1.16)

ReadOBSEvaporations: Read Raw Data of Observed Evaporation from file

Description

Load raw date and evaporation data and then compile data list of daily time step.

Usage

ReadOBSEvaporation(E_OBS, data)

Arguments

E_OBS

A list of evaporation data named E_OBS which must contain the following columns: Year, Month, Day as the date and, EVAP.Obs as the observed evaporation in mm. The observations can be of daily and monthly time steps and must match with the corresponding dates recorded.

data

A list of data named data which contains data of climate variables over the same period as the evaporation data

Value

This function returns a list with all components of class zoo which have been processed from the raw data, including:

Date.OBS

A zoo object containing the date data with time step consistent with the raw evaporation data in E_OBS.

E_obs.Daily

A zoo object containing the daily evaporation data.

E_obs.Monthly

A zoo object containing the monthly aggregaated observed evaporation in mm.

E_obs.Annual

A zoo object containing the annually aggregated observed evaporation in mm.

E_obs.MonthlyAve

A zoo object containing the monthly averaged daily evaporation from observation in mm/day.

E_obs.AnnualAve

A zoo object containing the annually average daily evaporation from observation in mm/day.

Note that the components might have value of NULL when the corresponding raw data cannot be found in E_OBS.

Examples

Run this code
# NOT RUN {
# Get the time period from "data"
# Use processed existing data set from kent Town, Adelaide
data("processeddata")
data("constants")

# Reading obsevations of evaporation within specified time period
data("E_OBS")
OBS <- ReadOBSEvaporation(E_OBS, processeddata)
# }

Run the code above in your browser using DataLab