Vegetation and Land Monitoring with Cloud Mask

// Sentinel-3 OLCI - Vegetation monitoring
//by TIZNEGAR startup co
//www.tiznegar.com

//Vegetation monitoring index for OLCI Sentinel 3 OLCI(VMI3)

var VMI3 = (B17 - B08) / (B17 + B08);

//Cloud mask

var NGDR = index(B04, B06);
var CM  = (B04 - 0.2) / (0.5 - 0.2);
if (CM > 0.8) { 
    return [10 * B03, 10 * B02, 10 * B01 ];
}

if (CM > 0 && NGDR>.15) { 
    return [10 * B03  , 10 * B02, 10 * B01];
}


//You can see only the changes in the vegetation you want by changing the interval below


if (VMI3 > [ -1 ] && VMI3< [ 1 ]) { 
    return colorBlend   
    (VMI3,	            
        [ -.8, -.1, -.02, 0, 0.01, .06, .1, .2, .3, .4, .5, .6, .7, .8, .9], 
        [     
            [0, .2, .5],
            [0, .6, .8],
            [.8, .8, .8],
            [.9, .9, .9],
            [1, 1, 1],
            [.5,.3,.2],
            [.63,.32,.18],
            [1,.45,.05],
            [.9, 1, 0],
            [0, .8,0],
            [0, .5, 0],
            [0, .4, 0],
            [0, .3, 0],
            [0, .2, 0],
            [0, .1, 0],

      ]);
}
else {
 return [2.5*B08,2.5*B06,2.5*B04]
}

Evaluate and Visualize

Author of the script

By TIZNEGAR Startup Co, www.tiznegar.com

General description

Vegetation monitoring index for Sentinel 3 OLCI (VMI3) has the same functionality as NDVI, using NIR* and RED wavelengths in a normalized difference index. The script displays the vegetation index with a continuous colour scale and uses cloud mask to display clouds and snow in white. It also provides a preprepared conditional statement for land classification, by only changing the visualized range.

The index is calculated as:

VMI3 = (B17 - B08) / (B17 + B08)

The range of the index is between -1 and 1:

-1 ≤ VMI3 ≤ 1

The index shows a very good separation of vegetation, that can be used to monitor changes in periodic studies. Dense, high growing or good quality vegetation is displayed in bold green colors, while thin, low growing or low quality vegetation is displayed in pale green colors. Gray areas indicate high salinity or a desert, white areas are usually clouds or snow, and blue areas indicate water.

*As the Sentinel-2 NIR equivalent with a central wavelength 832.8 nm is not available for Senitnel-3 OLCI, band 17, with a central wavelength of 865 nm, was used for the NIR part of the equation. Band 17 belongs into narrow near infrared range, similar to B8A in Sentinel-2.

Description of representative images

A1 Show VMI3 index of Iran and show Gilan province and Urmia lake

The range of VMI3 index display can be changed by the user. For example:

  • if (VMI3 > [ 0.4 ] && VMI3< [ 1 ])

A2 In this case, only the areas with the VMI3 index in range of 0.4 to 1 are visualized in a continuous color scale, highlighting Hyrcanian forests in Gilan and agricultural areas around Lake Urmia with green colors. Other areas are returned in true color, with cloud mask in white. Show in EO Browser.

  • if (VMI3 > [ -1 ] && VMI3< [ 0 ])

A3 In this image, only areas with the VMI3 index range of -1 to 0 are visualized in a continuous color scale, displaying water areas in blue colors. The water levels of Lake Urmia and Sefidrud Dam in Gilan province are well visible. Other areas are returned in true color, with cloud mask in white. Show in EO Browser.