Description Usage Arguments Value References
View source: R/summarise_h2o_bal.R
Calculates the water balance of a lake based measured fluxes and isotopic signatures of precipitation, the lake, and inflowing groundwater wells. Based on equations 2 and 4 in Krabbenhoft et al. (1990).
1 2 3 4 5 6 7 8 9 10 11 12 13 | summarise_h2o_bal(
lake,
weather,
lst,
isotopes,
lake_levels,
gw_levels,
dictionary,
threshold = 0.01,
start_date = NULL,
end_date = NULL,
annual = FALSE
)
|
lake |
name of lake (e.g., Pleasant, Long, or Plainfield) |
weather |
a data frame with sub-monthly weather including including date (POSIXct), atmp (air temperature, deg C), P (precipitation, mm), RH (relative humidity, percent), Rs (solar radiation, MJ), and wind (wind speed, m/s) |
lst |
a data frame with sub-monthly lake surface temperature measurements as formatted in the lst_HOBO dataset, subset for a single lake. |
isotopes |
a data frame with isotopes measurements as formatted in the isotopes dataset, subset for a single lake. |
lake_levels |
a data frame with daily water level measurements as formatted in the lake_levels dataset, subset to lake level records for the lake of interest. |
gw_levels |
a data frame with daily water level measurements as formatted in the lake_levels dataset, subset to groundwater level records at the lake of interest. |
dictionary |
a data frame with site id numbers and static isotope site classifications as formatted in the dictionary dataset, subset to records for the lake of interest. |
threshold |
minimum median difference between lake levels and groundwater levels during the month of measurement in order to classify groundwater measurement. |
start_date |
optional start date to use for analysis (first day of the month) in POSIXct. If not provided, defaults to NULL and timeseries is based on months with isotope samples. |
end_date |
optional end date to use for analysis (last day of the month) in POSIXct. If not provided, defaults to NULL and timeseries is based on months with isotope samples. |
annual |
defaults to FALSE to calculate water balance on a monthly basis. If TRUE, calculates the annual balance instead. |
monthly_h2o_bal, a data frame with the following columns:
first of the month for each monthly observation (Date)
monthly precipitation (mm)
monthly evapotranspiration (mm)
monthly groundwater inflow to the lake (mm)
monthly groundwater outflow to the lake (mm)
monthly change in lake volume (mm)
Krabbenhoft, D. P., C. J. Bowser, M. P. Anderson, and J. W. Valley. (1990). Estimating Groundwater Exchange with Lakes: 1. The Stable Isotope Mass Balance Method. Water Resources Research, 26(10):2445-2453. https://doi.org/10.1029/WR026i010p02445
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.