SAVI

Summary

Calculates the Soil Adjusted Vegetation Index (SAVI) from a multiband raster object and returns a raster object with the index values.

Discussion

The Soil-Adjusted Vegetation Index (SAVI) method is a vegetation index that attempts to minimize soil brightness influences using a soil-brightness correction factor. This is often used in arid regions where vegetative cover is low, and it outputs values between -1.0 and 1.0.

SAVI = ((NIR - Red)/(NIR + Red + L)) * (1 + L)

  • L—The amount of green vegetation cover. For example, 0.5.

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

SAVI (raster, {nir_band_id}, {red_band_id}, {l})
ParameterExplanationData Type
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
red_band_id

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

(The default value is 6)

Integer
l

The amount of green vegetative cover.

(The default value is 0.33)

Double
Return Value
Data TypeExplanation
Raster

The output raster with SAVI index values.

Code sample

SAVI example

Calculates the Soil Adjusted Vegetation Index for a Landsat 8 image.

import arcpy

SAVI_raster = arcpy.sa.SAVI("Landsat8.tif",5,4,0.5)

Related topics