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

Landsat 7 ETM+ Thermal Visualization

//VERSION=3

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.B06;
  return viz.process(val);
}

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

Evaluate and Visualize

General description

This thermal visualization is based on a band B06 (a band is a region of the electromagnetic spectrum; a satellite sensor can image Earth in different bands). At the central wavelength of 10400-12500 nm it measures in the thermal infrared, or TIR. Instead of measuring the temperature of the air, like weather stations do, band B06 reports on the ground itself, which is often much hotter. Thermal band B06 is useful in providing surface temperatures and is collected with a 60-meter resolution, resampled to 30-meter. More info here.

Description of representative images

Thermal composite over northern Tunisia. Acquired on 2001-06-23. The script example 1