The function calculates degree days using the following approximations: single or double sine wave, single or double triangulation (University of California Integrated Pest Management Program 2016) . Double approximation methods assume symmetry, such that a day's thermal minimum is equal to that of the previous day. Double sine wave approximation of degree days from Allen (1976) .
degree_days(T_min, T_max, LDT = NA, UDT = NA, method = "single.sine")numeric Minimum temperature of the day (C).
numeric Maximum temperature of the day (C).
numeric lower developmental threshold (C).
numeric upper developmental threshold (C).
character type of method being used. Current choices: "single.sine", "double.sine", "single.triangulation", and "double.triangulation".
numeric degree days (C).
Allen JC (1976).
“A Modified Sine Wave Method for Calculating Degree Days.”
Environmental Entomology, 5(3), 388-396.
doi:10.1093/ee/5.3.388
.
University of California Integrated Pest Management Program (2016).
Degree Days: Methods.
https://ipm.ucanr.edu/WEATHER/ddfigindex.html.
Other microclimate functions:
air_temp_profile_neutral(),
air_temp_profile_segment(),
air_temp_profile(),
direct_solar_radiation(),
diurnal_radiation_variation(),
diurnal_temp_variation_sineexp(),
diurnal_temp_variation_sinesqrt(),
diurnal_temp_variation_sine(),
monthly_solar_radiation(),
partition_solar_radiation(),
proportion_diffuse_solar_radiation(),
solar_radiation(),
surface_roughness(),
wind_speed_profile_neutral(),
wind_speed_profile_segment()
degree_days(T_min = 7,
T_max = 14,
LDT = 12,
UDT = 33,
method = "single.sine")
#> [1] 0.47
degree_days(T_min = 7,
T_max = 14,
LDT = 12,
UDT = 33,
method = "single.triangulation")
#> [1] 0.29