Mask generation w/l2bin?

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
Posts: 39
Joined: Mon Nov 21, 2011 7:44 pm America/New_York
Answers: 0

Mask generation w/l2bin?

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


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.




OB SeaDAS - knowles
Subject Matter Expert
Subject Matter Expert
Posts: 289
Joined: Mon Apr 07, 2008 4:40 pm America/New_York
Answers: 0

Re: Mask generation w/l2bin?

by OB SeaDAS - knowles » Fri Mar 12, 2021 11:28 am America/New_York

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.

Posts: 713
Joined: Fri Jan 29, 2021 5:51 pm America/New_York
Answers: 2
Has thanked: 1 time

Re: Mask generation w/l2bin?

by gnwiii » Sat Mar 13, 2021 7:09 am America/New_York

Compared to l2gen, binning is not time- or space-consuming, so running l2bin with different flag settings may not be a big problem.

Post Reply