This tool creates a new raster in which the value of each grid cell is determined by an input raster (`input`) and a collection of user-defined classes. The user must specify the New value, the From value, and the To Just Less Than value of each class triplet of the `reclass_value` parameter. Classes must be mutually exclusive. Reclass values must be presented as lists-of-lists, where each row of the list contains either three (`assign_mode=False`) or two (`assign_mode=True`) values. If assign-mode is True, then the pair of values represent New value and Old value keys. As an example:

`reclassed = wbe.reclass(raster, [[1.0, 0.0, 100.0], [2.0, 100.0, 200.0]], assign_mode=False)`

## Function Signature

`def reclass(self, raster: Raster, reclass_values: List[List[float]], assign_mode: bool = False) -> Raster: ...`

## Project Links

WbW Homepage User Manual Support WbW