Download sentienl-2 bands for CloudMaskTask

Hi,

I want to use the function “CloudMaskTask” like the below:

add_clm = CloudMaskTask(
    data_feature=(FeatureType.DATA, 'Sentienl2_L1C'),
    mono_features=("CLP","CLM"),
    mask_feature=None,
    processing_resolution="20m",
    mono_threshold = 0.4,
    average_over=3,
    dilation_size=1.5
)

Is there any way to download only 10 Bands (bands 1, 2, 4, 5, 8, 8A, 9, 10, 11, 12) from Sentinel-2 L1C and use the CloudMaskTask function instead of using 13 bands from Sentinel-2 L1C?

Also, do I have to download all the bands from Sentienl2-L1C to change the CLP and CLM processing resolution?

Thank you

Hi Namu,

Thanks for the question, I would recommend reading through the examples on the EO Learn documentation website :slight_smile: This example should help you.

If you’re still stuck then let us know