View source: R/mars_water_level_functions.R
marsUnderdrainOutflow_cf | R Documentation |
Total observed orifice outflow volume (cf)
marsUnderdrainOutflow_cf(
dtime,
waterlevel_ft,
orifice_height_ft,
orifice_diam_in,
discharge_coeff = 0.62
)
dtime |
A vector of POSIXct date times, in ascending order |
waterlevel_ft |
Observed water level data (ft) |
orifice_height_ft |
Orifice height (ft) |
orifice_diam_in |
Orifice diameter (in) |
discharge_coeff |
Orifice discharge coefficient |
Output is total observed orifice outflow volume (cf)
marsInfiltrationRate_inhr
obs_250_fill <- obs_250_all %>%
dplyr::arrange(dtime_est) %>%
tidyr::fill(event) %>% #Fill NA's
dplyr::mutate( # Pull in system specs from smp_stats table
storage_depth_ft = smp_stats$storage_depth_ft[7],
storage_vol_ft3 = smp_stats$storage_vol_ft3[7],
infil_footprint_ft2 = smp_stats$infil_footprint_ft2[7],
dcia_ft2 = smp_stats$dcia_ft2[7],
orifice_height_ft = smp_stats$orifice_height_ft[7],
orifice_diam_in = smp_stats$orifice_diam_in[7],
# Calculate orifice flow, if applicable
orifice_vol_cf = marsUnderdrainOutflow_cf(dtime_est,
waterlevel_ft = level_ft,
orifice_height_ft,
orifice_diam_in)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.