README.md

The bigleaf R package

bigleaf is an R package for the calculation of physical (e.g. aerodynamic conductance, surface temperature) and physiological (e.g. canopy conductance, water-use efficiency) ecosystem properties from eddy covariance data and accompanying meteorological measurements. All calculations are based on a 'big-leaf' representation of the vegetation and return representative bulk ecosystem/canopy variables.

Citation

Knauer J, El-Madany TS, Zaehle S, Migliavacca M (2018) Bigleaf—An R package for the calculation of physical and physiological ecosystem properties from eddy covariance data. PLoS ONE 13(8): e0201114. https://doi.org/10.1371/journal.pone.0201114

Installation

The bigleaf R package is on CRAN and can be installed using:

install.packages("bigleaf")

The development version can be directly installed from this bitbucket repository:

library(devtools)
install_bitbucket("juergenknauer/bigleaf")

Usage

Most functions work by providing a data.frame or matrix which contains all required variables: For example, surface conductance for the spruce forest in Tharandt, Germany (DE-Tha) can be calculated with the following commands:

DE_Tha_June_2014$Ga <- aerodynamic.conductance(DE_Tha_June_2014,Tair="Tair",pressure="pressure",wind="wind",ustar="ustar")[,"Ga_h"]
surface.conductance(DE_Tha_June_2014,Tair="Tair",pressure="pressure",Rn="Rn",VPD="VPD",LE="LE",Ga="Ga")
surface.conductance(DE_Tha_June_2014,Tair="Tair",pressure="pressure",Rn="Rn",VPD="VPD",LE="LE",Ga=0.1)

Here, DE_Tha_June_2014 denotes the input data.frame. Note that input variables can be provided as column names of the input data.frame (as argument Ga in line 2 above), or alternatively, as vectors with the same length as the input data.frame or of length 1 (as argument Ga in line 3 above). If variables are provided in the default column names (as above), the command can be shortened to:

surface.conductance(DE_Tha_June_2014)

Important: please ensure that all input variables are in the correct units as described on the help pages.

Please report bugs or issues here

Package content

The package provides the following functionalities:

Data filtering

Meteorological variables

Aerodynamic properties

Surface conditions

Evapotranspiration (ET) and water-use efficiency (WUE)

Physiological variables

Energy balance

Unit conversions

Contact

For questions, remarks, and suggestions please contact Juergen.Knauer@csiro.au



lhmet-forks/bigleaf documentation built on Aug. 4, 2020, 12:08 a.m.