I'm trying to save a raster after calculation in numpy array. Here is what I wrote:
rasterSM = arcpy.NumPyArrayToRaster(SM, lowerLeft, cellSize, value_to_nodata=nodata)rasterSM2 = arcpy.DefineProjection_management(rasterSM, spatial_ref)rasterSM2.save(SMOutputName)But the error message says that 'Result' object has no attribute 'save', then out to save a raster from Numpy array?
أكثر...
rasterSM = arcpy.NumPyArrayToRaster(SM, lowerLeft, cellSize, value_to_nodata=nodata)rasterSM2 = arcpy.DefineProjection_management(rasterSM, spatial_ref)rasterSM2.save(SMOutputName)But the error message says that 'Result' object has no attribute 'save', then out to save a raster from Numpy array?
أكثر...