hd17 {ClimInd}R Documentation

Heating degree days

Description

accumulated degree when TG is below 17 Celsius

Usage

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

Formula

HD17_j = \sum_{j-1}^{I} (17 ^ oC - TG_ij)

References

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

Examples

data(data_all)
hd17(data=data_all$tg)

[Package ClimInd version 0.1-3 Index]