Calculate 'timeInterval' instead of setting it as input
timeInterval is the minimum time expected between tips. This can be variable by rain gauge, and so may be more practical to calculate something like min(diff.time(pdate[i], pdate[i-1]))
and use it as input to functions.
Currently implemented in RMevents_sko
-- use elsewhere where timeInterval is needed.