You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.
I noticed that RMevents_sample does not correctly include rain for the period immediately preceding the start times. The bug appears if the first row of the precipitation dataframe beginRow has a calculated time difference greater than ieSec. If so, the code will not allow for rain preceding the start time to contribute to the rain totals. I updated the function and the code below should fix the issue.
I also changed the df argument so the initial data.frame is not overwritten on the first line. This makes it easier to diagnose issues.
I noticed that
RMevents_sample
does not correctly include rain for the period immediately preceding the start times. The bug appears if the first row of the precipitation dataframebeginRow
has a calculated time difference greater than ieSec. If so, the code will not allow for rain preceding the start time to contribute to the rain totals. I updated the function and the code below should fix the issue.I also changed the
df
argument so the initial data.frame is not overwritten on the first line. This makes it easier to diagnose issues.Rainmaker/R/RMevents_sample.R
Line 75 in 0b5509d
The text was updated successfully, but these errors were encountered: