Page 1 of 1

Landsat 8 OLI trouble in SeaDAS 8.3.0

Posted: Sat Jul 01, 2023 8:43 am America/New_York
by davidle
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.

Re: Landsat 8 OLI trouble in SeaDAS 8.3.0

Posted: Mon Jul 03, 2023 11:42 am America/New_York
by OB SeaDAS - xuanyang02
The file name should not matter, but the metadata in the files matters.
Screen Shot 2023-07-03 at 11.39.14 AM.png
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/

Re: Landsat 8 OLI trouble in SeaDAS 8.3.0

Posted: Mon Jul 03, 2023 10:17 pm America/New_York
by davidle
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

Re: Landsat 8 OLI trouble in SeaDAS 8.3.0

Posted: Wed Jul 05, 2023 2:12 pm America/New_York
by OB SeaDAS - xuanyang02
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?

Re: Landsat 8 OLI trouble in SeaDAS 8.3.0

Posted: Fri Jul 07, 2023 2:49 pm America/New_York
by OB SeaDAS - xuanyang02
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"