I created a list of raster using ListRaster. However, composite band tool does not support list input. I want aggregate the list of raster into one raster, is there any other tool to do it in ArcGIS(arcpy)?
I tried this code and it worked.
import arcpy arcpy.env.workspace = r'C:\GIS\MyRasterFolder' #My directory of rasters rastList = arcpy.ListRasters() myNewRast = arcpy.CompositeBands_management(rastList, r'C:\GIS\rasterCombined.tif')
(If this doesn't work for you, if you could post the code you're trying to run and the error message you're receiving, that will help refine things.)