spectral_savi
Calculate Soil Adjusted Vegetation Index (SAVI) from NIR and Red bands to correct for soil background, ideal for arid and semi-arid environments.
Instructions
Calculate Soil Adjusted Vegetation Index (SAVI) from NIR and Red band reflectance values. SAVI = ((NIR - Red) / (NIR + Red + L)) * (1 + L), where L is the soil brightness correction factor. Default L = 0.5 is suitable for intermediate vegetation cover. L = 0 reduces SAVI to NDVI; L = 1 is for very low vegetation cover. Used in arid/semi-arid regions where soil background significantly affects NDVI.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"nir": "<nir>",
"red": "<red>"
},
"name": "spectral_savi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| l | No | Soil brightness correction factor L (0–1). Default 0.5 for intermediate vegetation. Use 0 for dense vegetation (equivalent to NDVI), 1 for very sparse vegetation. | |
| nir | Yes | NIR band reflectance value (0–1). Near-Infrared band, typically Sentinel-2 Band 8 or Landsat Band 5. | |
| red | Yes | Red band reflectance value (0–1). Red visible band, typically Sentinel-2 Band 4 or Landsat Band 4. |