FS_fBuildCompleteOutput: Build complete dataset from: (1) stacked REddyProc 'night'...

Description Usage Arguments

View source: R/FS_fBuildCompleteOutput.R

Description

After appending annual REddyProc output files using 'FS_fAppendREddyProcOutputs', this function will join the 'night' and 'day' method files into a single record, as well as joining raw data (for met variables), and FLUXNET2015 data products (when applicable).

Usage

1
2
3
4
5
6
7
8
FS_fBuildCompleteOutput(
  inpath_REP,
  inpath_raw,
  inpath_FLX = NULL,
  outpath,
  site.meta,
  export.files = TRUE
)

Arguments

inpath_REP

character string, navigate to the directory containing stacked REddyProc output files (must contain the following subdirectory names: '1_after-night-part/' and '2_after-day-part/')

inpath_raw

character string, navigate to the directory containing formatted raw output datasets (formatted using function 'FS_fRawDataProcessing') (e.g. 'AMF_US-NR1_1998-2019-raw_data_for_plotting.txt')

inpath_FLX

character string, navigate to the directory containing FLUXNET2015 data products (formatted using function 'FS_fRawDataProcessing')

outpath

character string, set the directory by which complete output dataframes will be exported

site.meta

dataframe, site metadata file contained in FluxSynthU

export.files

logical, if TRUE (default) exports dataframes as text files in the outpath directory.


ksmiff33/FluxSynthU documentation built on Dec. 15, 2020, 10:29 p.m.