/custom-scripts

A repository of custom scripts to be used with Sentinel Hub

Primary LanguageJavaScript

Collection of custom scripts

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.

Sentinel-2

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

Landsat-8

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

MODIS

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.