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

clim_calc

Calculate seasonal and threshold climatologies as well as the variance.


Description

An internal function that helps to create the climatologies that are then output with ts2clm.

Usage

clim_calc(data, windowHalfWidth, pctile)

Arguments

data

The data given to this function during the calculations performed by ts2clm.

windowHalfWidth

The width of the smoothing window to be applied. This width is doubled and centred around the point that the smoothing occurs. Default = 5, which makes an overall window size of 11.

pctile

Threshold percentile (%) for detection of events (MHWs). Default is 90th percentile.

Value

The function returns the calculated climatologies.

Author(s)

Smit, A. J.


heatwaveR

Detect Heatwaves and Cold-Spells

v0.4.5
MIT + file LICENSE
Authors
Robert W. Schlegel [aut, cre, ctb] (<https://orcid.org/0000-0002-0705-1287>), Albertus J. Smit [aut, ctb] (<https://orcid.org/0000-0002-3799-6126>)
Initial release
2021-01-07

We don't support your browser anymore

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