Summary
Calculates the Red-Edge Simple Ratio (SRre) from a multiband raster object and returns a raster object with the index values.
Discussion
The Red-Edge Simple Ratio (SRre) is a vegetation index for estimating the amount of healthy and stressed vegetation. It is the ratio of light scattered in the NIR and red-edge bands, which reduces the effects of atmosphere and topography.
SRre = NIR / RedEdge
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
SRre (raster, {nir_band_id}, {redEdge_band_id})
Parameter | Explanation | Data Type |
raster | The input raster. | Raster |
nir_band_id | The band ID of the near-infrared band. The ID index uses one-based indexing. (The default value is 7) | Integer |
redEdge_band_id | The band ID of the red-edge band. The band ID index uses one-based indexing. (The default value is 6) | Integer |
Data Type | Explanation |
Raster | The output raster with SRre values. |
Code sample
Calculates the Red-Edge Simple Ratio for a Sentinel-2 image.
import arcpy
SRre_raster = arcpy.sa.SRre("Sentinel2.tif",8,6)