AnsweredAssumed Answered

RASTER STATISTICS

Question asked by tonalca6864 on Oct 20, 2015
Latest reply on Oct 20, 2015 by tonalca6864

Hi,

 

I wonder if someone could give me some hints about how to tackle this issue:

 

I have 12 raster layers with values each representing a month (see table below).

 

I need to create in Python a new raster that gives me the number of the month with the highest values for a particular cell.

 

That is, if for example a cell has the value "32" and that is the highest of all the 12 cells representing the 12 months, then the output raster for that cell would have the value "9" because that is the month holding that highest value.

 

My guess is to combine dictionary and cell statistics but not quite sure how.

 

Hope it makes sense and thanks in advance

 

Tony

 

Capture.JPG

Outcomes