I have two rasters with the same extents, each with all pixel values of the same value. Raster A has pixel values of 6 and Raster B has pixel values of 3. I know ModelBuilder has the Calculate Values tool that can process rasters with Python.
What code could I use to call these rasters and compare them to produce values?
What I am asking is if it is possible to essentially extract a number from a raster. So I know I can use Raster Calculator to generate a map where every pixel has a value equal to Raster A/Raster B. But I want to generate the number = to Raster A/Raster B so I can use it as an input in Modelbuilder.