I am trying to run an IDW on some precipitation points, but when I try to clip the IDW raster to a polygon boundary, it keeps restarting the IDLE shell. This happens when I run it in the shell, and as a complete script. Here is the code:
import arcpy from arcpy import env env.workspace = "C:\\someWorkspace" env.overwriteOutput = True arcpy.CheckOutExtension("3d") #Declare local variable, the points to be interpolated points = "PrecipKansas2014" #Making the points to be interpolated a feature layer, for processing in IDLE arcpy.MakeFeatureLayer_management(points, "points_lyr") #IDW arcpy.Idw_3d("points_lyr", "RASTERVALU", "precipNew") #Clip IDW raster to the polygon state boundary arcpy.Clip_management("precipNew", "KansasBoundary", "idwClip") This is as far as I get, as the whole program restarts. The next step would be to arcpy.ExtractByMask() to get data from a specified region, but that will come later.
Using ArcGIS version 10.7.1, no patches applied.