Skip to contents

plot rain events from given rain data. Either one plot per day or one plot per rain event (created within this function). This function calls plot_given_rain_events

Usage

plot_rain_events(
  rain,
  strTimestamp = "Zeitstempel",
  strPdf = NULL,
  irng = c(1, -1),
  myCex = 0.7,
  myMinN,
  evtSepTime_s = 60 * 60 * 6,
  sigWidth_s = 300,
  events = TRUE
)

Arguments

rain

data frame containing rain data

strTimestamp

name of timestamp field, default: "Zeitstempel"

strPdf

optional. path to output pdf file

irng

vector of two integer values determining the first and last index, respectively, in the data frame of events (created within this function) to be plotted. Second element can be -1 to indicate the index of the last event. Default: c(1, -1)

myCex

default: 0.7

myMinN

minimum precipitation in mm. Events with a total depth less than this value are not plotted

evtSepTime_s

event separation time in seconds. Default: 6*3600 = 6 hours

sigWidth_s

rain signal width in seconds. Default: 300 = 5 minutes

events

one plot per event (events = TRUE) or one plot per day (events = FALSE)? default: TRUE