Can you use raster calculator outside of ModelBuilder?

Can you use raster calculator outside of ModelBuilder?

The rasters derived from the previous step are fine. When using raster calculator outside modelbuilder to do that last step, all works fine. I am a bit at a loss here. Definitely need to rename your model elements so they don’t have percent signs in the element name.

Can you use a raster calculator in ArcPy?

Builds and executes a single Map Algebra expression using Python syntax in a calculator-like interface. The Raster Calculator tool is intended for use in the application only as a GP tool dialog box or in ModelBuilder. It is not intended for use in scripting and is not available in the ArcPy Spatial Analyst module.

What are the operators in raster calculator in Python?

Numbers and scalars can be directly entered into an expression. The operators in the Raster Calculator tool dialog box are: Multiple geoprocessing tools and operations can be combined in a map algebra expression using standard Python syntax. When typing tool names, be sure to check the tool name syntax.

How to use a dotted line in a raster calculator?

A dotted line means the output is acting as a precondition to the tool. So in your model f%value%_D must exist (thus the Euclidean Distance tool ran without error) before the Raster calculator can execute. Your Raster calculator expression is Ln (“%f%value%_D%” + 1).

How to calculate the log of a raster?

One of the final steps is to calculate the log of one of the rasters using Raster calculator. Unfortunately, I get the error at that last final step: ERROR 000539: Error running expression: rcexec () Traceback (most recent call last): File “”, line 1, in File “”, line 5, in rcexec TypeError: cannot concatenate ‘str’ and ‘int’ objects

How to use raster calculator in ArcGIS 10?

Note, the value of the element can have percent signs in it, but the element name/label cannot have percent signs. A dotted line means the output is acting as a precondition to the tool. So in your model f%value%_D must exist (thus the Euclidean Distance tool ran without error) before the Raster calculator can execute.