Hello ,
I already masked the Sentinel2 after resampling with Idepix and it was successful I got my mask layer of clouds and cloud shadow.
However, I need to Substitute the Cloud Value in the image with No Data Value to neglect its existance while doing classification.
Could You Please instruct me on how to do so
You can set a valid-expression to the bands.
Right-click on the band and set the valid-pixel expression.
For example:
!pixel_classif_flags.IDEPIX_CLOUD
Done Successfully with your instruction.
Thank You
1 Like
After doing this it set all cloud pixel value to NAN but now i am doing a Collocate and i am getting an error a.
I did a subset before for the image and the preview opened normally but with the collocate , the preview is not opening.
I can add in a separate post if you prefer.
Are you using SNAP 8? This issue should have been fixed with this release.
1 Like
No I am using SNAP 7 I will install version 8 and try again. Thank you
It worked in version 8. Thank You
1 Like