ecarr1 function

Wet days index per time period