An internal function that detects the events according to the heatwave definition, and joins across the gaps if desired.
proto_event(t_series, criterion_column, minDuration, joinAcrossGaps, maxGap)
A dataframe of the correct dimensions inherited
The column to use for the detection of events.
Minimum duration for acceptance of detected events.
This logic gate tells this internal function if
it should connect events across the
This is the number of rows (days) across which distinct
events will be combined into one event if