ecworkset: Merge time series and returns the workset dataframe

Description Usage Arguments Details Value Author(s) References Examples

View source: R/ecworkset.R

Description

Merge time series with common indexes (times) and returns the workset data frame to be used as input for the data cleaning procedure via cleanFlux function.

Usage

1
ecworkset(path_EPout, path_EPqc, path_EPmd, path_QCstat, path_output=NULL, FileName=NULL)

Arguments

path_EPout

path where the fulloutput file generated by EddyPro software is stored.

path_EPqc

path where the qcdetails file generated by EddyPro software is stored.

path_EPmd

path where the metadata file generated by EddyPro software is stored.

path_QCstat

path where the QC statistics file generated by qcStat is stored.

path_output

path where the results will be stored. Default is NULL.

FileName

a character string naming a file for writing. Default is NULL.

Details

Returns a dataframe ordered by common indexes (times) containing a set of variables selected from the fulloutput, metadata, qcdetails files generated by EddyPro via eddypro_run and the statistics of the quality control routines (Vitale et al, 2019) generated by qcStat.

Value

A dataframe object to be used as input of the cleanFlux. For the meaning of variables and units see the EddyPro manual and the qcStat function description.

Author(s)

Domenico Vitale, Dario Papale

References

LI-COR Biosciences: EddyPro 7.0.4: Help and User's Guide, LI-COR Biosciences, Lincoln, Nebraska USA, www.licor.com/EddyPro, 2019.

Vitale, D. Fratini, G. Bilancia, M. Nicolini, G. Sabbatini, S. Papale, D. A robust data cleaning procedure for eddy covariance flux measurements, Biogeosciences Discussions, 2019, pp 1-36, doi: https://doi.org/10.5194/bg-2019-270.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
PATH_EPOUT <- system.file("extdata", "eddypro_DE-HoH_full_output_example.csv", package = "RFlux")
PATH_EPQC <- system.file("extdata", "eddypro_DE-HoH_qc_details_example.csv", package = "RFlux")
PATH_EPMD <- system.file("extdata", "eddypro_DE-HoH_metadata_example.csv", package = "RFlux")
PATH_QCSTAT <- system.file("extdata", "qcStat_example.csv", package = "RFlux")

WorkSet <- ecworkset(path_EPout=PATH_EPOUT,
                     path_EPqc=PATH_EPQC,
                     path_EPmd=PATH_EPMD,
                     path_QCstat=PATH_QCSTAT,
                     path_output=NULL,FileName=NULL)
str(WorkSet)

domvit81/RFlux documentation built on Nov. 20, 2019, 8:02 a.m.