SeaDAS Landsat-8 OLI/l2gen error

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
al3xandur
Posts: 1
Joined: Sat Nov 04, 2023 4:26 am America/New_York
Answers: 0

SeaDAS Landsat-8 OLI/l2gen error

by al3xandur » Sat Nov 04, 2023 4:32 am America/New_York

I ran into this error message while attempting to execute the generation of RRS from a L1 Landsat-8 metadata file:

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

Loading characteristics for OLIL8
Opening sensor information file /Users/alexandersmacbookpro/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 /Users/alexandersmacbookpro/SeaDAS/ocssw/share/oli/msl12_defaults.par
Loading default sub-sensor parameters for OLIL8 from /Users/alexandersmacbookpro/SeaDAS/ocssw/share/oli/l8/msl12_defaults.par
Loading parameters for suite OC from /Users/alexandersmacbookpro/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 /Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_MTL.txt
OLI Level-1B Collection 2
OLI Level-1B Band[0]:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_B1.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[1]:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_B2.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[2]:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_B3.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[3]:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_B4.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[4]:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_B5.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[5]:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_B6.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[6]:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_B7.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[8]:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_B9.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Angle File:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_ANG.txt
OLI Level-1B Band[0]:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_B1.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[1]:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_B2.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[2]:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_B3.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[3]:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_B4.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[4]:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_B5.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[5]:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_B6.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[6]:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_B7.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Level-1B Band[8]:/Users/alexandersmacbookpro/Downloads/LC08_L1TP_125053_20230623_20230630_02_T1_B9.TIF
TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.
OLI Start Time: 2023-06-23 174 03:13:43.001157
OLI file has 7 bands, 7571 samples, 7741 lines
Allocated 6442949 bytes in L1 record.
Allocated 2271300 bytes in L2 record.

Opening: /Users/alexandersmacbookpro/Downloads/LANDSAT8_OLI.20230623T031343.L2.OC.nc


The following products will be included in /Users/alexandersmacbookpro/Downloads/LANDSAT8_OLI.20230623T031343.L2.OC.nc.
0 Kd_490
1 Rrs_443
2 Rrs_482
3 Rrs_561
4 Rrs_655
5 Rrs_865
6 Rrs_1609
7 Rrs_2201
8 angstrom
9 aot_865
10 chlor_a
11 l2_flags



Begin l2gen Version 9.6.0-V2023.3 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 7571
Processing pixels 1 to 7571 by 1
Processing scans 1 to 7741 by 1
Ocean processing enabled
Land processing enabled
Atmospheric correction enabled

Begin MSl12 processing at 2023308160519000

Allocated 6442949 bytes in L1 record.
Allocated 6442949 bytes in L1 record.
Allocated 6442949 bytes in L1 record.
Exit get_oli_angles with error
-E- /Users/dshea/ocssw/oel_hdf4/libl1/l1_oli.c line 552: geofile specified must be an Enhanced Meta-Data file (EMD format)

Im not sure what to do, tried searching the forum for people who have encountered a similar issue but couldnt find any.

Tags:

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

Re: SeaDAS Landsat-8 OLI/l2gen error

by OB SeaDAS - xuanyang02 » Thu Nov 30, 2023 11:54 am America/New_York

Please do SeaDAS-Toolbox -> Software & System Info and share the result here.

mestapa
Posts: 1
Joined: Fri Feb 02, 2024 9:49 pm America/New_York
Answers: 0

Re: SeaDAS Landsat-8 OLI/l2gen error

by mestapa » Fri Feb 02, 2024 9:55 pm America/New_York

It doesn't look like the original poster ever followed up... however I have just encountered the exact same error running L2gen on a Landsat 9 file, so thought I would add to this thread. Here is the error.

Exit get_oli_angles with error
-E- /Users/dshea/ocssw/oel_hdf4/libl1/l1_oli.c line 552: geofile specified must be an Enhanced Meta-Data file (EMD format)

Following the request you made to al3xandur I also did SeaDAS-Toolbox -> Software & System Info and have pasted it below.

Any help will be appreciated!

Meg



-----------------------------------------------------------
Main Application Platform:
-----------------------------------------------------------
Application Version: SeaDAS 8.4.1
SNAP Engine Version: 10.0.0.0* (SeaDAS Platform modified)
SNAP Desktop Version: 10.0.0.0* (SeaDAS Platform modified)
SNAP Engine Build Date: 202311091604
SNAP Desktop Build Date: 202311091609
Installation Directory: /Applications/SeaDAS
Data Directory: /Users/mestapa/.seadas8
Configuration: /Applications/SeaDAS/etc/snap.properties
VM Configuration: /Applications/SeaDAS/etc/seadas.conf
VM Configuration: /Applications/SeaDAS/etc/snap.conf
VM Configuration (gpt): /Applications/SeaDAS/bin/gpt.vmoptions
VM Configuration (pconvert): /Applications/SeaDAS/bin/pconvert.vmoptions
Runtime Configuration: /Users/mestapa/.seadas8/etc/snap.properties
Runtime Configuration (SeaDAS Toolbox): /Users/mestapa/.seadas8/etc/seadas.properties
JRE: OpenJDK Runtime Environment 11.0.19+7
JVM: OpenJDK 64-Bit Server VM by Eclipse Adoptium
Memory: 4096 MiB
OCSSWROOT (Java Env): null
Python3 Directory: /Users/mestapa/miniconda3/bin/python3


-----------------------------------------------------------
SeaDAS Toolbox:
-----------------------------------------------------------
SeaDAS Toolbox Version: 1.4.1
SeaDAS Toolbox Build Date: 202311091620
Configuration: /Users/mestapa/.seadas8/etc/seadas.properties
OCSSW Root Directory: /Applications/SeaDAS/ocssw
OCSSW Docker Log Directory: /
OCSSW Location: local
Environment {$OCSSWROOT} (external): null


-----------------------------------------------------------
NASA Science Processing (OCSSW):
-----------------------------------------------------------

Post Reply