Restructures data.frames imported by ingest_data to shorten variable names and Wrapper function around restructure_carbon_variables and restructure_water_variables.
restructure_variables(dataframe, varname, mode, group, species)
data.frame formatted for output to hdf5 file.
Input data.frame, from neonUtilities::stackEddy
Which variable are we applying this function to? There's a list of ~10 common ones to write to the hdf5 file.
Are we fixing a reference data frame or an ambient data frame?
Data, ucrt, or qfqm?
Set to 'Co2' for carbon; 'H2o' for water
Rich Fiorella rfiorella@lanl.gov