geowombat.evi2(data, nodata=None, mask=False, sensor=None, scale_factor=None)#

Calculates the two-band modified enhanced vegetation index

  • 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 the xarray.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 the xarray.DataArray attributes.


\[EVI2 = 2.5 \times \frac{NIR - red}{NIR + 1 + 2.4 \times red}\]

See [JHDM08]


Data range: 0 to 1

Return type:



Gustau Camps-Valls, Manuel Campos-Taberner, Álvaro Moreno-Martínez, Sophia Walther, Grégory Duveiller, Alessandro Cescatti, Miguel D Mahecha, Jordi Muñoz-Marí, Francisco Javier García-Haro, Luis Guanter, and others. A unified vegetation index for quantifying the terrestrial biosphere. Science Advances, 7(9):eabc7447, 2021.


Zhangyan Jiang, Alfredo R Huete, Kamel Didan, and Tomoaki Miura. Development of a two-band enhanced vegetation index without a blue band. Remote sensing of Environment, 112(10):3833–3845, 2008.


Eric A Lehmann, Jeremy F Wallace, Peter A Caccetta, Suzanne L Furby, and Katherine Zdunic. Forest cover trends from time series Landsat data for the Australian continent. International Journal of Applied Earth Observation and Geoinformation, 21:453–462, 2013.