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
    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
    Mar 17 '16 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
    Mar 17 '16 at 22:58

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, privacy policy and cookie policy

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