Created
November 15, 2021 17:51
-
-
Save maximlamare/81bfb116c3b6f3d54c7eeb67be8d143e to your computer and use it in GitHub Desktop.
Example evalscript for a single Sentinel-2 band query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//VERSION=3 | |
function setup() { | |
return { | |
input: ["B02"], | |
output: { bands: 1, sampleType: "INSERT-HERE" } | |
}; | |
} | |
function evaluatePixel(sample) { | |
return [sample.B02]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment