Trying to extract individual bands from a multiband raster file.

1866
2
Jump to solution
11-25-2013 06:55 AM
ScottBarron
New Contributor III
Hi,
I have a bunch of rasters that contain multiple bands. I only want to use a few of the bands from these rasters, but I'm having a hard time extracting them automatically in Python. The only solution I've read online is to use the composite bands tool, but I don't understand how to set up the syntax to extract a single band from a raster; the tool help just states that it can be done but doesn't really explain how. Any advice?

Thanks,
-Scott
Tags (2)
1 Solution

Accepted Solutions
JakeSkinner
Esri Esteemed Contributor
Hi Scott,

You can use the 'Copy Raster' tool to extract a single band from a raster dataset.  You just need to specify the band after the raster name.  Ex:

C:\DATA\RASTER\TIFF\aerial2013.tif\Band_1

View solution in original post

0 Kudos
2 Replies
JakeSkinner
Esri Esteemed Contributor
Hi Scott,

You can use the 'Copy Raster' tool to extract a single band from a raster dataset.  You just need to specify the band after the raster name.  Ex:

C:\DATA\RASTER\TIFF\aerial2013.tif\Band_1
0 Kudos
ScottBarron
New Contributor III
I never knew that. Thanks!
-Scott
0 Kudos