Skip to contents

plot all rain events from given rain data and event information. This function calls plot_one_rain_event_2 in a loop over all events with indices between imin and imax.

Usage

plot_given_rain_events(
  rain,
  evt,
  imin = 1,
  imax = -1,
  sigWidth_s,
  myCex = 0.7,
  myMinN
)

Arguments

rain

data frame containing rain data

evt

event information as returned by kwb.event::hsEvents

imin

row index in evt of first event to be considered. Default: 1

imax

row index in evt of last event to be considered. Set to -1 (default) to consider all events.

sigWidth_s

rain signal width in seconds

myCex

default: 0.7

myMinN

minimum total precipitation in mm. Rain events with less precipitation are not plotted