Trying to make a raster output based on a comparison between 2 input rasters. What is

المشرف العام

Administrator
طاقم الإدارة
I have 2 input rasters of rainfall for summer/winter and I want to make a 3rd output based on which one has the max value for that cell. So if the max value at the cell is summer it will assign 1, or winter 2 for the new output raster. That way I will have a raster showing which season has the max amount of rainfall across the different areas of the region.

For example if,

Summer(1) was,

200 300

300 350

and Winter(2) was,

300 350

350 200

The output would be,

2 2

2 1

I understand that the logic should be: If max = summer output = 1else max = winter output = 2

But I am unsure how to actually translate this into something like raster calculators conditional statements.

I am currently using ArcMap 10.2

Thanks.



أكثر...
 
أعلى