IronOxide

Summary

Calculates the Iron Oxide (IO) ratio from a multiband raster object and returns a raster object with the index values.

Discussion

The Iron Oxide (IO) ratio is a geological index for identifying rock features that have experienced oxidation of iron-bearing sulfides using the red and blue bands. IO is useful in identifying iron oxide features below vegetation canopies and is used in mineral composite mapping.

IronOxide = Red / Blue

For information about other multiband raster indexes, see the Band Arithmetic raster function.

The referenced raster dataset for the raster object is temporary. To make it permanent, you can call the raster object's save method.

Syntax

IronOxide (raster, {red_band_id}, {blue_band_id})
ParameterExplanationData Type
raster

The input raster.

Raster
red_band_id

The band ID of the red-edge band. The ID index uses one-based indexing.

(The default value is 4)

Integer
blue_band_id

The band ID of the blue band. The ID index uses one-based indexing.

(The default value is 2)

Integer
Return Value
Data TypeExplanation
Raster

The output raster object with the Iron Oxide ratio values.

Code sample

IronOxide example

Calculates the Iron Oxide ratio for a Sentinel-2 image.

import arcpy

IronOxide_raster = arcpy.ia.IronOxide("Sentinel2.tif", 4, 2)