What about going from text to float?
I am trying to do reclass based on a text value to calcualte a buffer distance....
def Reclass(!DRILLTYPE!)
if DRILLTYPE = U
return 1177.5
elif DRILLTYPE = V
return 744.9
elif DRILLTYPE = D
return 744.9
elif DRILLTYPE = H
return 1053.4
This is what i put into the codeblock but it keeps giving me the parse syntax error mentioned above. Do I need to reclass the tex into numbers first?
Thanks!
Dan