Skip to content

Commit

Permalink
Merge pull request #311 from sentinel-hub/fix/kndvi-eob
Browse files Browse the repository at this point in the history
Fix eob.js
  • Loading branch information
chorng authored May 15, 2024
2 parents 1fff703 + 3ceda85 commit 3eff8e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sentinel-2/kndvi/eob.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ function evaluatePixel(sample) {
imgVals = is_clouds ? cloud_palette[sample.SCL] : imgVals;
return {
default: imgVals.concat(sample.dataMask),
index: [is_clouds ? null : kndvi],
eobrowserStats: [is_clouds ? null : kndvi],
index: [is_clouds ? NaN : kndvi],
eobrowserStats: [is_clouds ? NaN : kndvi],
dataMask: [sample.dataMask],
}
}

0 comments on commit 3eff8e4

Please sign in to comment.