I am working with arcswat and while loading my soil map and selecting an attribute field, I got 2 syntax errors.
Syntax error near symbol ,
Syntax error in parsing grid expression
How to rectify these syntax errors?
your code would help since it appears your syntax is incorrect
You were right. Took me 3 hours to find a missing parentheses. Thank you.
Your python IDE should have tools to check for syntax errors.
Spyder and many others IDE's use pylint (amongst others) to provide checks on logic improvement, style changes and downright blatant mistakes in code.
You should add code checking to your workflow... 3 hours is way too long to find a missing parenthesis that should have been highlighted inline in your IDE