Experimental

Performs a MAX operation on two rasters or a raster and a constant value.

raster math max legacy-port

## Parameters

Name | Description | Required | Default
--- | --- | --- | ---
`input1` | First raster path or numeric constant. | Required | `in1.tif`
`input2` | Second raster path or numeric constant. | Required | `in2.tif`
`output` | Optional output raster path. | Optional | —

## Examples

Compute cellwise maximum between a raster and a constant.

    wbe.max(input1='in1.tif', input2='15.0', output='max_output.tif')

## Project Links

WbW Homepage User Manual Support WbW