Say I have 2 rasters with same spatial extent and same resolution and same number of classes:
Raster 1: Ground Truth.
Raster 2: Result of some algorithm.
I want to see what % of pixels have same value. To achieve this I tried following in raster calculator
outras = Con("ras1.tif" = "ras2.tif", 1,0)
I am getting error:
Runtime error SyntaxError: keyword can't be an expression