gapfill.sapflux: Gapfill sap flux data.

Description Usage Arguments Details Value

View source: R/gapfill.sapflux.R

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.

sapflux.ts

Time series of sapflux data, Example: sapflux.data exported by AquaFlux.

max.gap.size

Optional input. Maximum gap size that will be filled. Default is 20. See details.

Details

Add together two numbers

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

Output is a time series of sapflux data, now gapfilled.


HeatherSpeckman/AquaFlux documentation built on June 15, 2020, 12:41 p.m.