add_evap_isotopes: Add evaporation isotopes to dataset

Description Usage Arguments Value

View source: R/add_evap_isotopes.R

Description

Adds evaporation stable isotope measurements, calculated with "calculate_Cevap" in Cevap_functions.R.

Usage

1
2
3
4
5
6
7
8
9
add_evap_isotopes(
  tracer,
  weather,
  chem_df,
  start_date,
  end_date,
  chem_tracer,
  seasonal_correction
)

Arguments

tracer

data frame with water chemistry information for stable isotope.

weather

data frame with monthly weather

chem_df

data frame with water chemistry information for this analysis, for getting lake surface temperature.

start_date

start date of analysis.

end_date

end date of analysis.

chem_tracer

name of stable isotope, "d18O" or "d2H".

seasonal_correction

logical defaults to TRUE to incorporate seasonal correction factors for d18O_atm based on difference between calculated and reported d18O_atm values in Krabbenhoft et al. (1990).

Value

Cevap, new data frame with same columns as tracer, but with only calculated evaporation values.


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