USGS-R / Rainmaker

Repo being permanently moved to: https://code.usgs.gov/water/analysis-tools/Rainmaker
https://code.usgs.gov/water/analysis-tools/Rainmaker
Other
18 stars 14 forks source link

added secondary check on ieHr #54

Closed limnoliver closed 6 years ago

limnoliver commented 6 years ago

Mari noticed issue that if ieHr is small enough, and the discharge measurements are infrequent enough, that there are cases when correcting back and forward a step to adjust start and end times for discharge events outputs events that are less than ieHr apart. Now there is an argument (ieHr_check) that users can specify. If ieHr_check = TRUE, then the algorithm will check the event list output to see if there are any of these cases, and combine events that are less than ieHr apart. We let the user control this because we thought there might in instances where discharge measurements are too far apart, and you don't want the correction made.