Creates and stores a map Plot of Oxygen deficiency during CSO Event

mapPlot_EventTime(
  BerlinRivers,
  statFilesPath,
  dl_misa,
  event,
  scenarioName = "",
  savingPath = "",
  sizeMax = 1e+05,
  below = 1.5,
  sixBreaks = c(0, 0.5, 2, 4, 10, 20),
  decoupling = "",
  dec = ",",
  highlight_catchments = NULL,
  highlight_style = "lightblue"
)

Arguments

BerlinRivers

Berlin rivers loaded from package with load_berlin_rivers()

statFilesPath

Directory of all stat files

dl_misa

Misa assessment list of all events

event

Event number to be plotted.

scenarioName

A String, only used for the plot title and file name

savingPath

Directory where plot is going to be stored. If left empty (default) a new device is opened in RStudio for the plot.

sizeMax

Maximum size of CSO volumne. Default 100000 is a good compromise between large and small CSO events

below

Oxygen concentration limit used for the plot (mg/L)

sixBreaks

6 low limits of water quality categories

decoupling

Character vector defining a decoupling scenario. Default is "" for no scenario. Possible scenarios can be obtained by the column names of loadMisa_decouplingInfo().

dec

What should be used a decimal character? Default is "," since the plots are in German language

highlight_catchments

Character vector of catchments to highlight. If NULL catchments will be highlighted based on decoupling scenario. Otherwise this overwrites the decoupling information for catchments highlited.

highlight_style

Either a color (name or rgb()) or "shaded" to use the actual color as diagonal lines.