I'm using the field calculator to reclassify a raster table. My goal is to reclassify all negative values to zero, and keep all other original values. See attached photo.
I'm running the following block of code:
def Reclass(corrected_value):
if Value <= 0:
return 0
elif Value >= 1:
return Value
followed by:
Reclass( !corrected_value!)
Executing the code returns no errors, but values remain as NULL after processing. What gives?