Skip to content
A repository of custom scripts to be used with Sentinel Hub
Branch: master
Clone or download
Latest commit 0c2441b Mar 30, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
_layouts Update default.html Oct 12, 2017
example How to publish a new product template. Jan 9, 2018
landsat-8/indexdb Cleanup of links to sentinel-playground. Dec 6, 2017
sentinel-1 minor revision Mar 30, 2019
sentinel-2 Minor revision Mar 24, 2019
sentinel-3 Minor improvement Mar 29, 2019
sentinel-5p/nitrogen_dioxide_tropospheric_column Added information about Sentinel Hub Custom Scripts contest Mar 19, 2019
Sentinel_Hub_Custom_Script_Contest_2019.jpg Banner for Sentinel Hub Custom Scripts Contest Mar 19, 2019
_config.yml Update _config.yml Oct 26, 2017

Collection of custom scripts

Sentinel Hub Custom Script Contest

Sentinel Hub Custom Script Contest

Custom Scripts Repository

This repository contains a collection of custom scripts for Sentinel-Hub, which can be fed to the services via the URL.

Scripts are organised by sensors supported on Sentinel-Hub:

You are invited to publish your own scripts - see howto.


Dedicated to supplying data for Copernicus services, Sentinel-2 carries a multispectral imager with a swath of 290 km. The imager provides a versatile set of 13 spectral bands spanning from the visible and near infrared to the shortwave infrared, featuring four spectral bands at 10 m, six bands at 20 m and three bands at 60 m spatial resolution. As indices primarily deal with combining various band reflectances, the table of 13 bands is given here for reference (see here{:target="_blank"} for details). The names of the Sentinel-2 bands at your disposal are B01, B02, B03, B04, B05, B06, B07, B08, B8A, B09, B10, B11 and B12.

Popular RGB composites

Remote sensing indices

  • False color infrared
  • NDVI - normalized difference vegetation index
  • NDVI uncertainty - visualization of uncertainty of NDVI due to uncertainty in band values
  • collection of remote sensing indices from an extensive Index database (IDB){:target="_blank"}
  • ARI - anthocyanin reflectance index
  • ARVI - atmospherically resistant vegetation index
  • CHL_REDEDGE - chlorophyll red-edge
  • EVI - enhanced vegetation index
  • EVI2 - enhanced vegetation index 2
  • GNDVI - green normalized difference vegetation index
  • MCARI - modified chlorophyll absorption in reflectance index
  • MSI - moisture stress index
  • NBR - normalized burn ratio
  • NDII - normalized difference 819/1600 NDII
  • NDSI - normalised difference snow index
  • NDWI - normalized difference water index
  • PSSRB1 - simple ratio 800/650 pigment specific simple ratio B1
  • SAVI - soil adjusted vegetation index
  • SIPI1 - structure insensitive pigment index

Cloud detection algorithms

Snow detection algorithms


The Landsat program is the longest running enterprise for acquisition of satellite imagery of Earth, running from 1972. The most recent, Landsat 8{:target="_blank"}, was launched on February 11, 2013. Landsat-8 data has 11 spectral bands with spatial resolutions ranging from 15 to 60 meters. The names of the Landsat-8 bands at your disposal are B01, B02, B03, B04, B05, B06, B07, B08, B09, B10 and B11.

Remote sensing indices


The Moderate Resolution Imaging Spectroradiometer (MODIS) MCD43A4 version 6 on Sentinel Hub is hosted at Amazon Web Services (AWS). Dataset is updated daily and provides the 500 meter Nadir Bidirectional reflectance distribution function Adjusted Reflectance (NBAR) data of MODIS "land" bands 1-7: B01, B02, B03, B04, B05, B06 and B07.

Remote sensing indices

Adding new custom scripts

Have a look at the template and follow the procedure described there.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
You can’t perform that action at this time.