I've created the following field calculation that I'd like to convert to a python script tool:
def blocklow(a, b, c, d): mylist = [a, b, c, d] # create list from input range variables if mylist == [0, 0, 0, 0]: m = 0 else: m = min(i for i in mylist if i > 0) # find minimum value...