exceedance function

Detect consecutive days in exceedance of a given threshold.