Experimental

Performs if-then-else conditional evaluation on raster cells.

raster math conditional legacy-port

## Parameters

Name | Description | Required | Default
--- | --- | --- | ---
`input` | Input raster path. | Required | `input.tif`
`statement` | Conditional expression evaluated per cell. | Required | `value > 35.0`
`true` | Value or raster/expression used when condition is true. | Optional | `1.0`
`false` | Value or raster/expression used when condition is false. | Optional | `0.0`
`output` | Optional output raster path. | Optional | —

## Examples

Assign values based on a per-cell condition.

    wbe.conditional_evaluation(false='dem.tif', input='dem.tif', output='conditional.tif', statement='value > 2500.0', true=2500.0)

## Project Links

WbW Homepage User Manual Support WbW