calculate_ETP_daily_MECC: Function to calculate ETP

calculate_ETP_daily_MECCR Documentation

Function to calculate ETP

Description

Function to calculate ETP

Usage

calculate_ETP_daily_MECC(
  input_type = "dwd",
  list_data = NA,
  date = NA,
  t_max = NA,
  t_min = NA,
  rh = NA,
  rh_max = NA,
  rh_min = NA,
  n_hours = NA,
  cloud_cover = NA,
  mean_wind = NA,
  station_metadata = NA,
  method = "HargreavesSamani"
)

Arguments

input_type

character string. Either "DWD" (to use the output of function 'get_data_station_MECC()') or "MANUAL" to give each variable manually

list_data

if 'input_type == "DWD"', the output of 'get_data_station_MECC()', else it is 'NA'

date

series of dates (daily) to be of the time series.

t_max

series of maximum daily temperature (Celcius)

t_min

series of minimum daily temperature (Celcius)

rh

series of average daily relative humidity (-)

rh_max

series of maximum daily relative humidity (-)

rh_min

series of minimum daily relative humidity (-)

n_hours

series of daily total number of sunlight hours (hours)

cloud_cover

series of daily degree of cloud coverage (Okta scale)

mean_wind

series of daily average wind speed (m.s-1)

station_metadata

data frame with metadata, preferably the output from 'get_data_station()'. Should contain 6 columns (name, id, latitude, longitude, height, county and var; in this exact order and names).

method

carachter string with what equation should be used to estimate Evapotranspiration. Values are *HargreavesSamani* or *PenmanMonteith*.

Details

All inputs (expect 'station_metadata') are available in the first element of the output of function 'get_data_station()'. For clarity, they can be incerted separatly


pedroalencar1/DroughtSDF documentation built on May 8, 2023, 6:58 p.m.