1

In Raster Calculator using:

(FocalSt_meanDEMtif5-FocalSt_minDEMtif1) / (FocalSt_maxDEMtif2-FocalSt_minDEMtif1)

What is the meaning of

ERROR 000539: Error running expression: rcexec() : No module named os

2
  • 2
    I believe @PolyGeo has provided the correct answer. It's worth noting that when you arrive at an error message such as this, the answer can often be found by simply searching "arcgis error 000539" in your fave search engine.
    – Adam
    Commented Mar 17, 2016 at 22:38
  • There are a number of previous occurrences reported on this site: gis.stackexchange.com/… Were you trying to use the Raster Calculator in Python?
    – PolyGeo
    Commented Mar 17, 2016 at 22:58

1 Answer 1

2

This error is discussed in an Esri Technical Article entitled Error: ERROR 000539: Error running expression: rcexec() which says:

This error is due to Raster Calculator not being exposed to Python as a tool. Currently, Raster Calculator is only exposed as a geoprocessing tool in ArcGIS or in ModelBuilder. However, there are a number of different ways to use Raster Calculator functions in Python.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.