Skip to main content

SRre

Zusammenfassung

Calculates the Red-Edge Simple Ratio (SRre) from a multiband raster object and returns a raster object with the index values.

Diskussion

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.

Syntax

SRre(raster, {nir_band_id}, {redEdge_band_id})

Parameter Erläuterung Datentyp

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

Rückgabewert

Datentyp Erläuterung

Raster

The output raster with SRre values.

Codebeispiel

SRre example

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

import arcpy

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