AnsweredAssumed Answered

Adding two conditional statement for raster value replacing using ArcPy?

Question asked by india123 on Oct 1, 2016
Latest reply on Oct 1, 2016 by india123

I am trying to add two conditional function (whatever value of raster fall between 0 and 1 range remain same other value replace by 0), so far i have i can put single condition only but i am trying to execute two function. . Below is my conditional statement script line.

outRaster = Con(localRaster <0.0, 0, localRaster)

Above code only can replace whatever raster value below 0 will replace by 0, but how to add this condition > 0.0 and < 1 remain same and other value replace by 0.

Outcomes