I have two datasets that I want to compare against each other within a defined shapefile boundary, within a defined yearly range EG (2000-2020)
a) A burned area raster for each year in the range.
b) A forest loss raster for each year in the range
These are classified as 1 = loss, 0 = no data.
My aim is to compare these against each other to see where they overlap for each year within the range. The output should be a CSV file which states the "Burned Forest Area" each year in hectares. EG 2000 - 450ha, 2001 - 1300ha, etc.
A solution could loop through for each year, and record a value where the area is both forest loss = 1, and burned area = 1