Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a simple model that iterates through folders to collect imagery, mosaics them and clips the mosaic to a study area boundary. I need to produce an NDVI from the clipped 4-band mosaic "sa11_4band.tif" by incorporating the raster calculator into the model. The problem I am encountering is that the individual bands do not appear in the raster calculator when I incorporate the raster calculator tool. How should I separate the raster bands from "sa11_4band.tif" in order to perform the necessary calculation in the raster calculator?:

Float("sa11_4band.tif - Band_4"-"sa11_4band.tif - Band_3")/Float("sa11_4band.tif - Band_4" + "sa11_4band.tif - Band_3") 

enter image description here

share|improve this question
up vote 4 down vote accepted

Typically with most ArcGIS raster tools if you need to access an individual band you refer to it as an extension to the file name.

For example: c:\path\to\my\raster.tif\band1

I haven't had to use this since 9.3, but it definitely worked in the calculator then. I never used it in a model, but it should work the same since the model is just calling the calculator tool.

share|improve this answer
Would this apply given that the 4-band mosaic has not been created until right before the raster calculator is called in the model? – Aaron Jan 15 '13 at 16:06
I'm not sure. I would think so as long as the file is not in memory. – Brian Jan 15 '13 at 16:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.