hd17: Heating degree days

Description Usage Arguments Value Formula References Examples

Description

accumulated degree when TG is below 17 Celsius

Usage

1
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 = ∑_{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

1
2

ClimInd documentation built on April 10, 2021, 1:06 a.m.