diff --git a/ee_extra/QA/clouds.py b/ee_extra/QA/clouds.py index bba0836..cf6f432 100644 --- a/ee_extra/QA/clouds.py +++ b/ee_extra/QA/clouds.py @@ -331,7 +331,7 @@ def VNP13A1(args): if isinstance(x, ee.image.Image): masked = lookup[platformDict["platform"]](x) elif isinstance(x, ee.imagecollection.ImageCollection): - if platformDict["platform"] == "COPERNICUS/S2_SR": + if platformDict["platform"].startswith("COPERNICUS/S2_SR"): masked = lookup[platformDict["platform"]](x) else: masked = x.map(lookup[platformDict["platform"]])