Skip to main content Link Menu Expand (external link) Document Search Copy Copied

MODIS SWIR Composite

//VERSION=3
function setup() {
  return {
    input: ["B07","B06","B01", "dataMask"],
    output: { bands: 4 }
  };
}

function evaluatePixel(sample) {
  return [2.5 * sample.B07,2.5 * sample.B06,2.5 * sample.B01, sample.dataMask ];
}

Evaluate and visualize

Description

Short wave infrared (SWIR) measurements can help scientists estimate how much water is present in plants and soil, as water absorbs SWIR wavelengths. Short wave infrared bands (a band is a region of the electromagnetic spectrum; a satellite sensor can image Earth in different bands) are also useful for distinguishing between cloud types (water clouds versus ice clouds), snow and ice, all of which appear white in visible light. In this composite vegetation appears in shades of green, soils and built-up areas are in various shades of brown, and water appears black. Newly burned land reflects strongly in SWIR bands, making them valuable for mapping fire damages. Each rock type reflects shortwave infrared light differently, making it possible to map out geology by comparing reflected SWIR light.

The composite: B07, B06, B01

Description of representative images

MODIS SWIR composite of Europe. Acquired on 5. Acquired on 2021-08-02, processed by Sentinel Hub.

L8 NDVI