I would like to have a formula doing the following
return 1 where band_A is at its max and band_B is at its max and band_C is at its min else return 0
I tried the max formula in band_math but it doesn’t work

This is not working with the BandMaths as it works on single pixels and not on the whole raster at once.
Currently, you would need to use Python(snappy) or implement an operator for this.
But we already have this as enhancement in our issue tracker.
[SNAP-1467] Statistical values accessible in BandMaths - JIRA (

1 Like