Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

hd17

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

ClimInd

Climate Indices

v0.1-3
GPL (>= 3)
Authors
Fergus Reig-Gracia [aut, cre], Sergio M. Vicente-Serrano [aut], Fernando Dominguez-Castro [aut], Joaquin Bedia-Jiménez [ctb]
Initial release
2021-04-09

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.