ImageCollection COPERNICUS/S2_SR_HARMONIZED is not processed correctly, leading to problem in eemont when trying to use s2.maskClouds().
Fix
Hard comparison of platform (i.e., platform == "S3_SR") excludes S2_SR_HARMONIZED. Simply changed to a more lenient platform comparison (i.e., .startswith(S3_SR)).
Fix bug for
S2_SR_HARMONIZED
Problem
ImageCollection
COPERNICUS/S2_SR_HARMONIZED
is not processed correctly, leading to problem ineemont
when trying to use s2.maskClouds().Fix
Hard comparison of platform (i.e.,
platform == "S3_SR"
) excludesS2_SR_HARMONIZED
. Simply changed to a more lenient platform comparison (i.e.,.startswith(S3_SR)
).Fixes the problem locally on my machine.