Experimental
Tests whether two rasters are not equal on a cell-by-cell basis.
raster math not_equal_to legacy-port
| Name | Description | Required | Default |
|---|---|---|---|
input1 | First input raster (path string or typed raster object). | Required | input1.tif |
input2 | Second input raster (path string or typed raster object). | Required | input2.tif |
output | Optional output raster file path. If omitted, output remains in memory and is returned as a memory:// raster handle. | Optional | — |
Runs not_equal_to on two DEM rasters and writes the result to dem_not_equal_to.tif.
wbe.not_equal_to(input1='dem_a.tif', input2='dem_b.tif', output='dem_not_equal_to.tif')