RTVICore

摘要

计算多波段栅格对象的红边三角植被指数 (RTVICore),并返回具有该指数值的栅格对象。

说明

红边三角植被指数 (RTVICore) 方法是用于评估叶面积指数和生物量的植被指数。 该指数使用近红外、红边以及绿光光谱波段中的反射率。

RTVICore = (100*(NIR - RedEdge) - 10*(NIR - Green))

有关其他多波段栅格索引的信息,请参见波段算术栅格函数。

栅格对象所引用的栅格数据集是临时性的。 要将其设置为永久,可以调用栅格对象的 save 方法。

语法

RTVICore (raster, {nir_band_id}, {redEdge_band_id}, {green_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.

(默认值为 7)

Integer
redEdge_band_id

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

(默认值为 6)

Integer
green_band_id

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

(默认值为 3)

Integer
返回值
数据类型说明
Raster

具有 RTVICore 指数值的输出栅格对象。

代码示例

RTVICore 示例

计算 Sentinel-2 影像的红边三角植被指数。

import arcpy

RTVICore_raster = arcpy.ia.RTVICore("Sentinel2.tif",8,5,3)