degree_days: Degree Days

degree_daysR Documentation

Degree Days

Description

The function calculates degree days using the following approximations: single or double sine wave, single or double triangulation \insertCiteucipmTrenchR. 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 \insertCiteAllen1976;textualTrenchR.

Usage

degree_days(T_min, T_max, LDT = NA, UDT = NA, method = "single.sine")

Arguments

T_min

numeric Minimum temperature of the day (C).

T_max

numeric Maximum temperature of the day (C).

LDT

numeric lower developmental threshold (C).

UDT

numeric upper developmental threshold (C).

method

character type of method being used. Current choices: "single.sine", "double.sine", "single.triangulation", and "double.triangulation".

Value

numeric degree days (C).

References

\insertAllCited

See Also

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()

Examples

  degree_days(T_min  = 7, 
              T_max  = 14, 
              LDT    = 12, 
              UDT    = 33, 
              method = "single.sine")
  degree_days(T_min  = 7, 
              T_max  = 14, 
              LDT    = 12, 
              UDT    = 33, 
              method = "single.triangulation")


trenchproject/TrenchR documentation built on Oct. 10, 2023, 10:12 p.m.