structure_eddy: Folder Structure Setup

View source: R/Data_handling.R

structure_eddyR Documentation

Folder Structure Setup

Description

Folder structure recommended for eddy covariance data processing and archivation.

Usage

structure_eddy(root = ".", create_dirs = FALSE, fsep = .Platform$file.sep, ...)

Arguments

root

A character string defining the root of created folder structure.

create_dirs

A logical value. Indicates whether directories should be created.

fsep

A character. The path separator to use (assumed to be ASCII).

...

Further arguments to be passed to dir.create function.

Details

The purpose is to standardize the locations for metadata and post-processing inputs required to run the proposed workflow (https://github.com/lsigut/EC_workflow) as well as to store data and metadata in levels corresponding to processing stage. The folder structure is not required to successfully apply the workflow but simplifies its use.

Data processing stages

  • Level 0: Raw files with measured high frequency eddy covariance data and relevant metadata or instrument setup files.

  • Level 1: Processing software setup and output files and a logbook.

  • Level 2: Quality checking results and documentation, definition of ecosystem boundary, storage flux processing and files used as inputs for Level 3 data.

  • Level 3: gap-filling output and its documentation, summary of the computed fluxes and meteorological data including their aggregation.

Value

A named list with paths to folder structure directories. Corresponding directories are created as a function side effect if create_dirs = TRUE.

See Also

file.path

Examples

xx <- structure_eddy()
xx
xx$Input_for_GF


lsigut/openeddy documentation built on Aug. 5, 2023, 12:25 a.m.