marsEventCombinedPlot: Plot hyetograph and observed water level for a single plot...

View source: R/mars_plotting_functions.R

marsEventCombinedPlotR Documentation

Plot hyetograph and observed water level for a single plot the same chart with minimal inputs

Description

Return hyetograph and observed water level plot for the same rain event on the same chart

Usage

marsEventCombinedPlot(
  con,
  event_date,
  source = "radar",
  event_uid,
  smp_id,
  ow_suffix,
  sump_correct = TRUE,
  orifice_show = FALSE,
  orifice_height_ft = NULL,
  storage_depth_ft,
  metrics_show = FALSE,
  obs_RSPU,
  sim_RSPU,
  obs_infil_inhr,
  sim_infil_inhr,
  obs_draindown_hr,
  sim_draindown_hr,
  obs_overtopping,
  sim_overtopping
)

Arguments

con

An ODBC connection to the MARS Analysis database returned by odbc::dbConnect

event_date

chr or POSIXCT, day during which event occurs

source

chr, rainfall source, one of 'gage'/'gauge' or 'radar'. Defaults to 'radar'

event_uid

int, rain event uid. Alternate to override event_date and rain_source (optional)

smp_id

chr, SMP ID

ow_suffix

chr, OW Suffix

sump_correct

boolean, passed to fetch monitoring date to trim data

...

additional arguments for showing metrics and overriding orifice/storage elevations. See marsCombinedPlot

Value

Output will be a gridExtra object of the two plots

See Also

marsRainfallPlot, marsWaterLevelPlot, marsCombinedPlot


taywater/pwdgsi documentation built on April 19, 2024, 11:10 a.m.