double_sine: Compute the degree day from temperature data.

Description Usage Arguments Value Source See Also Examples

View source: R/double_sine.R

Description

double_sine Computes the degree days from temperature data, using interpolation from min and max temperature.

Usage

1
double_sine(min_temp, max_temp, min_temp_lag, t_L, t_U)

Arguments

min_temp

Minimum daily temperature

max_temp

Maximum daily temperature

min_temp_lag

The next day's minimum daily temperature

t_L

Lower bound on the temperature

t_U

Upper bound on the temperature

Value

Degree day from the list of numbers.

Source

http://biomet.ucdavis.edu/DegreeDays/DegDay.htm

See Also

For the equations to compute the degree day: http://ipm.ucanr.edu/WEATHER/ddds_tbl.html. Because this is done over a 12 day period, we have an extra minimum temperature to compute, hence the extra minimum temperature

Examples

1
double_sine(10,15,12,11,16)

jmzobitz/degreeDay documentation built on May 24, 2019, 9:54 a.m.