Cloud mask - SNAP sentinel 2

so you collocate both datasets first to create a stack and then apply the valid pixel expression to the SAR bands as well.

i get this error
image

Do you save the new created bands as virtual bands?

I didn’t how can I do that please?

This can happen in SNAP 7 because of bug.
[SNAP-662] Collocation creates wrong valid pixel expressions in certain cases
This will be fixed with the next release (not far away).

In this post a work around is mentioned:

2 Likes

Here is my post about applying cloud masks to Satellite Images.