Count the number of days in warm spells, where a warm spell is defined
as at least six consecutive days with Tmax above the threshold
quantile of the full input series. This is a quick approximation
driven by a single series-wide quantile, and does not require a
reference period.
Details
For the canonical ETCCDI WSDI definition (1961-1990 calendar-day base,
six-day spell rule), use ck_wsdi().
The quantile is estimated with the Hyndman and Fan type 8 estimator,
matching every other percentile in climatekit. Before v0.2.1 this
function alone used R's default type 7. The two estimators differ by
order 1/n, so counts rarely change on multi-year daily series.