[GRASS-user] How to find the second largest value in a series of rasters.

Hamish hamish_b at yahoo.com
Thu Dec 8 19:35:38 EST 2011

Marcello wrote:
> I have to find the maximum value for each cell in a series
> of rasters and generate both a maximum value map and a
> categorical map with the raster number which contains the
> maximum value.

see also:


it sounds like you have done something similar already, but
maybe you could adapt it somehow, or it is faster.

I think you'll have to use g.copy + r.null (or better r.reclass)
to hide the highest values.


More information about the grass-user mailing list