calibrate_ambient_water_isotopes
calibrate_ambient_water_linreg(
amb_data_list,
caldf,
outname,
site,
filter_data = TRUE,
force_to_end = TRUE,
force_to_beginning = TRUE,
r2_thres = 0.9
)
Nothing to environment; returns calibrated ambient observations to the output file. This function is not designed to be called on its own.
List containing ambient d18O/d2H datasets. Will include all variables in 000_0x0_xxm. (character)
Calibration data frame containing slope and intercept values for d18O and d2H values.
Output variable name. Inherited from
calibrate_ambient_water_linreg
Four-letter NEON code corresponding to site being processed.
Apply a median filter to output ambient data? inherited.
In given month, calibrate ambient data later than last calibration, using the last calibration? (default true)
In given month, calibrate ambient data before than first calibration, using the first calibration? (default true)
Minimum r2 value for calibration to be considered "good" and applied to ambient data.
Rich Fiorella rfiorella@lanl.gov
Function called by calibrate_ambient_water_linreg
to apply
slope and intercept parameters to the ambient datasets (000_0x0_09m and
000_0x0_30m) to correct to the VSMOW scale.
This function should generally not be used independently,
but should be used with calibrate_ambient_water_linreg
.
Note that in this version NO CORRECTION FOR HUMIDITY is performed.
Use with caution.