gd4 {ClimInd}R Documentation

Growing degree days

Description

Sum of degree days of TG over 4 Celsius (the daily mean temperature is less than 4 celsius, it is set equal to 4 celsius)

Usage

gd4(data, data_names = NULL, time.scale = YEAR, na.rm = FALSE)

Arguments

data

daily mean temperature, Celsius

data_names

names of each period of time

time.scale

month, season or year

na.rm

logical. Should missing values (including NaN) be removed?

Value

temperature, Celsius

References

McMaster, G. S., & Wilhelm, W. W. (1997). Growing degree-days: One equation, two interpretations. Agricultural and Forest Meteorology, 87(4), 291-300

Examples

data(data_all)
gd4(data=data_all$tg)

[Package ClimInd version 0.1-3 Index]