//VERSION=3 const band = "CLOUD_TOP_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 top height product (height of a cloud top in meters).
Top height of the Pacific Ocean hurricane, 2020-01-15.