toFireTS: Convert CCI fire stack to a stack with a predefined temporal...

Description Usage Arguments Value

View source: R/Prep_supporting_data.R

Description

Convert CCI fire stack to a stack with a predefined temporal resolution and containing the value 0 when no fire is present and 1 if a fire is present

Usage

1
toFireTS(x, dts, resol, thres, olen)

Arguments

x

stack of CCI fire imagery, the first layer contains a mask (here the value 0 denotes that the pixel should not be included, the value 1 denotes that the pixel should be included), followed by n fire confidence layers and n fire doy layers

dts

dates associated with the stack

resol

the desired temporal resolution of the output data

thres

threshold on the fire confidence layer, only fires having a confidence higher than the threshold are included

olen

length of the output series

Value

a stack with with a predefined temporal resolution and containing the value 0 when no fire is present and 1 if a fire is present


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