Landsat 8 OLI trouble in SeaDAS 8.3.0

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
davidle
Posts: 2
Joined: Fri Nov 18, 2022 11:24 am America/New_York
Answers: 0

Landsat 8 OLI trouble in SeaDAS 8.3.0

by davidle » Sat Jul 01, 2023 8:43 am America/New_York

Dear all
I've encountered some issues when processing Landsat 8 Collection 2 level-1 data using L2gen. It works fine with file names started with "LC" such as "LC08_L1TP_131044_20220326_20220330_02_T1_MTL.txt", but it shows "LO09_L1TP_131044_20220318_20230424_02_T1_MTL.txt is not a valid input mission: Mission=null" with file names started with "LO"
I'm using SeaDAS 8.3.0 l2gen version: msl12 9.6.0-V2022.2 in Ubuntu 22.04.1 LTS.
Attachments
TJLWYF`%ZD7}DP@TW$EWHNX.png
TJLWYF`%ZD7}DP@TW$EWHNX.png (30.48 KiB) Not viewed yet
63RD[%P~~O`NE22NX48A{)P.png
63RD[%P~~O`NE22NX48A{)P.png (27.41 KiB) Not viewed yet

Tags:

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 656
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 2 times

Re: Landsat 8 OLI trouble in SeaDAS 8.3.0

by OB SeaDAS - xuanyang02 » Mon Jul 03, 2023 11:42 am America/New_York

The file name should not matter, but the metadata in the files matters.
Screen Shot 2023-07-03 at 11.39.14 AM.png
Screen Shot 2023-07-03 at 11.39.14 AM.png (190.57 KiB) Not viewed yet
I noticed that your

LC08_L1TP_131044_20220326_20220330_02_T1_MTL.txt
is in the directory of
LC08_L1TP_131044_20220326_20220330_02_T1,

but
LO09_L1TP_131044_20220318_20230424_02_T1_MTL.txt
is in the directory of
1/

davidle
Posts: 2
Joined: Fri Nov 18, 2022 11:24 am America/New_York
Answers: 0

Re: Landsat 8 OLI trouble in SeaDAS 8.3.0

by davidle » Mon Jul 03, 2023 10:17 pm America/New_York

Thank you very much for your reply.
I have changed the directory and tried different oli data as shown below, but it still doesn't work. Should I change some parameters in the metadata?
Looking foward to your reply
Attachments
J6@0}{AQKZ_$CM6J9Y`BHAV.png
J6@0}{AQKZ_$CM6J9Y`BHAV.png (43.16 KiB) Not viewed yet
{_@AS65LGC0IUS{}S4NE5`F.png
{_@AS65LGC0IUS{}S4NE5`F.png (43.35 KiB) Not viewed yet

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 656
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 2 times

Re: Landsat 8 OLI trouble in SeaDAS 8.3.0

by OB SeaDAS - xuanyang02 » Wed Jul 05, 2023 2:12 pm America/New_York

Can you do SeaDAS-Toolbox -> Software & System Info, and post the output here?

Also, can you do

Code: Select all

obpg_file_type LO09_L1TP_131044_20220318_20230424_02_T1_MTL.txt
Is LO09_L1TP_131044_20220318_20230424_02_T1_MTL.txt a Landsat L9 file? Do you have olil9 mission installed?

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 656
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 2 times

Re: Landsat 8 OLI trouble in SeaDAS 8.3.0

by OB SeaDAS - xuanyang02 » Fri Jul 07, 2023 2:49 pm America/New_York

It turns out that the metadata information in LANDSAT 8/9 OLI files that start with "LO" have changed, so obpg_file_type returns "OLI: Level 1B " instead of "OLI L8: Level 1B". That is causing the problem.

Code: Select all

$ obpg_file_type LO08_L1TP_130044_20230423_20230425_02_T1/LO08_L1TP_130044_20230423_20230425_02_T1_MTL.txt
returns
LO08_L1TP_130044_20230423_20230425_02_T1_MTL.txt: OLI: Level 1B
instead of

Code: Select all

$ obpg_file_type LC08_L1TP_011031_20230523_20230602_02_T1/LC08_L1TP_011031_20230523_20230602_02_T1_MTL.txt
returns
LC08_L1TP_011031_20230523_20230602_02_T1_MTL.txt: OLI L8: Level 1B

We'll fix it for the next tag. In the meantime, you can edit LO08_L1TP_130044_20230423_20230425_02_T1_MTL.txt,
change the line
SENSOR_ID = "OLI"
to
SENSOR_ID = "OLI_TIRS"

Post Reply