I have a dataframe with the precipitation data every 30 minutes. The example of the dataframe is below: enter image description here
I want to define different rain e