evi#
- geowombat.evi(data, nodata=None, mask=False, sensor=None, scale_factor=None)#
Calculates the enhanced vegetation index
- Parameters:
data (DataArray) – The
xarray.DataArray
to process.nodata (Optional[int or float]) – A ‘no data’ value to fill NAs with. If
None
, the ‘no data’ value is taken from thexarray.DataArray
attributes.mask (Optional[bool]) – Whether to mask the results.
sensor (Optional[str]) – The data’s sensor. If
None
, the band names should reflect the index being calculated.scale_factor (Optional[float]) – A scale factor to apply to the data. If
None
, the scale value is taken from thexarray.DataArray
attributes.
Equation:
\[EVI = 2.5 \times \frac{NIR - red}{NIR + 6 \times red - 7.5 \times blue + 1}\]- Returns:
Data range: 0 to 1
- Return type:
xarray.DataArray