Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Sentinel-2 120 m Mosaic - NDVI

//VERSION=3
let ndvi = (B08 - B04) / (B08 + B04);

return colorBlend(ndvi,
   [-0.2, 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0 ],
   [[0, 0, 0,dataMask],							   //  < -.2 = #000000 (black)
    [165/255,0,38/255,dataMask],        //  -> 0 = #a50026
    [215/255,48/255,39/255,dataMask],   //  -> .1 = #d73027
    [244/255,109/255,67/255,dataMask],  //  -> .2 = #f46d43
    [253/255,174/255,97/255,dataMask],  //  -> .3 = #fdae61
    [254/255,224/255,139/255,dataMask], //  -> .4 = #fee08b
    [255/255,255/255,191/255,dataMask], //  -> .5 = #ffffbf
    [217/255,239/255,139/255,dataMask], //  -> .6 = #d9ef8b
    [166/255,217/255,106/255,dataMask], //  -> .7 = #a6d96a
    [102/255,189/255,99/255,dataMask],  //  -> .8 = #66bd63
    [26/255,152/255,80/255,dataMask],   //  -> .9 = #1a9850
    [0,104/255,55/255,dataMask]         //  -> 1.0 = #006837
   ]);

Collection Access

Sentinel-2 L2A 120 m mosaic is a public data collection, that is not part of open EO data. It is not included in EO Browser. To access it, you need a Sentinel Hub account, and then either create a process request to the collection or to create a configuration based on the preprepared template, which will allow you to view it in EO Browser and make OGC requests to it. The collection ID is 484d8dbb-9e3e-41f2-b96b-35189d3ae37f, and the collection type is byoc-484d8dbb-9e3e-41f2-b96b-35189d3ae37f.

General description

The well known and widely used NDVI is a simple, but effective index for quantifying green vegetation. It normalizes green leaf scattering in Near Infra-red wavelengths with chlorophyll absorption in red wavelengths.

The value range of the NDVI is -1 to 1. Negative values of NDVI (values approaching -1) correspond to water. Values close to zero (-0.1 to 0.1) generally correspond to barren areas of rock, sand, or snow. Low, positive values represent shrub and grassland (approximately 0.2 to 0.4), while high values indicate temperate and tropical rainforests (values approaching 1). It is a good proxy for live green vegetation; see [1] for details.

The normalized difference vegetation index, abbreviated NDVI, is calculated using near infrared and red wavelengths.

NDVI = (NIR - RED) / (NIR + RED)

For Sentinel-2, the NDVI is calculated using NIR band 5 and red band 4:

NDVI = (B08 - B04) / (B08 + B04)

See also this page.

Description of representative images

NDVI of northern Africa and Europe, 27.12.2019.

120 m mosaic NDVI

NDVI of Japan, 27.12.2019.

120 m mosaic NDVI

NDVI of Ganges delta in Bangladesh, 27.12.2019.

120 m mosaic NDVI