buildMdz: Empiric equation for minimum temperature used in Mendoza

Description Usage Arguments Value Examples

View source: R/models.R

Description

According to Maldonado (see [1]), the empirical equation used in Mendoza to estimate the minimum temperature in the night is:

Tmin = ((Tmax + dew)/2)) - K

, where K is a constant calculated for each place, Tmax: maximum temperature of previous day, dew: dew point in <c2><b0>C, Tmin: is the forecaste minimum temperature. Given an array of the information of dw, tempMax and tmin, this function calculates K constant using linear regression. [1] Ortiz Maldonado, Alberto. Adversidades agrometeorol<c3><b3>gicas de Mendoza. 1991.

Usage

1
buildMdz(dw, tempMax, tmin)

Arguments

dw

[<c2><b0>C] Dew Point in <c2><b0>C

tempMax

[<c2><b0>C] Maximum temperature of the previous day

tmin

[<c2><b0>C] Minimum temperature measure that day.

Value

an object of class MdzFrostModel

Examples

1
2
3
4
5
# just a random example
dw <- c(-2,-5,2,6,8)
tempMax <- c(10,20,30,25,29)
tmin <- c(-1,-2,3,5,10)
buildMdz(dw,tempMax,tmin)

frost documentation built on May 2, 2019, 10:19 a.m.