fill.lst.gaps: fill.lst.gaps

Description Usage Arguments Details Value

Description

Fill temporal gaps in LST RasterLayer objects.

Usage

1
fill.lst.gaps(x, y, target.year, ofile)

Arguments

x

character vector with the paths of RasterLayers.

y

an Object of class Date with the same length as x.

target.year

Numeric element specifying the target year (additional dates are only used for interpalation)

ofile

Path to output file.

Details

The function uses an algorithm similar to the one offered by imgInt. In essense, the function evaluates the time series of each pixel and, for each date with a NA value, it searches for the closest, non-NA values in time - contrained by a temporal buffer - and uses them to fill data gaps linearly.

Value

A character vector and hdf files.


RRemelgado/iDivR documentation built on May 9, 2019, 8:11 a.m.