L2GEN with Landsat 8/9

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
mateus.vidotti
Posts: 2
Joined: Fri Feb 03, 2023 2:40 pm America/New_York
Answers: 0

L2GEN with Landsat 8/9

by mateus.vidotti » Fri Feb 03, 2023 2:54 pm America/New_York

Hello all, I am new in using Seadas for processing Landsat image.
I’m trying to process Landsat 8/9 L1 collection 2 with L2gen.
I can’t figure out what I’m doing wrong. Anyone can help me?
Follows de error log.

"""
execution exception: java.io.IOException: l2gen failed with exit code 1.
Check log for more details.
Loading default parameters from /root/SeaDAS/ocssw/share/common/msl12_defaults.par
Input file /tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_MTL.txt is a Landsat 8/9 OLI L1B GEOTIFF file.

Loading characteristics for OLIL8
Opening sensor information file /root/SeaDAS/ocssw/share/oli/msl12_sensor_info.dat
Bnd Lam Fo Tau_r k_oz k_no2 t_co2 awhite aw bbw
0 443.000 189.652 2.352e-01 2.929e-03 5.024e-19 1.000e+00 1.000e+00 7.170e-03 2.169e-03
1 482.000 200.396 1.685e-01 1.957e-02 3.213e-19 1.000e+00 1.000e+00 1.581e-02 1.529e-03
2 561.000 182.079 9.020e-02 1.038e-01 8.351e-20 1.000e+00 1.000e+00 6.998e-02 8.054e-04
3 655.000 155.038 4.793e-02 6.200e-02 1.177e-20 1.000e+00 1.000e+00 3.751e-01 4.215e-04
4 865.000 95.063 1.551e-02 2.223e-03 3.306e-23 1.000e+00 1.000e+00 4.630e+00 1.332e-04
5 1609.000 24.755 1.284e-03 0.000e+00 0.000e+00 1.000e+00 1.000e+00 7.607e+02 1.052e-05
6 2201.000 8.546 3.697e-04 0.000e+00 0.000e+00 1.000e+00 1.000e+00 2.250e+03 2.958e-06


Loading default parameters for OLIL8 from /root/SeaDAS/ocssw/share/oli/msl12_defaults.par
Loading default sub-sensor parameters for OLIL8 from /root/SeaDAS/ocssw/share/oli/l8/msl12_defaults.par
Loading parameters for suite OC from /root/SeaDAS/ocssw/share/oli/msl12_defaults_OC.par
Loading command line parameters

Loading user parameters for OLIL8

Internal data compression requested at compression level: 4
Reading Thuillier_F0.dat
OLI Level-1B /tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_MTL.txt
OLI Level-1B Collection 2
OLI Level-1B Band[0]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B1.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[1]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B2.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[2]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B3.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[3]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B4.TIF
OLI Level-1B Band[4]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B5.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[5]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B6.TIF
OLI Level-1B Band[6]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B7.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[7]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B8.TIF
OLI Level-1B Band[8]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B9.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Angle File:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_ANG.txt
OLI Level-1B Band[0]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B1.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[1]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B2.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[2]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B3.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[3]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B4.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[4]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B5.TIF
OLI Level-1B Band[5]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B6.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[6]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B7.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[7]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B8.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[8]:/tmp/landsat2/LC08_L1GT_222075_20230121_20230121_02_RT_B9.TIF
OLI Start Time: 2023-01-21 021 13:22:49.781551
OLI file has 7 bands, 7661 samples, 7771 lines
Allocated 7040487 bytes in L1 record.
Allocated 2666028 bytes in L2 record.

Opening: /tmp/landsat2/LANDSAT8_OLI.20230121T132249.L2.OC.nc


The following products will be included in /tmp/landsat2/LANDSAT8_OLI.20230121T132249.L2.OC.nc.
0 aot_865
1 angstrom
2 Rrs_443
3 Rrs_482
4 Rrs_561
5 Rrs_655
6 chlor_a
7 Kd_490
8 l2_flags



Begin l2gen Version 9.6.0-V2022.2 Processing
Sensor is OLIL8
Sensor ID is 15
Sensor has 7 reflective bands
Sensor has 0 emissive bands
Number of along-track detectors per band is 1
Number of input pixels per scan is 7661
Processing pixels 1 to 7661 by 1
Processing scans 1 to 7771 by 1
Ocean processing enabled
Land processing enabled
Atmospheric correction enabled

Begin MSl12 processing at 2023034164327000

Allocated 7040487 bytes in L1 record.
Allocated 7040487 bytes in L1 record.
Allocated 7040487 bytes in L1 record.
Loading land mask information from /root/SeaDAS/ocssw/share/common/gebco_ocssw_v2020.nc
Loading DEM information from /root/SeaDAS/ocssw/share/common/gebco_ocssw_v2020.nc
Loading ice mask file from /root/SeaDAS/ocssw/var/anc/2023/021/20230121120000-CMC-L4_GHRSST-SSTfnd-CMC0.1deg-GLOB-v02.0-fv03.0.nc
-E- /home/dshea/ocssw/src/l2gen/ice_mask.c line 223: File, "/root/SeaDAS/ocssw/var/anc/2023/021/20230121120000-CMC-L4_GHRSST-SSTfnd-CMC0.1deg-GLOB-v02.0-fv03.0.nc", doesn't follow naming convention described at http://nsidc.org/data/docs/daac/nsidc0051_gsfc_seaice.gd.html#namingconvention .
-E- /home/dshea/ocssw/src/l2gen/loadl1.c : Unable to initialize ice mask"""

Tags:

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

Re: L2GEN with Landsat 8/9

by OB SeaDAS - xuanyang02 » Fri Feb 03, 2023 5:33 pm America/New_York

l2gen on Landsat 8 collection2 seems work with SeaDAS 8.3.0 and SeaDAS Processors (OCSSW) V2022.3.

Please let us know your SeaDAS version and SeaDAS processors tag.

mateus.vidotti
Posts: 2
Joined: Fri Feb 03, 2023 2:40 pm America/New_York
Answers: 0

Re: L2GEN with Landsat 8/9

by mateus.vidotti » Mon Feb 06, 2023 6:15 am America/New_York

Hi. thanks for reply.
I am using same versions, SeaDAS 8.3.0 with OCSSW V2022.3.
Attachments
version seadas.jpg
version seadas.jpg (107.89 KiB) Not viewed yet
tags_seadas.jpg
tags_seadas.jpg (43.1 KiB) Not viewed yet

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

Re: L2GEN with Landsat 8/9

by OB SeaDAS - xuanyang02 » Tue Feb 07, 2023 10:51 am America/New_York

That's interesting. I can't replicate the error you've got.

Can you do SeaDAS-Toolbox -> SeaDAS/System Info and post it here?

1. Try to run l2gen without ancillary files after deleting /root/SeaDAS/ocssw/var/anc/2023/021

2. Try to run l2gen with freshly downloaded ancillary files after clicking "Get Ancillary" button

Post Reply