custom-scripts

A repository of custom scripts that can be used with Sentinel-Hub services.

Normalized Difference Yellowness Index (NDYI), visualisation of blooming in an Amazonian tree species and canola crops

Show script or download it.

Evaluate and visualize

General description of the script

Schizolobium parahyba is a species that is distributed in a large part of the Bolivian and South American Amazon. The flowering of this species is annual and coincides with the arrival of the boreal winter, dry season or time of less precipitation, between the months of May and July. Schizolobium parahyba is deciduous, can reach 40 metres in height, is heliophytic and has a large crown. It develops inflorescences with yellow petalled flowers which can be very prominent at flowering time, so much so that individual trees of the species can be detected in the visible spectrum with remote sensors like Sentinel-2. The flowering season of Schizolobium parahyba is closely associated with climate variations, therefore an alteration of its phenological cycle can be considered as an indicator of climate change [1].

The index (NDYI) was originally developed and applied to detect the flowering of canola crops as an alternative to the traditional indices used to measure the productivity of these crops, taking advantage of the high reflectivity in the blue and green bands of the yellow petals of their flowers [2]. This index was also used for mapping and tracing the changes in canola planting areas and yields in China from MODIS medium resolution sensor data [3].

To execute this script, Sentinel-2 L1C (Top-of-atmosphere reflectances) satellite images were used to find the ratio between blue and green band reflectances by means of the normalized difference yellowness index (NDYI), in order to discriminate and visualize more easily the flowering of individuals and populations of Schizolobium parahyba and canola crops and to relate their phenological cycles to climate change.

Applicability of the script

This script was applied for the discrimination and visualisation of the flowering of the species Schizolobium parahyba in the region of the Noel Kempff Mercado National Park in the department of Santa Cruz, Bolivia, and was also used in large canola crops regions during the flowering season in Canada and China. There is also the possibility of applying this script to the visualisation and discrimination of the flowering of other plant species in natural environments, as well as in other canola growing regions around the world.

False detection problems and limitations

How the script works

The script uses the Sentinel-2 blue and green bands (B02 and B03) as input data to calculate the normalised difference yellowness index (NDYI) with formula NDYI = ((B03 - B02) / (B03 + B02)). To discriminate and visualise the objects of interest, it was necessary to adjust the conditional NDVI value, empirically NDYI < 0.02 - 0.08 for in bloom trees, while for flowering canola crops NDYI < 0.08 - 0.13 showed to be adequate.

Description of representative images

Example 1

In the example below, the upper image shows the true colour composition of Huanchaca plateau and evergreen forest, in the Noel Kempff Mercado National Park, located in the northeast of the department of Santa Cruz, Bolivia. The trees in bloom are most likely of the species Schizolobium parahyba. The bottom image shows the result of the application of the script in solid yellow, highlighting the crowns of the individual trees. Image acquired on June 16, 2022.

NDYI1

Example 2

The upper image of the below example shows a true colour composite of an area near El Porvenir in the Velasco Province of the department of Santa Cruz, Bolivia. It shows populations of Schizolobium parahyba in bloom (locally known as Serebo). The bottom image shows the result of the application of the script in solid yellow. Image acquired on June 16, 2022.

NDYI2

Example 3

On the example below, the left image shows a true colour composite of an area in Haibei prefecture, one of the largest canola-producing regions in northern China [3]. The right image shows the classification of flowering canola crops, presented in solid yellow. Image acqired on September 12, 2017.

NDYI3

Example 4

On this example, the top image shows a true colour composite of an agricultural area in the province of Alberta, Canada. The bottom image shows the classification of flowering canola crops, presented in solid yellow. Image acquired on June 29, 2021

NDYI4

Author of the script

Credits

The formula for finding the normalized difference yellowness index (NDYI) was taken from the reference [2].

References