//VERSION=3 const band = "CLOUD_BASE_HEIGHT"; var minVal = 0.0; var maxVal = 20000.0; function setup() { return { input: [band, "dataMask"], output: { bands: 4, }, }; } var viz = ColorRampVisualizer.createBlueRed(minVal, maxVal); function evaluatePixel(samples) { let ret = viz.process(samples[band]); ret.push(samples.dataMask); return ret; }
This script visualizes Sentinel 5P base height product (height of a cloud base in meters).
Base height of the Pacific Ocean hurricane, 2020-01-15.