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

Sentinel-5P Carbon Monoxide - CO

//VERSION=3
var minVal = 0.0;
var maxVal = 0.1;
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: ["CO","dataMask"],
    output: { bands: 4 }
  };
}

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

Evaluate and Visualize

Description

Carbon monoxide (CO) is an important atmospheric trace gas. In certain urban areas, it is a major atmospheric pollutant. Main sources of CO are combustion of fossil fuels, biomass burning, and atmospheric oxidation of methane and other hydrocarbons. The carbon monoxide total column is measured in mol per square meter (mol/ m^2). Learn more here.

Description of representative images

High CO concentrations over Australia, 2020-01-27. NO2 tropospheric column