I'm attempting to create a habitat suitability map using the following formula:

(ratser1 * raster2 * raster3 * raster4 * raster5 * raster6 * raster7 * raster8 * raster9 *raster10 * raster11 * raster12)^(1/12)

Raster calculator wouldn't allow decimals, so all raster cell values are between 0 and 100. First, I multiplied the rasters together and the product had a range of cell values. However, when I attempted to raise the cells to the 1/12th, the product had only 0s or 1s. I tried putting "float" before the formula, but that only resulted in a stretched scale bar and an img with values of only 0 or 1.

Does anyone know a way to get around the no decimal rule? Or perhaps I'm doing something else wrong?

Thanks,

nmc

(ratser1 * raster2 * raster3 * raster4 * raster5 * raster6 * raster7 * raster8 * raster9 *raster10 * raster11 * raster12)^(1/12)

Raster calculator wouldn't allow decimals, so all raster cell values are between 0 and 100. First, I multiplied the rasters together and the product had a range of cell values. However, when I attempted to raise the cells to the 1/12th, the product had only 0s or 1s. I tried putting "float" before the formula, but that only resulted in a stretched scale bar and an img with values of only 0 or 1.

Does anyone know a way to get around the no decimal rule? Or perhaps I'm doing something else wrong?

Thanks,

nmc

.... ^(1.0/12.0)

you may have been are experiencing integer division since you were dividing 1 by 12