Page 1 of 1

Mask generation w/l2bin?

Posted: Thu Mar 11, 2021 5:12 pm America/New_York
by dbotis
Hi,

I am using l2bin to create daily l3b files, which is then followed by l3mapgen.

My issue is with L2 flags and their implementation at the l2bin stage. Is there a way to output masks as bands in the L3b file rather than masking directly at the l2bin stage?

I would like to have some flexibility with flag use and would prefer to apply masks later on in my processing stream.

Thanks,

Dan

Re: Mask generation w/l2bin?

Posted: Fri Mar 12, 2021 11:28 am America/New_York
by OB SeaDAS - knowles
Level-2 flags (masks) cannot be output products of the l2bin. The reasoning is that for a given binned output file pixel, you can have multiple source input files which contribute to the bin aggregate depending on the flag (mask) of the particular source input file. Once a file is binned, the connection between the source flags and their respective source pixels is lost, so flagging after binning would not be useful.

Re: Mask generation w/l2bin?

Posted: Sat Mar 13, 2021 7:09 am America/New_York
by gnwiii
Compared to l2gen, binning is not time- or space-consuming, so running l2bin with different flag settings may not be a big problem.