Is This Content Helpful?
We're glad to know this article was helpful.
The instructions provided describe how to add individual raster bands from a multiband raster to the Extract Multi Values to Points geoprocessing tool using Python.
This article can be used as a workaround for the bug #NIM085128 - The Extract Multi Values to Points tool reports only the first band and repeats the value for subsequent bands at 10.1, when the input is a multiband raster.
Below is a code sample to add individual raster bands from a multiband raster to the Extract Multi Values to Points geoprocessing tool. This is a standalone script that can be run outside of ArcMap.
import arcpy, os
from arcpy.sa import *
# Check out the ArcGIS Spatial Analyst extension license
multibandRaster = r'C:\arcgis\ArcTutor\Raster\Data\Amberg_tif\090160.tif'
desc = arcpy.Describe(multibandRaster)
bands = desc.bandCount
inPointFeatures = r"C:\arcgis\ArcTutor\Raster\Data\points.shp"
in_rasters = 
for band in desc.children:
bandName = band.name
#append each band to the in_rasters list
# Execute ExtractValuesToPoints