Experimental

Computes the four-quadrant inverse tangent using two rasters on a cell-by-cell basis.

raster math atan2 legacy-port

Parameters

NameDescriptionRequiredDefault
input1First input raster (path string or typed raster object).Requiredinput1.tif
input2Second input raster (path string or typed raster object).Requiredinput2.tif
outputOptional output raster file path. If omitted, output remains in memory and is returned as a memory:// raster handle.Optional

Examples

Runs atan2 on two DEM rasters and writes the result to dem_atan2.tif.

wbe.atan2(input1='dem_a.tif', input2='dem_b.tif', output='dem_atan2.tif')

Project Links

WbW Homepage User Manual Learn More