The requested maximum operator is a function that produces a new raster with the highest values on a cell-by-cell basis from an array of coincident input rasters. It is the kind of Maximum Support classification performed by the 'HARDEN' tool of the IDRISI software.
The raster calculator spatial analyst tool should be used.
But got the following error:
'exceptions.ValueError': The truth value of the raster is ambiguous