Skip to content

Commit

Permalink
Made cloud slider work
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasViehweger committed Dec 7, 2023
1 parent cfc0ff5 commit 1a47ce1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sentinel-2/ulyssys_water_quality_viewer/eob.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ function getValue(params, samples) {
return {
default: imgVals,
index: outIndices,
eobrowserStats: outIndices.concat(isPureWater(isSentinel3, samples)),
eobrowserStats: outIndices.concat(isCloud(params.cloudMax, isSentinel3, samples)),
dataMask: [samples.dataMask]
};
}
Expand Down
2 changes: 1 addition & 1 deletion sentinel-3/ulyssys_water_quality_viewer/eob.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ function getValue(params, samples) {
return {
default: imgVals,
index: outIndices,
eobrowserStats: outIndices.concat(isPureWater(isSentinel3, samples)),
eobrowserStats: outIndices.concat(isCloud(params.cloudMax, isSentinel3, samples)),
dataMask: [samples.dataMask]
};
}
Expand Down

0 comments on commit 1a47ce1

Please sign in to comment.