i have an issue with the python code i took from the arcgis help im trying to run it but without any succes i modify to the durectory and the rasters i work with but it keeps telling me that i have error 000735 HERE"S THE PYTHON CODE # Name: IsoClusterUnsupervisedClassification_Ex_02.py
# Description: Uses an isodata clustering algorithm to determine the
# characteristics of the natural groupings of cells in multidimensional
# attribute space and stores the results in an output ASCII signature file.
# Requirements: Spatial Analyst Extension
# Author: ESRI
# Import system modules
import arcpy
import sys
from arcpy import env
from arcpy.sa import *
# Set environment settings
env.workspace = "e:\Users\profiles\sjmeel77\Desktop\arcgis_jmeel"
# Set local variables
inRaster = sys.argv[1]
classes = 8
minMembers = 50
sampInterval = 15
# Check out the ArcGIS Spatial Analyst extension license
arcpy.CheckOutExtension("Spatial")
# Execute IsoCluster
outUnsupervised = IsoClusterUnsupervisedClassification(inRaster, classes, minMembers, sampInterval)
outUnsupervised.save("e:\Users\profiles\sjmeel77\Desktop\arcgis_jmeel\iso_clustre.pyoutunsup01.tif")
and heres the error that appears after the process Traceback (most recent call last):
File "e:\Users\profiles\sjmeel77\Desktop\arcgis_jmeel\iso_clustre.py", line 29, in <module>
outUnsupervised = IsoClusterUnsupervisedClassification(inRaster, classes, minMembers, sampInterval)
File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\sa\Functions.py", line 6607, in IsoClusterUnsupervisedClassification
out_signature_file)
File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\sa\Utils.py", line 47, in swapper
result = wrapper(*args, **kwargs)
File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\sa\Functions.py", line 6600, in wrapper
out_signature_file)
File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\geoprocessing\_base.py", line 474, in <lambda>
return lambda *args: val(*gp_fixargs(args))
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000732: Input raster bands: Dataset 11 does not exist or is not supported
ERROR 000735: Output classified raster: Value is required
Failed to execute (IsoClusterUnsupervisedClassification).
i have reached dead end so plz help me if u can 😞