noctiluc3nt / Reddy

R-Package (dev): Analyzing turbulence characteristics from eddy-covariance measurements

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reddy (dev): Analyzing Turbulence Data

CRAN status Last Commit License

R-Package (under development) to automatize standard analyses of turbulence data (e.g., from eddy-covariance measurements).

How to use the package

Installation

The package Reddy can be installed directly from github (current development version):

    devtools::install_git("https://github.com/noctiluc3nt/Reddy")

Usage

A detailed tutorial containing several jupyter notebooks showcasing the most important features of Reddy along with some theoretical background information can be found here.

Plot examples:

List of scripts

All functions that are contained in the Reddy package are described in the manual and are divided into the following scripts:

  • anisotropy.R: invariant analysis of the Reynolds stress tensor, calculation of turbulence anisotropy and visualization in a barycentric map
  • auxilliary.R: collection of some useful generic functions for the evaluation (e.g., discrete binning, cross-correlation maximization)
  • constants.R: constants used for calculations (internal)
  • diagnostics-meteorology.R: calculation of "background-meteorology" quantities (e.g., clear-sky index)
  • diagnostics-turbulence.R: calculation of some standard turbulence diagnostics (e.g., friction velocity, TKE, turbulence intensity, stability parameter)
  • ec-processing.R: collection of functions for post-processing and quality control of eddy-covariance measurements
  • footprint.R: calculation and visualization of 2D flux footprint (FFP, Kljun et al., 2015)
  • multiresolution-decomposition.R: calculation and visualization of multiresolution decomposition (MRD, Vickers and Mahrt, 2003)
  • quadrant-analysis.R: calculation and visualization of quadrant analysis
  • surface-energy-balance.R: visualization of surface energy balance, residual flux and closure ratio

Workflow for package building

  • create documentation (Rd files) with roxygen2: roxygen2::roxygenize("./Reddy")
  • build package: devtools::build("./Reddy") or via terminal R CMD build Reddy
  • check package: devtools::check("./Reddy") or via terminal R CMD check Reddy

Literature

  • Foken, T. (2017). Micrometeorology, Springer-Verlag Berlin Heidelberg, doi: 10.1007/978-3-642-25440-6.
  • Kljun, N. and Calanca, P. and Rotach, M. W. and Schmid, H. P. (2015). A simple two-dimensional parameterisation for Flux Footprint Prediction (FFP), Geoscie. Model Dev., 8, 3695-3713.
  • Vickers, D. and Mahrt, L. (2003). The Cospectral Gap and Turbulent Flux Calculations. Journal of Atmospheric and Oceanic Technology, 20:660-672.

Other packages for processing of eddy-covariance data

  • EddyPro®: Post-processing of eddy-covariance data (LI-COR Biosciences)
  • REddyProc: Post-processing of (half-)hourly eddy-covariance measurements
  • openeddy: Post-processing of eddy-covariance data, aligned with REddyProc
  • RFlux: GUI for post-processing of eddy-covariance raw data by calling EddyPro® (LI-COR Biosciences, 2019)
  • ONEFlux ("Open Network-Enabled Flux processing pipeline"): Post-processing of (half-)hourly eddy-covariance data used to create the FLUXNET2015 dataset
  • icoscp: accessing data from ICOS (Integrated Carbon Observing System) data portal
  • something missing: please create an issue

About

R-Package (dev): Analyzing turbulence characteristics from eddy-covariance measurements

License:GNU General Public License v3.0


Languages

Language:R 100.0%