Experimental

Negates each non-nodata raster cell value.

raster math negate

Parameters

NameDescriptionRequiredDefault
inputInput raster file path.Requiredinput.tif
outputOptional output raster file path. If omitted, the result is stored in memory.Optionaloutput.tif

Examples

Apply negate transform to each non-nodata cell.

wbe.negate(input='dem.tif', output='negate_dem.tif')

Project Links

WbW Homepage User Manual Learn More