calculate_water_balance: Calculate water balance

Description Usage Arguments Value

View source: R/calculate_water_balance.R

Description

Calculates the water balance using a stable isotope tracer using either a) a direct approach, where GWin is directly calculated from measured and interpolated values, or b) an indirect approach, where a dynamic lake model with a daily time step is set up and GW residence time is solved for using optimization.

Usage

1
2
3
4
5
6
7
calculate_water_balance(
  parameter = "d18O",
  start_date = as_datetime("2018-08-22"),
  end_date = as_datetime("2019-11-05"),
  dt = "day",
  method = "indirect_load"
)

Arguments

parameter

parameter to use for water balance calculations, defaults to "d18O".

start_date

start date of calculations

end_date

end date of calculations

dt

desired final time step ("day", "month", or "annual")

method

approach for calculating water balance, either "direct", "indirect_calc", or "indirect_load". Defaults to "indirect_load".

Value

lake_fluxes


WDNR-Water-Use/CSLSchem documentation built on July 3, 2020, 10:51 a.m.