View source: R/FS_fRawDataProcessing.R
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.
1 | FS_fRawDataProcessing(inpath, outpath, site.meta, flag, batch_process = FALSE)
|
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). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.