process_balance_inputs: Calculate water balance

Description Usage Arguments Value

View source: R/process_balance_inputs.R

Description

Calculates the water balance using desired tracer, e.g., stable isotopes or conservative anion/cation.

Usage

1
2
3
4
5
6
7
8
9
process_balance_inputs(
  parameter = "d18O",
  start_date = as_datetime("2018-10-01"),
  end_date = as_datetime("2019-09-30"),
  dt = "day",
  no_ice = TRUE,
  C_evap = 0,
  C_ice = 0
)

Arguments

parameter

name of water chemistry parameter to grab concentration information for. Must match the "description" field of CSLSdata::water_chem for the desired parameter. Defaults to "d18O". Options include "d18O", "d2H", "CALCIUM TOTAL RECOVERABLE", "MAGNESIUM TOTAL RECOVERABLE", "CHLORIDE", and "SODIUM TOTAL RECOVERABLE".

start_date

start date of analysis. Defaults to start of WY2019 ("2018-10-01").

end_date

end date of analysis. Defaults to end of WY2019 ("2019-09-30").

dt

desired time step of inputs (e.g., "day" or "month")

no_ice

logical defaults to TRUE to ignore ice formation.

C_evap

concentraion in evaporation, defaults to zero

C_ice

concentration in ice, defaults to zero.

Value

lake_inputs


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