Experimental

Calculates the absolute value of each raster cell.

raster math abs

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 abs transform to each non-nodata cell.

wbe.abs(input='dem.tif', output='abs_dem.tif')

Project Links

WbW Homepage User Manual Learn More