Last active
January 3, 2022 13:14
-
-
Save maximlamare/a32a95e54d558184243bfa162458a09d to your computer and use it in GitHub Desktop.
Example of an Evalscript returning B02
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: "AUTO" } | |
}; | |
} | |
function evaluatePixel(sample) { | |
return [sample.B02]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment