Cyndy

Help!!  Cannot programmatically get negative values into a raster

Discussion created by Cyndy on Jun 13, 2013
I am trying everything to get a simple task to work to no avail.  I am trying to do a simple conditional statement where if a raster is null, input the value of another raster; if it is not null, input that other raster * -1.  IT does not work; I get no negative values.  I Know beyond any doubt there are null values in the conditional input raster.  I tried to make a negative valued raster with 'negate' and use that as the 'false' of my conditional statement, and THAT doesn't work!  The rasters in question are 32 bit floating point!!   What on Earth gives here?  I am trying to do this in python using the Con statement.  Help?

Outcomes