OLI L2 data
OLI L2 data
Hello,
I have been processing a number of OLI images using l2gen. I have a couple of issues/questions: 1)When I visualize the L2 images the mask manager panel is blank!
2) When I display the l2flag raster I see a number 2112 -- I don't know what this number represents! The output L2 data have the following flags but I do not see 2112!
Is this the flag number for valid data?!
Could you please help with these issues?
ATMFAIL 1
LAND 2
PRODWARN 6
HIGLINT 8
HILT 16
HISATZEN 32
COASTZ 64
SPARE 128
STRAYLIGHT 256
CLDICE 512
COCCOLITH 1024
TURBIDW 2048
HISOLZEN 4096
SPARE 8192
LOWLW 16384
CHLFAIL 32768
NAVWARN 65536
ABSAER 131072
SPARE 262144
MAXAERITER 524288
MODGLINT 1048576
CHLWARN 2097152
ATMWARN 4194304
SPARE 8388608
SEAICE 6777216
NAVFAIL 33554432
FILTER 67108864
SPARE 134217728
BOWTIEDEL 268435456
HIPOL 536870912
PRODFAIL 1073741824
SPARE -2147483648
Thank you.
Amita
I have been processing a number of OLI images using l2gen. I have a couple of issues/questions: 1)When I visualize the L2 images the mask manager panel is blank!
2) When I display the l2flag raster I see a number 2112 -- I don't know what this number represents! The output L2 data have the following flags but I do not see 2112!
Is this the flag number for valid data?!
Could you please help with these issues?
ATMFAIL 1
LAND 2
PRODWARN 6
HIGLINT 8
HILT 16
HISATZEN 32
COASTZ 64
SPARE 128
STRAYLIGHT 256
CLDICE 512
COCCOLITH 1024
TURBIDW 2048
HISOLZEN 4096
SPARE 8192
LOWLW 16384
CHLFAIL 32768
NAVWARN 65536
ABSAER 131072
SPARE 262144
MAXAERITER 524288
MODGLINT 1048576
CHLWARN 2097152
ATMWARN 4194304
SPARE 8388608
SEAICE 6777216
NAVFAIL 33554432
FILTER 67108864
SPARE 134217728
BOWTIEDEL 268435456
HIPOL 536870912
PRODFAIL 1073741824
SPARE -2147483648
Thank you.
Amita
Filters:
-
- Subject Matter Expert
- Posts: 271
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
OLI L2 data
l2flags is a bit field. Your example breaks down like this:
decimal = 2112
hex = 0x0840
binary = 0000 1000 0100 0000
That means bit 6 and bit 11 are on. The first bit is on the right and you start numbering the bits at 0
bit 6 = 64 = COASTZ
bit 11 = 2048 = TURBIDW
don
decimal = 2112
hex = 0x0840
binary = 0000 1000 0100 0000
That means bit 6 and bit 11 are on. The first bit is on the right and you start numbering the bits at 0
bit 6 = 64 = COASTZ
bit 11 = 2048 = TURBIDW
don
-
- Subject Matter Expert
- Posts: 147
- Joined: Tue Feb 09, 2021 8:19 am America/New_York
OLI L2 data
Hi Amita,
There is a tool at the bottom of this page that might help you understand the l2_flags.
https://oceancolor.gsfc.nasa.gov/atbd/ocl2flags/
Try entering 2112 in the field at the bottom right.
Regards,
Norman
There is a tool at the bottom of this page that might help you understand the l2_flags.
https://oceancolor.gsfc.nasa.gov/atbd/ocl2flags/
Try entering 2112 in the field at the bottom right.
Regards,
Norman
-
- Subject Matter Expert
- Posts: 306
- Joined: Mon Apr 07, 2008 4:40 pm America/New_York
- Been thanked: 3 times
OLI L2 data
If you are a loading a level-2 file into SeaDAS the Mask Manager panel shouldn't be blank. Make sure your file is being loaded correctly and being recognized as a level-2 file. To determine which "Product reader" SeaDAS is actually using on your file, go to File Manager, click on the filename, select Menu > Analysis > Band Info. It should contain a field something like "Product Reader = SeaDAS-Supported Level 2 Products".
If this isn't working you can always use the Mask Manager to create masks based on the flags. In Mask Manager click on "f(x)" then create a mask based on a single or composite of the selectable level2 flags within the GUI.
Danny
If this isn't working you can always use the Mask Manager to create masks based on the flags. In Mask Manager click on "f(x)" then create a mask based on a single or composite of the selectable level2 flags within the GUI.
Danny