Landsat 4-5 TM SWIR Composite

  //VERSION=3
let minVal = 0.0;
let maxVal = 0.4;

let viz = new HighlightCompressVisualizer(minVal, maxVal);

function setup() {
  return {
    input: ["B07", "B05", "B03","dataMask"],
    output: { bands: 4 }
  };
}

function evaluatePixel(samples) {
    let val = [samples.B07, samples.B05, samples.B03,samples.dataMask];
    return viz.processList(val);
}

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 has 2 SWIR bands in the red and green channels, and the RED band in the blue channel.

The composite: B07, B05, B03

Description of representative images

Landsat 4-5 TM SWIR composite of Rome. Acquired on 2011-11-11, processed by Sentinel Hub.

L8 NDVI