eddypro_run: Fluxes estimation

Description Usage Arguments Value Warning Author(s) References Examples

View source: R/eddypro_run.R

Description

Estimates flux values and other micrometeorological parameters through a call to LI-COR EddyPro software.

Usage

1
eddypro_run(siteID, path_eddypro_bin, path_eddypro_projfiles, showLOG = TRUE)

Arguments

siteID

Character string indicative of the site's ID (i.e. CC-Xxx)

path_eddypro_bin

path where eddypro_rp and eddypro_fcc executables (i.e. the bin folder) are stored.

path_eddypro_projfiles

path where the EddyPro project files (i.e. the filename.eddypro file) is stored.

showLOG

logical. If TRUE (default), the EddyPro Output Console Page is shown on R console.

Value

A set of .csv files (e.g. fulloutput, qcdetails and metadata) generated by EddyPro software will be stored in the path specified by get_md.

Warning

It is required LI-COR EddyPro software is currently installed on your system (see www.licor.com/EddyPro).

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.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## Not run: 
workdir <- getwd()
siteID <- "DE-HoH"
PATH_ECMD <- system.file("extdata", "DE-HoH_ecmd.csv", package = "RFlux")
PATH_RAWDATA <- system.file("extdata", package = "RFlux")
PATH_OUTPUT <- paste0(workdir, "/eddypro/processing")
PATH_SA_FILE <- system.file("extdata", "spectral_assessment.txt", package = "RFlux")
PATH_PF_FILE <- system.file("extdata", "planar_fit.txt", package = "RFlux")

MD <- get_md(path_ecmd=PATH_ECMD,
             path_rawdata=PATH_RAWDATA,
             path_output=PATH_OUTPUT,
             online=TRUE,
             path_sa_file=PATH_SA_FILE,
             path_pf_file=PATH_PF_FILE,
             tlag_meth=2,
             despike_meth="VM97",
             detrend_meth="BA",
             tilt_correction_meth="PF")

PATH_EDDYPRO_BIN <- "/Applications/eddypro.app/Contents/MacOS/bin" ## put your path!
PATH_EDDYPRO_PROJ <- PATH_OUTPUT
eddypro_run(siteID="DE-HoH",
            path_eddypro_bin=PATH_EDDYPRO_BIN,
            path_eddypro_projfiles=PATH_EDDYPRO_PROJ,
            showLOG=TRUE)

## End(Not run)

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