GNDVI

Resumen

Calculates the Green Normalized Difference Vegetation Index (GNDVI) from a multiband raster object and returns a raster object with the index values.

Debate

El método Índice de vegetación de diferencia normalizada verde (GNDVI, por sus siglas en inglés) es un índice de vegetación que se emplea para realizar estimaciones de la actividad fotosintética y es un índice de vegetación empleado comúnmente para determinar el consumo de agua y nitrógeno de la cubierta vegetal.

GNDVI = (NIR - Green)/(NIR + Green)

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.

Sintaxis

GNDVI (raster, {nir_band_id}, {green_band_id})
ParámetroExplicaciónTipo de datos
raster

The input raster.

Raster
nir_band_id

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

(El valor predeterminado es 5)

Integer
green_band_id

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

(El valor predeterminado es 2)

Integer
Valor de retorno
Tipo de datosExplicación
Raster

The output raster object with the GNDVI index values.

Muestra de código

GNDVI example

Calculates the Green Normalized Difference Vegetation Index for a Landsat 8 image.

import arcpy

GNDVI_raster = arcpy.ia.GNDVI("Landsat8.tif", 5, 3)