Skip to content

Number of consecutive days exceeding threshold

Hi @tkariyat

Our former colleague, Nadia, was working on a function to calculate an indicator based on the number of consecutive days that were exceeding (or not exceeding) a threshold during a period.

The code she implemented is here https://earth.bsc.es/gitlab/es/sunset/-/blob/working-branch-nadia/modules/Indicators/R/tmp/ConsecutiveDays.R

I haven't looked in detail at the code but it looks quite consistent with the criteria for the CSIndicator package.

For the naming and description of the function, @rmarcos may be willing to help.

Thanks for your support,

Núria