sEddyProc_sMDSGapFillAfterUstar.Rd
sEddyProc$sMDSGapFillAfterUstar - MDS gap filling algorithm after u* filtering
sEddyProc_sMDSGapFillAfterUstar(fluxVar,
uStarVar = "Ustar", uStarTh = .self$sGetUstarScenarios()[,
c("season", uStarSuffix), drop = FALSE],
uStarSuffix = "uStar", isFlagEntryAfterLowTurbulence = FALSE,
isFilterDayTime = FALSE, swThr = 10,
RgColName = "Rg", ...)
Flux variable to gap fill after ustar filtering
Column name of friction velocity u * (ms-1), default 'Ustar'
data.frame with first column, season names, and second column estimates of uStar Threshold. Alternatively, a single value to be used as threshold for all records If only one value is given, it is used for all records.
Different suffixes required are for different u * scenarios
Set to TRUE for flagging the first entry after low turbulence as bad condition (by value of 2).
Set to TRUE to also filter day-time values, default only filters night-time data
threshold of solar radiation below which data is marked as night time respiration.
Column name of incoming short wave radiation
Other arguments passed to sEddyProc_sMDSGapFill
Calling sEddyProc_sMDSGapFill
after filtering for
(provided) friction velocity u*
The u* threshold(s) are provided with argument uStarTh
for
filtering the conditions of low turbulence.
After filtering, the data is gap filled using the MDS algorithm
sEddyProc_sMDSGapFill
.
With isFlagEntryAfterLowTurbulence set to TRUE
, to be more
conservative, in addition
to the data acquired when uStar is below the threshold,
the first half hour measured with good turbulence conditions
after a period with low turbulence is also removed (Papale et al. 2006).
Vector with quality flag from filtering (here 0: good data
, 1: low turbulence, 2: first half hour after low turbulence
, 3: no threshold available, 4: missing uStar value)
Gap filling results are in sTEMP data frame (with renamed columns)
that can be retrieved by sEddyProc_sExportResults
.
sEddyProc_sEstimateUstarScenarios
and
link{sEddyProc_sEstUstarThold}
for estimating the
u* threshold from the data.
sEddyProc_sMDSGapFillUStarScens
for
automated gapfilling for several scenarios of u* threshold estimates.