AnsweredAssumed Answered

Trouble with Extract By Mask

Question asked by nikfal on Nov 1, 2017
Latest reply on Nov 1, 2017 by nikfal

Hi,

I can clip a raster using  "Extract By Mask" in python window of ArcGIS as follow:

    a=arcpy.sa.ExtractByMask("out_raster1","StudyArea")

However, when I use the same code out of ArcGIS (i.e. PyCharm), I get this error:

      rcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
      ERROR 000824: The tool is not licensed.
      Failed to execute (ExtractByMask).

 

What is wrong?

Outcomes