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

Barren Soil Script

Evaluate and visualize

General description of the script

The bare ground index is the Bare soil index, applied to the red channel. It shows all vegetation in green and the bare ground in red. It could be useful for soil mapping since it informs the user where he can do remote sensing analysis on bare ground, where crops were collected or where crops are not growing, the location of landslides or the extent of erosion in non-vegetated areas. Unfortunately, it also highlights certain buildings, making bare ground areas difficult to separate from dwellings. It should be noted, that the result depends on season vegetation and farming.

Author of the script

Monja Sebela

Description of representative images

Barren Soil script applied to Sentinel-2 image south of Ljubljana, Slovenia.

Barren Soil script applied to Sentinel-2 south of Ljubljana, Slovenia

More examples and details are available in the supplementary material.


For the Barren soil script the Barren soil index was used.