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

Sentinel-5P Aerosol concentrations 354/388 nm

//VERSION=3
var minVal = -1.0;
var maxVal = 5.0;
var diff = maxVal - minVal;
const map = [
	[minVal, 0x00007f], 
	[minVal + 0.125 * diff, 0x0000ff],
	[minVal + 0.375 * diff, 0x00ffff],
	[minVal + 0.625 * diff, 0xffff00],
	[minVal + 0.875 * diff, 0xff0000],
	[maxVal, 0x7f0000]
]; 

const visualizer = new ColorRampVisualizer(map)
function setup() {
   return {
    input: ["AER_AI_354_388","dataMask"],
    output: { bands: 4 }
  };
}

function evaluatePixel(samples) {
   const [r, g, b] = visualizer.process(samples.AER_AI_354_388);
   return [r, g, b, samples.dataMask];
}

Evaluate and Visualize

Description

The Aerosol Index (AI) is a qualitative index indicating the presence of elevated layers of aerosols in the atmosphere. It can be used to detect the presence of UV absorbing aerosols such as desert dust and volcanic ash plumes. Positive values (from light blue to red) indicate the presence of UV-absorbing aerosol. This script visualizes AER wavelength pair 354/388 nm.

Description of representative images

High aerosol concentrations over Chad, 2019-07-04. NO2 tropospheric column

References

Sentinel Online - Level-2 Algorithms - Aerosol Index