makeMaskNoFire: Make a mask without fire information The mask identifies...

Description Usage Arguments Value

View source: R/Prep_supporting_data.R

Description

Make a mask without fire information The mask identifies pixels that (i) did not have a non-natural land cover type, (ii) have a tree cover higher than a user-defined threshold and (iii) were classified as forest in a user-defined year

Usage

1
makeMaskNoFire(lc, lcDates, han, extfolder, Tyr, Ttree)

Arguments

lc

land cover raster stack (SpatRaster object; terra package)

lcDates

dates associated with the layers of the land cover raster stack

han

Hansen tree cover raster (SpatRaster object; terra package)

extfolder

directory where temporary files should be stored

Tyr

year that pixel should be forested

Ttree

threshold on tree cover percentage

Value

SpatRaster layer with data mask (1 equals )


RETURN-project/makeDataCube documentation built on Feb. 11, 2022, 3:04 p.m.