I've derived a raster of slopes from a 10 m DEM resampled to 15 m for an area of approximately 20,000 mi^2. I want to use Python to reclassify those slopes into categories according to range, but whenever I run the code (and I have tried on 3 different machines) I get the following error:
"ExecuteError: ERROR 010005: Unable to allocate memory. Failed to execute (Reclassify)."
My understanding based on this description (http://pro.arcgis.com/en/pro-app/tool-reference/tool-errors-and-warnings/010001-020000/tool-errors-and-warnings-10001-10025-010005.htm) is that the machine I'm working on does not have enough system memory. However, considering that the area is not very large and I have tried it on multiple machines, this doesn't make sense to me. Working on a 16 GB machine with 15.9 GB available. Am I missing something/does anyone have suggestions for why my code is not working? The code is listed below
import os import sys import arcpy arcpy.env.workspace = "D:\\SanDiskSecureAccess\\ProgrammingProject\\mudslideanalysisdata.gdb" slope = "Slope_DEM_ma1" arcpy.env.mask = "DEM_mask" arcpy.env.cellSize = 15 slopeRemapRange= RemapRange([[0, 4.5, 1], [4.5, 9, 2], [9, 15, 3], [15, 25, 4], [25, 35, 5], [35, 80.816727, 6]]) outReclassSlope = Reclassify(slope, "VALUE", slopeRemapRange) outReclassSlope.save("SlopeReclass")