We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c468fa commit c0eae9cCopy full SHA for c0eae9c
planet/planetscope/ndvi/eob.js
@@ -288,11 +288,12 @@ function evaluatePixel(sample) {
288
}
289
290
const indexVal = sample.dataMask === 1 ? ndvi : NaN;
291
+ const clear = sample.dataMask && sample.clear;
292
293
return {
294
default: visVal,
295
index: [indexVal],
- eobrowserStats: [ndvi, sample.clear],
296
+ eobrowserStats: [ndvi, !clear],
297
dataMask: [sample.dataMask],
298
};
299
0 commit comments