Heating degree days
accumulated degree when TG is below 17 Celsius
hd17(data, data_names = NULL, time.scale = YEAR, na.rm = FALSE)
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? |
temperature, Celsius
HD17_j = ∑_{j-1}^{I} (17 ^ oC - TG_ij)
Quayle, R. G., & Diaz, H. F. (1980). Heating degree day data applied to residential heating energy consumption. Journal of Applied Meteorology, 19(3), 241-246. doi: 10.1175/1520-0450(1980)019<0241:HDDDAT>2.0.CO;2
data(data_all) hd17(data=data_all$tg)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.