The function estimates temperature for a specified hour using sine and square root functions (Cesaraccio et al. 2001) .

diurnal_temp_variation_sinesqrt(t, t_r, t_s, T_max, T_min, T_minp)

Arguments

t

numeric hour or hours for temperature estimate.

t_r, t_s

numeric sunrise and sunset hours (0-23).

T_max, T_min

numeric maximum and minimum temperatures of current day (C).

T_minp

numeric minimum temperature of following day (C).

Value

numeric temperature (C) at a specified hour.

References

Cesaraccio C, Spano D, Duce P, Snyder RL (2001). “An improved model for determining degree-day values from daily temperature data.” International Journal of Biometeorology, 45, 161-169. doi:10.1007/s004840100104 .

Examples

  diurnal_temp_variation_sinesqrt(t      = 8, 
                                  t_r    = 6, 
                                  t_s    = 18, 
                                  T_max  = 30, 
                                  T_min  = 10, 
                                  T_minp = 12)
#> [1] 17.65367