write_carbon_calibration_data: Write carbon calibrations to file

View source: R/output_functions.R

write_carbon_calibration_dataR Documentation

Write carbon calibrations to file

Description

Write a data.frame with slope, intercepts, and error estimates of calibrations for carbon isotope system. If gainoffset method was used the slopes/intercepts are called gain/offsets for each isotopologue.

Usage

write_carbon_calibration_data(outname, site, cal_df, method, to_file = TRUE)

Arguments

outname

Output file name.

site

NEON 4-letter site code.

cal_df

Calibration data frame - this is the output from fit_carbon_regression

method

Was the Bowling et al. 2003 or the linear regression method used in fit_carbon_regression?

to_file

Write to file (TRUE) or to environment (FALSE).

Value

Nothing to the environment, but writes out the calibration parameters (e.g., gain and offset or regression slopes and intercepts) to the output hdf5 file.

Author(s)

Rich Fiorella rfiorella@lanl.gov


SPATIAL-Lab/NEONiso documentation built on Feb. 27, 2025, 7:19 a.m.