Sentinel-5P Effective Radiometric Cloud Fraction
//VERSION=3
var minVal = 0.0;
var maxVal = 1.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: ["CLOUD_FRACTION","dataMask"],
output: { bands: 4 }
};
}
function evaluatePixel(samples) {
const [r, g, b] = visualizer.process(samples.CLOUD_FRACTION);
return [r, g, b, samples.dataMask];
}
Evaluate and Visualize
Description
This script visualizes Sentinel 5P effective radiometric cloud fraction product, which represents the portion of the Earth’s surface covered by clouds, divided by the total surface. Clouds have shielding, albedo, and in-cloud absorption effects on trace gas retrieval. The effective radiometric cloud fraction is an important parameter to correct these effects.
Description of representative images
Effective radiometric cloud fraction of the Pacific Ocean hurricane, 2020-01-15.