View source: R/mars_data_fetch_write_functions.R
marsWriteDraindownData | R Documentation |
Receive vector of draindown data, calculated with marsDraindown_hr
,
and write to MARS Analysis Database performance_draindwown table
marsWriteDraindownData(
con,
draindown_hr,
draindown_assessment_lookup_uid,
ow_uid,
radar_event_uid,
snapshot_uid,
observed_simulated_lookup_uid
)
con |
Formal class PostgreSQL, a connection to the MARS Analysis database |
draindown_hr |
vector, numeric, draindown time (hr) |
draindown_assessment_lookup_uid |
vector, int, assessment of draindown duration from |
ow_uid |
vector, numeric observation well UID |
radar_event_uid |
vector, numeric |
snapshot_uid |
vector, numeric |
observed_simulated_lookup_uid |
vector, numeric, 1 if observed, 2 if simulated |
TRUE
if the write is succesful, or an error message if unsuccessful
marsWritePercentStorageData
, marsWriteOvertoppingData
,
marsWriteDraindownData(con,
draindown_hr = summary_250$draindown_hr,
draindown_assessment_lookup_uid = summary_250$draindown_assessment_lookup_uid,
ow_uid = summary_250$ow_uid,
radar_event_uid = summary_250$rainfall_gage_event_uid,
snapshot_uid = summary_250$snapshot_uid,
observed_simulated_lookup_uid = summary_250$observed_simulated_lookup_uid)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.