SRre
Résumé
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) method 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 \space = \space NIR \space / \space 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.
Syntaxe
SRre(raster, {nir_band_id}, {redEdge_band_id})
| Le paramètre | Explication | Type de données |
|---|---|---|
|
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 |
Valeur de retour
| Type de données | Explication |
|---|---|
|
Raster |
The output raster with SRre values. |
Exemple de code
Calculates the Red-Edge Simple Ratio for a Sentinel-2 image.
import arcpy
SRre_raster = arcpy.ia.SRre("Sentinel2.tif",8,6)