AnsweredAssumed Answered

Python in field calculator

Question asked by millerjess on Apr 17, 2015
Latest reply on Apr 24, 2015 by blake.terhune

I have two fields: landuse classification numbers (1-5) and soil rating numbers (1-4). The values of the third field, CN values, depend on what numbers the other other two fields are. For example, if the landuse number is 1 and the soil rating number is 3, the CN value should be 70. I'm attempting to do this via python if-then statement in the field calculator but keep running in problems with it. The most common error message is that it has invalid parameters. Here is what I am trying. I'm completely new to python and would appreciate any help!!

 

 

 

 

Outcomes