I am trying to combine three conditions into one con statement line:
ndvi_adjusted = Raster(ndvi_raw) * 0.004 - 0.08 con1 = Con(Raster(ndvi_adjusted) >= 0, ndvi_adjusted) con2 = Con(IsNull(con1), 0, con1)
I am quite confused with the where clause input and map algebra expressions in Con. I tried some ways to aggregate the three lines into one but did not work out. How can Con statement be properly aggregated?