I am writing a toolbox script that will generate a difference surface using the raster calculator in ArcMap by subtracting a raster of interest from many other existing rasters, then outputting the raster statistics. The rasters are elevation grids. Some have the same extents, but the data only has overlapping empty cells. I am trying to find a way to test if there are overlapping data cells (not extents) before the raster calculator tool is performed on the two surfaces.
Does anyone know of a concise way to do this?
Otherwise, I think I will just have to check if the resulting raster layer is all no values and delete if true, but I'd like to avoid generating the difference surface beforehand if possible.