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

La méthode SRre (Red-Edge Simple Ratio, Ratio simple Red Edge) est un indice de végétation qui permet d’estimer l’étendue de la végétation saine et stressée. Il s’agit du ratio de luminosité dispersée dans les canaux NIR et Red Edge, qui réduit les effets de l’atmosphère et de la topographie.

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.

Syntaxe

SRre (raster, {nir_band_id}, {redEdge_band_id})
ParamètreExplicationType 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.

(La valeur par défaut est 7)

Integer
redEdge_band_id

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

(La valeur par défaut est 6)

Integer
Valeur renvoyée
Type de donnéesExplication
Raster

The output raster with SRre values.

Exemple de code

SRre example

Calculates the Red-Edge Simple Ratio for a Sentinel-2 image.

import arcpy

SRre_raster = arcpy.sa.SRre("Sentinel2.tif",8,6)

Rubriques connexes