Creates a skeleton HDF5 file for the calibrated data, essentially setting up the HDF5 groups at the /site/dp01/{data,ucrt,qfqm} level.
setup_output_file(
inname,
outname,
site,
analyte,
attrs = NULL,
keep_open = FALSE
)If keep_open = TRUE, returns the open HDF5 file handle.
Otherwise nothing (creates a new data file with basic HDF5
structure consistent with NEON's data files).
Input file name.
Output file name.
NEON 4-letter site code.
Carbon ('Co2') or water ('H2o') system?
Pre-read attributes list from the input file. If NULL
(default), attributes are read from inname.
If TRUE, return the open file handle instead of
closing it. The caller is responsible for closing via h5_close().
Rich Fiorella rfiorella@lanl.gov