Skip to main content

SRre

サマリー

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

ディスカッション

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.

構文

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

パラメーター 説明 データ タイプ

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

戻り値

データ タイプ 説明

Raster

The output raster with SRre values.

コードのサンプル

SRre example

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

import arcpy

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