This tool calculates the percentage of a raster stack (`inputs`) that have cell values less than an input comparison raster. The user must specify the name of the value raster (`comparison`), the names of the raster files contained in the stack, and an output raster file name (`output`). The tool, working on a cell-by-cell basis, will count the number of rasters within the stack with larger grid cell values less than the corresponding grid cell in the comparison raster. This count is then expressed as a percentage of the number of rasters contained within the stack and output. If any of the rasters within the stack contain the NoData value, the corresponding grid cell in the output raster will be assigned NoData.

## Warning

Each of the input rasters must have the same spatial extent and number of rows and columns.

## See Also

percent_greater_than, percent_equal_to

## Function Signature

`def percent_less_than(self, input_rasters: List[Raster], comparison: Raster) -> Raster: ...`

## Project Links

WbW Homepage User Manual Support WbW