gapfill.sapflux: Gapfill sap flux data.

Description Usage Arguments Details Value Author(s)

Description

Gapfill sap flux data using a spline fit.

Usage

1
 gapfill.sapflux( LDate, y, max.gap.size=20 ) 

Arguments

LDate

Linear day of year, such as AquaFlux output sapflux.data$LDate.

y

Time series of sap flux data such as from sapflux.data.

max.gap.size

Optional input. Maximum gap size that will be filled.

Details

max.gap.size = Spline gapfilling is best suited to fill small data gaps. "max.gap.size" allows selectively only fill data gaps smaller than "max.gap.size" time indexes. For example, if your data was recorded hourly, max.gap.size=5 will not allow gaps larger than 5 hours to be gapfilled. If your data was recorded every 5 minutes, max.gap.size=6 will only will not allow gaps larger than 30 minutes (5 mins * 6) to be filled.

Value

Returns a vector of gapfilled sap flux data, the same size as the "y" input.

Author(s)

Heather Speckman (HeatherNSpeckman@gmail.com)


EwersLabUWyo/AquaFlux documentation built on July 6, 2019, 5:16 a.m.