GDD_linear function

Calculates growing degree days (GDD) using a linear method

Calculates growing degree days (GDD) using a linear method

The function calculates the daily heat unit accumulation (GDD) from daily temperature data with a linear method based on averaging the daily maximum and minimum temperatures (Arnold, 1960). GDD are calculated by subtracting the plant's lower base temperature (Tb) from the average daily air temperature. The user can define an upper temperature threshold (Tu) so that all temperatures above Tu will have equal value in GDD summation.

GDD_linear(Temp_Day, Tb, Tu = 999)

Arguments

  • Temp_Day: a dataframe of daily temperatures. This data frame must have a column for Year, Month, Day, and daily minimum (Tmin) and maximum (Tmax) temperatures.
  • Tb: the base temperature required to calculate GDD.
  • Tu: an optional upper temperature threshold.

Returns

dataframe consisting of the columns Year, Month, Day, Tmax, Tmin, Tmean and GDD.

Examples

# Calculate GDD in the example dataset using 4.5ºC as base temperature and no # upper threshold. library(magrittr) library(dplyr) GDD <- GDD_linear(Tudela_DW,4.5) # Calculate GDD in the example dataset using 4.5ºC as base temperature and an # upper threshold at 25ºC. GDD <- GDD_linear(Tudela_DW,4.5,25)

References

Arnold, C.Y. 1960. Maximum-minimum temperatures as a basis for computing heat units. Proc.Amer. Soc. Hort. Sci. 76:682–692.

Author(s)

Carlos Miranda, carlos.miranda@unavarra.es

  • Maintainer: Carlos Miranda
  • License: GPL (>= 3)
  • Last published: 2023-02-09

Useful links