mattiasvo

change multiple rasters with one Con statement

Discussion created by mattiasvo on Jan 2, 2012
Latest reply on Jan 2, 2012 by mattiasvo
Hi everyone!

Does anyone know if it is possible to change several rasters with one Con statement?
I am currently doing something like this:
x = Con(statement, x*2)
y = Con(statement, y*3)

But since I work on very large rasters I guess it would be more efficient if I could do something like this:

x,y = Con(statement,x*2 & y*3)

Is this possible?

Kind Regards,
Mattias

Outcomes