Hello, everyone !
I have a list of rasters ('intlist') and for each of them I want to execute succesive commands ('Minus' and 'Con') within a for loop trying to avoid the middle results load and keep only the output rasters from the last command within the loop. I tried the code below but it doesn't return right results, so I would like to ask if there is something that can fix this.
for i in intlist:
enVr = Minus(i, 260)
outCon = Con(enVr, enVr, 0, "Value >= 0")
name = "C:/MSc_thesis/int/" + "en{}".format(i)
outCon.save(name)
Thank you.