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

Landsat 8 Thermal Visualization

//VERSION=3
//This script was converted from v1 to v3 using the converter API

const blue_red = [
  [223, 0x003d99],
  [253, 0x2e82ff],  
  [263, 0x80b3ff],
  [272, 0xe0edff],
  [273, 0xffffff],
  [274, 0xfefce7],
  [283, 0xFDE191],
  [293, 0xf69855],
  [303, 0xec6927],
  [323, 0xaa2d1d],
  [363, 0x650401],
  [373, 0x3d0200],
];

const viz = new ColorRampVisualizer(blue_red);

function evaluatePixel(samples) {
  let val = samples.B10;
  return viz.process(val);
}

function setup() {
  return {
    input: [{
      bands: [
        "B10"
      ]
    }],
    output: {
      bands: 3
    }
  }
}

Evaluate and visualize

Description

This thermal visualization is based on band 10. At the central wavelength of 10895 nm it measures in the thermal infrared, or TIR. Instead of measuring the temperature of the air, like weather stations do, band 10 reports on the ground itself, which is often much hotter. Thermal band 10 is useful in providing surface temperatures and is collected with a 100-meter resolution.

Description of representative images

Landsat 8 thermal visualization of Rome. Acquired on 2020-07-30, processed by Sentinel Hub.

L8 NDVI