IOP processing in SEADAS 8.2.0

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Locked
neha_sharma
Posts: 4
Joined: Fri Apr 01, 2022 5:07 am America/New_York
Answers: 0

IOP processing in SEADAS 8.2.0

by neha_sharma » Fri Apr 01, 2022 5:18 am America/New_York

Hello,

I have newly installed SEADAS 8.2.0 on ubuntu 20.04. I am trying to run l2 gen for VIIRS image. But every time I get the below error:

execution exception: java.io.IOException: l2gen failed with exit code 1.
Check log for more details.
Loading default parameters from /home/neha/SEADAS/ocssw/share/common/msl12_defaults.par
Input file /home/neha/Desktop/KavarattiFiles/SNPP_VIIRS.20180301T081200.L1B.hdf is VIIRS NPP L1B NetCDF4.

Loading characteristics for VIIRSN
Opening sensor information file /home/neha/SEADAS/ocssw/share/viirs/npp/msl12_sensor_info.dat
Bnd Lam Fo Tau_r k_oz k_no2 t_co2 awhite aw bbw
0 410.000 171.134 3.175e-01 6.080e-04 5.951e-19 1.000e+00 1.000e+00 1.528e-01 2.931e-03
1 443.000 190.214 2.328e-01 3.349e-03 4.997e-19 1.000e+00 1.000e+00 3.484e-02 2.144e-03
2 486.000 198.774 1.600e-01 2.000e-02 2.990e-19 1.000e+00 1.000e+00 7.198e-02 1.447e-03
3 551.000 184.122 9.738e-02 8.937e-02 1.041e-19 1.000e+00 1.000e+00 9.721e-02 8.703e-04
4 671.000 150.456 4.395e-02 4.406e-02 1.015e-20 1.000e+00 8.871e-01 4.755e-01 3.842e-04
5 745.000 127.643 2.865e-02 1.111e-02 2.547e-21 1.000e+00 7.872e-01 2.806e+00 2.481e-04
6 862.000 96.031 1.594e-02 2.319e-03 4.358e-22 1.000e+00 6.486e-01 4.590e+00 1.361e-04
7 1238.000 45.606 3.650e-03 0.000e+00 0.000e+00 9.994e-01 0.000e+00 1.370e+02 3.044e-05
8 1601.000 25.084 1.305e-03 0.000e+00 0.000e+00 9.890e-01 0.000e+00 7.857e+02 1.070e-05
9 2257.000 7.732 3.294e-04 0.000e+00 0.000e+00 9.696e-01 0.000e+00 2.180e+03 2.656e-06

Bnd Lam
10 3700.000
11 4050.000
12 8550.000
13 10763.000
14 12013.000

Loading default parameters for VIIRSN from /home/neha/SEADAS/ocssw/share/viirs/msl12_defaults.par
Loading default sub-sensor parameters for VIIRSN from /home/neha/SEADAS/ocssw/share/viirs/npp/msl12_defaults.par
Loading parameters for suite OC from /home/neha/SEADAS/ocssw/share/viirs/msl12_defaults_OC.par
Loading command line parameters

Loading user parameters for VIIRSN

Internal data compression requested at compression level: 4
Opening filter file /home/neha/SEADAS/ocssw/share/viirs/msl12_filter.dat
Setting 25 x 7 straylight filter on HILT mask

Filter Kernel
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Minimum fill set to 1 pixels


Setting 25 x 7 straylight filter on CLDICE mask

Filter Kernel
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Minimum fill set to 1 pixels


Reading Thuillier_F0.dat
Allocated 3824040 bytes in L1 record.
Allocated 1536000 bytes in L2 record.

Opening: /home/neha/Desktop/KavarattiFiles/SNPP_VIIRS.20180301T081200.L2.OC.nc


The following products will be included in /home/neha/Desktop/KavarattiFiles/SNPP_VIIRS.20180301T081200.L2.OC.nc.
0 Kd_490
1 Rrs_410
2 Rrs_443
3 Rrs_486
4 Rrs_551
5 Rrs_671install_ocssw.py --help
6 angstrom
7 aot_862
8 aph_410giop
9 aph_443giop
10 aph_486giop
11 aph_551giop
12 aph_671giop
13 chlor_a
14 par
15 pic
16 poc
17 chl_ocx
18 l2_flags
-E- /home/dshea/ocssw/src/l2gen/l2_generic.c line 464: product aph_410giop not found.
-E- l2gen: Error opening /home/neha/Desktop/KavarattiFiles/SNPP_VIIRS.20180301T081200.L2.OC.nc for writing.

To correct this, I have tried to reinstall ocssw via GUI and manually. I have also set the path of SEADAS and OCSSWROOT correctly. I have also given full permissions to all the sub directories under /home. I'm also unable to figure out from where is this path being picked " /home/dshea/ocssw/src/l2gen/...". The product I'm looking at in the l2 generator is aph_vvv(visible range).

Thanks

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: IOP processing in SEADAS 8.2.0

by OB SeaDAS - xuanyang02 » Fri Apr 01, 2022 9:57 am America/New_York

Your l2prod should be

0 Kd_490
1 Rrs_410
2 Rrs_443
3 Rrs_486
4 Rrs_551
5 Rrs_671
6 angstrom
7 aot_862
8 aph_410_giop
9 aph_443_giop
10 aph_486_giop
11 aph_551_giop
12 aph_671_giop
13 chlor_a
14 par
15 pic
16 poc
17 chl_ocx
18 l2_flags

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: IOP processing in SEADAS 8.2.0

by OB SeaDAS - xuanyang02 » Thu Apr 07, 2022 5:54 pm America/New_York

It's a bug that if you choose Inherent Optical Products -> aph -> aphgiop on l2gen's Products tab, aph_410giop, aph443giop and etc will show up instead of aph_410_giop, aph_443_giop...

aph_410giop, aph 443giop are not valid l2prod, so it'll break l2gen.

Please try to inset an "_" in aph_410giop on the Selected Products section on l2gen's Products tab, and that should make l2gen work. Please let us know if it works.

neha_sharma
Posts: 4
Joined: Fri Apr 01, 2022 5:07 am America/New_York
Answers: 0

Re: IOP processing in SEADAS 8.2.0

by neha_sharma » Fri Apr 08, 2022 12:12 am America/New_York

Thank you! This helped and I'm able to complete l2 gen successfully now! Thanks much.

Locked