This tool identifies the stack position (index) of the maximum value within a raster stack on a cell-by-cell basis. For example, if five raster images (inputs) are input to the tool, the output raster (output) would show which of the five input rasters contained the highest value for each grid cell. The index value in the output raster is the zero-order number of the raster stack, i.e. if the highest value in the stack is contained in the first image, the output value would be 0; if the highest stack value were the second image, the output value would be 1, and so on. If any of the cell values within the stack is NoData, the output raster will contain the NoData value for the corresponding grid cell. The index value is related to the order of the input images.

Warning

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

See Also

lowest_position, pick_from_list

Function Signature

def highest_position(self, input_rasters: List[Raster]) -> Raster: ...

Project Links

WbW Homepage User Manual Support WbW