Error in VIIRS l2gen processing, version 9.11.0-V2025.5
Posted: Wed Mar 11, 2026 4:51 am America/New_York
Hi, I am trying to run seadas-10 l2gen on VIIRS-SNPP L1A data. This command works all right with previous l2gen versions, like 9.6, 9.7, now it returns errors. The command is run from a container, aiming to produce L1C files (L2 with all gains 1). The resulting command was:
---------------------------------------------------------
[b]l2gen ifile="/workdir/SNPP_VIIRS.20230613T183000.L1A.nc" geofile="/workdir/SNPP_VIIRS.20230613T183000.GEO" ofile="/tmp/tmpfiles_cqnygz_2/SNPP_VIIRS.20230613T183000.L1C" l2prod="rhot_nnn polcor_nnn sena senz sola solz latitude
longitude" gain="1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0" atmocor=0 aer_opt=-99 brdf_opt=0[/b]
----------------------------------------------
Loading default parameters from /opt/seadas/ocssw/share/common/msl12_defaults.par
sh: 1: getfattr: not found
Input file /workdir/SNPP_VIIRS.20230613T183000.L1A.nc is VIIRS NPP L1A NetCDF4.
Error output:
============
[b]Reading Thuillier_F0.dat
openl1 - Unknown L1 input file format specifier: 34
-E- l2gen: Error opening /workdir/SNPP_VIIRS.20230613T183000.L1A.nc for reading.
exiting l2gen
Command exited with non-zero status 1[/b]
======================
Thank you for help.
Andrei
---------------------------------------------------------
[b]l2gen ifile="/workdir/SNPP_VIIRS.20230613T183000.L1A.nc" geofile="/workdir/SNPP_VIIRS.20230613T183000.GEO" ofile="/tmp/tmpfiles_cqnygz_2/SNPP_VIIRS.20230613T183000.L1C" l2prod="rhot_nnn polcor_nnn sena senz sola solz latitude
longitude" gain="1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0" atmocor=0 aer_opt=-99 brdf_opt=0[/b]
----------------------------------------------
Loading default parameters from /opt/seadas/ocssw/share/common/msl12_defaults.par
sh: 1: getfattr: not found
Input file /workdir/SNPP_VIIRS.20230613T183000.L1A.nc is VIIRS NPP L1A NetCDF4.
Error output:
============
[b]Reading Thuillier_F0.dat
openl1 - Unknown L1 input file format specifier: 34
-E- l2gen: Error opening /workdir/SNPP_VIIRS.20230613T183000.L1A.nc for reading.
exiting l2gen
Command exited with non-zero status 1[/b]
======================
Thank you for help.
Andrei