Thank you for responding.the 3rd value in the Remap is the range so [0,11,1] means for all values 0 to 11 reclass as 1. It seems to be the correct way for a range?I have tried to rerun with your changes but my problem seems to occur in the output path section. I have tried something new but it is still not working. It appears to process one of the files and outputs 3 files including: .img.img.vat.dbf .img.vat.dbf------.sr.lock???Just need help with how to output each reclassified *.img into a different folder.thanks
import arcpy
from arcpy import env
from arcpy.sa import *
arcpy.CheckOutExtension("Spatial")
import os
inputfolder="D:/reclass/reclassinputs"
env.workspace = inputfolder
outputfolder="D:/reclass/reclassoutputs"
reclassfield = "Value"
remap=RemapValue([[0,11,1],
[12,24,2],
[25,49,3],
[50,74,4],
[75,99,5],
[100,350,6]])
for raster in arcpy.ListRasters("","IMG"):
print raster
inputpath=os.path.join(inputfolder,raster)
outputpath=os.path.join(outputfolder,raster)
outReclassify=Reclassify(inputpath, reclassfield, remap, "NODATA")
outReclassify.save(outputpath)
print "end of processing"