runall_csls_inputs: Run all functions needed to summarise water budget inputs for...

Description Usage Arguments Details Value

View source: R/runall_csls_inputs.R

Description

Runs all major functions in the CSLSiso package to transform raw data into the final inputs data frame for one of the CSLS lakes. Can be calculated on a monthly basis (annual = FALSE) or based on all available data (annual = TRUE).

Usage

1
2
3
4
5
6
7
runall_csls_inputs(
  lake,
  threshold = 0.01,
  start_date = NULL,
  end_date = NULL,
  annual = FALSE
)

Arguments

lake

name of lake (e.g., Pleasant, Long, or Plainfield)

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.

Details

Loaded data includes the following data in a list format, where each lake has its own data frame. For example, to access groundwater levels for Pleasant Lake, the command would be gw_levels <- CSLSdata::gw_levels[["Pleasant"]].

Value

monthly_inputs, a data frame with the following columns:

date

date of month

ltmp_degC

average lake surface temperature, degrees C

ltmp_K

average lake surface temperature, Kelvin

atmp_degC

average air temperature, degrees C

atmp_K

average air temperature, Kelvin

RH_pct

average relative humidity, percent

P_mm

precipitaiton for month or year, mm

E_mm

lake evaporation for month or year, mm

dV_mm

change in lake volume for month or year, mm

P_m3

precipitation for month or year, m3

E_m3

lake evaporation for month or year, m3

dV_m3

change in lake volume for month or year, m3

mean_vol_m3

mean lake volume during the month or year (m3)

mean_area_m2

mean lake area during the month or year (m2)

d18O_lake

mean stable isotope measurement for d18O, lake (per mil)

d18O_pcpn

mean stable isotope measurement for d18O, precipitation (per mil)

d18O_GWin

mean stable isotope measurement for d18O, GWin (per mil)

d18O_GWout

mean stable isotope measurement for d18O, GWout (per mil)

d18O_evap

mean stable isotope measurement for d18O, evaporation (per mil)

d2H_lake

mean stable isotope measurement for d2H, lake (per mil)

d2H_pcpn

mean stable isotope measurement for d2H, precipitation (per mil)

d2H_GWin

mean stable isotope measurement for d2H, GWin (per mil)

d2H_GWout

mean stable isotope measurement for d2H, GWout (per mil)

d2H_evap

mean stable isotope measurement for d2H, evaporation (per mil)

GWin_sites

name of monitoring wells use for GWin isotopes

GWout_sites

name of monitoring wells use for GWout isotopes


cvoter/isoH2Obudget documentation built on March 29, 2020, 11:07 a.m.