Hello,
I have been working the following expression in the raster calculator:
(Con(("%Prob_horz%" > 0) & ("%Prob_horz%" <= 75), .25, Con("%Prob_horz%" == 95, .20, 0))) / Float(Lookup("%Prob_horz%", "Count"))
What I'm trying to do is to assign different probabilities to cells in a ring buffer raster that I have. However this expression fails to include cells that are outside of the ring buffer. I created a new expression which I provide below.
(Con(("%raster1%"> 0) & ("%raster1%" <= 75), .25, Con("%raster1%" == 95, .20), Con("%raster1%" > 95,.05))) / Float(Lookup("%raster1%", "Count"))
With this one I am trying to give the cells that are outside of the ring buffers a probability of .05. However when I add my last Con statement I get an error that I cannot seem to fix. I have attached an image of my error. Could anyone please help me solve this. I need to finish this project by the end of the day.
Thank you
[ATTACH=CONFIG]15968[/ATTACH]