Correct Rain Height Differences
correctRainDiffs.Rd
Add one day to the data in the "Date" column if the time in column "To" is before the time in column "From"
Usage
correctRainDiffs(
rainDiffs,
userCorrections,
gauges = names(rainDiffs)[-(1:2)],
dbg = TRUE
)
Arguments
- rainDiffs
rain height differences as provided by
kwb.read:::.toDifferences
- userCorrections
user correction data as returned by
readUserCorrection
- gauges
names of rain gauges (as they appear as column names in
rainDiffs
) to be considered- dbg
if
TRUE
(default) debug messages are shown