Model runs in ModelBuilder but get Error when Run Directly from Toolbox

Discussion created by nbanerjee on Sep 23, 2016
Latest reply on Sep 23, 2016 by cdspatial

I have a model processes some raster datasets.  It runs fine if I run it within the ModelBuilder environment, but I get syntax errors if I run it directly from a toolbox.  The model has several raster calculator processes with somewhat complex map algebra statements with inline variable substitution. Seems like some python interpretor issue in raster calculator that is handled differently between ModelBuilding and direct toolbox


Attached are the model and the error.  In the error screenshot, you can see the expression Im trying to use.


Any insight or suggestions would be greatly appreciated!