I am using the IDEPIX algorithm to create a cloud mask in a S3 OLCI image. When I use the operator individually (optical -> preprocessing -> masking -> …) the output product contains the different masks produced by IDEPIX:
This is an error. The workaround is fortunately easy: Simply connect the output from BandMaths first to BandMerge, then the Idepix. When you view the graph, in the BandMerge node the BandMaths should be listed as first product, the Idepix as second. The masks should be included now when you run the graph.
Another realated question, after applying the graph succesfuly and keeping the masks produced by IDEPEIX, I need to mosaic two S3 OLCI images. Using the mosaic operator does not preserve the masks.
In case someone is looking for the same, the solution is to convert the mask into a regular mask using BandMath. After this, you can mosaic the product and keep the masks produced by IDEPIX