Skip to content

A repository of custom scripts to be used with Sentinel Hub

Notifications You must be signed in to change notification settings

ivvv/custom-scripts

 
 

Repository files navigation

Collection of custom scripts

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.

Sentinel-1

The Sentinel-1 imagery is provided by two polar-orbiting satellites, operating day and night performing C-band synthetic aperture radar imaging, enabling them to acquire imagery regardless of the weather. Main applications are for monitoring sea ice, oil spills, marine winds, waves & currents, land-use change, land deformation among others, and to respond to emergencies such as floods and earthquakes. The identical satellites orbit Earth 180° apart and at an altitude of almost 700 km, offering a global revisit time of 6-12 days depending on the area (check observation scenario). Sentinel-1’s radar can operate in four modes. The spatial resolution depends on the mode: approx. 5 m x 20 m for IW mode and approx. 20 m x 40 m for EW mode. See Copernicus services for more details.

Disaster management and prevention algorithms

Urban planning algorithm

Marine environment algorithm

Other available scripts

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 and glaciers algorithms

Disaster management and prevention algorithms

Land use/cover classification algorithms

Agriculture and forestry algorithms

Marine environment algorithms

Urban planning algorithms

Other multi-temporal scripts

Sentinel-3

Sentinel-3 is a low Earth-orbit moderate size satellite compatible with small launchers including VEGA and ROCKOT. The main objective of the mission is to measure sea surface topography, sea and land surface temperature, and ocean and land surface color with high accuracy and reliability to support ocean forecasting systems, environmental monitoring and climate monitoring. Ocean and Land Colour Instrument (OLCI) provides a set of 21 bands ranging from the visible to the near infrared light (400 nm < λ< 1 020 nm). The Sentinel-3 provides imagery in 300 m spatial resolution. Sentinel-3 OLCI instrument ensures continuity of the ENVISAT MERIS.

Enhanced true color scripts

Sentinel-5P

Sentinel-5P provides atmospheric measurements, relating to air quality, climate forcing, ozone and UV radiation with high spatio-temporal resolution. Its data is used for monitoring of concentrations of carbon monoxide (CO), nitrogen dioxide (NO2) and ozone (O3) in air as well as for monitoring of UV aerosol index (AER_AI) and different geophysical parameters of clouds (CLOUD). EO Browser serves level 2 geophysical products. The TROPOspheric Monitoring Instrument (TROPOMI) on board of the satellite operates in the ultraviolet to shortwave infrared range with 7 different spectral bands: UV-1 (270-300nm), UV-2 (300-370nm), VIS (370-500nm), NIR-1 (685-710nm), NIR-2 (755-773nm), SWIR-1 (1590-1675nm) and SWIR-3 (2305-2385nm). Its spatial resolution is below 8km for wavelengths above 300nm and below 50km for wavelength below 300nm. It covers almost the whole globe (95 % coverage for latitudes in the interval [-7°, 7°]).

Available scripts

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

Other available scripts

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.

About

A repository of custom scripts to be used with Sentinel Hub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.1%
  • HTML 0.9%