View source: R/mars_plotting_functions.R
marsEventCombinedPlot | R Documentation |
Return hyetograph and observed water level plot for the same rain event on the same chart
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
)
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 |
Output will be a gridExtra object of the two plots
marsRainfallPlot
, marsWaterLevelPlot
, marsCombinedPlot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.