sMDSGapFill: sEddyProc$sMDSGapFill - MDS gap filling algorithm

Description Usage Arguments Details Value Author(s) References

Description

MDS gap filling algorithm adapted after the PV-Wave code and paper by Markus Reichstein.

Usage

1
2
3
4
sMDSGapFill(Var.s, QFVar.s = "none", QFValue.n = NA_real_, 
    V1.s = "Rg", T1.n = 50, V2.s = "VPD", T2.n = 5, 
    V3.s = "Tair", T3.n = 2.5, FillAll.b = TRUE, Verbose.b = TRUE, 
    Suffix.s = "")

Arguments

Var.s

Variable to be filled

QFVar.s

Quality flag of variable to be filled

QFValue.n

Value of quality flag for _good_ (original) data, other data is set to missing

V1.s

Condition variable 1 (default: Global radiation 'Rg' in W m-2)

T1.n

Tolerance interval 1 (default: 50 W m-2)

V2.s

Condition variable 2 (default: Vapour pressure deficit 'VPD' in hPa)

T2.n

Tolerance interval 2 (default: 5 hPa)

V3.s

Condition variable 3 (default: Air temperature 'Tair' in degC)

T3.n

Tolerance interval 3 (default: 2.5 degC)

FillAll.b

Fill all values to estimate uncertainties

Verbose.b

Print status information to screen

Suffix.s

String suffix needed for different processing setups on the same dataset (for explanations see below)

Details

Initialize temporal data frame sTEMP for newly generated gap filled data and qualifiers, see sFillInit for explanations on suffixes.

MDS gap filling algorithm calls the subroutines Look Up Table sFillLUT and Mean Diurnal Course sFillMDC with different window sizes as described in the reference.

To run dataset only with MDC algorithm sFillMDC, set condition variable V1.s to 'none'.

Different processing setups on the same dataset

Attention: When processing the same site data set with different setups for the gap filling or flux partitioning (e.g. due to different ustar filters), a string suffix is needed! This suffix is added to the result column names to distinguish the results of the different setups.

Value

Gap filling results in sTEMP data frame (with renamed columns).

Author(s)

AMM, TW (Department for Biogeochemical Integration at MPI-BGC, Jena, Germany)

References

Reichstein, M. et al. (2005) On the separation of net ecosystem exchange into assimilation and ecosystem respiration: review and improved algorithm. Global Change Biology, 11, 1424-1439.


REddyProc documentation built on May 2, 2019, 5:19 p.m.