I am using three cons with raster calculator to give four different results depending on the values within two rasters, aclip20151111 and sclip20151111. There are four results I want; RESULTA, RESULTB, RESULTC AND RESULTZ, RESULTZ being the result for when none of the three conditions are met. My code is below:
CON(((0 <= "aclip20151111" <= 45 | “aclip20151111” > 315)&(“sclip20151111” <
3)),RESULTA,CON(((45 < "aclip20151111" <= 135 | 225 < “aclip20151111” >= 315)
&(“sclip20151111” < 10)),RESULTB,CON(((135 <= "aclip20151111" <= 225)&(“sclip20151111” < 15)
),RESULTC,RESULTZ)))
I am getting the error "ERROR 000989 Python syntax error: Parsing error SyntaxError: invalid syntax (line 1)".
What is the error in my input to raster calculator? I am using raster calculator as a tool in Arcmap.