Fill the gaps in the target MODIS LST scene from the nearest MODIS LST scene (reference scene).

fillingInTime(target, reference, m = 47)

Arguments

target

Target MODIS LST scene to be filled. Raster object in kelvin unit.

reference

Reference MODIS LST scene to fill from it. Raster object in kelvin unit.

m

The size of moving window. Default value is 47, using bigger size would fill more pixels but increase the computing work and reduce the accuracy of filled pixels.

Value

MODIS LST scene filling partially.

Examples

if (FALSE) { aqua <- raster(system.file("MODIS_data","aqua.tif", package="modislst")) terra <- raster(system.file("MODIS_data","terra.tif", package="modislst")) fillingLST(inputs=list(aqua,terra), m=47) }