I want to use resampling methods in ArcMap to alter the resolution of my raster data. I was able to test and use the resample tool in the toolbox in the ArcMap (I am using 10.5), but when I use "resampled = Resample_management (blockStat, out_raster, "2.5 2", "NEAREST")" in my python window, the error message shows up and says
Traceback (most recent call last):
File "<string>", line 34, in <module>
NameError: name 'Resample_management' is not defined
It seems like the resample methods is not a defined function in the arcpy module. I googled and see no post discussing a similar problem. Could it be that I need to update my ArcMap version?
Solved! Go to Solution.