FS_fRawDataProcessing: Process raw flux data (FLUXNET2015, AmeriFlux)

Description Usage Arguments

View source: R/FS_fRawDataProcessing.R

Description

This routine processes FLUXNET2015 and AmeriFlux raw data into a format that can be read by REddyProc. In addition to creating REddyProc input files, this routine also generates (1) FLUXNET2015 dataframes using gap-filled data products, and (2) output datasets for plotting purposes. If the user so chooses, 4 composite figures can also be exported for data qc purposes.

Usage

1
FS_fRawDataProcessing(inpath, outpath, site.meta, flag, batch_process = FALSE)

Arguments

inpath

character string, navigate to the directory containing raw flux data

outpath

character string, set the directory by which data/figs will be exported (creates 3 new subdirectories: '/1_REddyProc inputs', '/2_FLUXNET2015 data products', '/3_Raw data for plotting')

site.meta

dataframe, site metadata file contained in FluxSynthU

flag

numeric, specify the quality check threshold to exclude (e.g. 'flag = c(2:3)' will exclude 'med' and 'poor' gapfills, 2 and 3) (FLUXNET only)

batch_process

logical, if TRUE, batch processes all sites within the inpath directory (defaults to FALSE).


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