VIIRS level 2 processing error

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
sandipiitmadras
Posts: 7
Joined: Fri Jul 30, 2021 2:39 pm America/New_York
Answers: 0

VIIRS level 2 processing error

by sandipiitmadras » Tue Aug 23, 2022 2:53 am America/New_York

Hi,

I have installed SeaDAS 8.2 in my system. I am able to generate level 2 image from MODIS L1 data without any error. However I am getting below error while processing VIIRS SNPP L1A images. Kindly suggest any appropriate solutions.


Error details:


Selected L1A file: V2019216051800.L1A_SNPP.nc


Selected GEO file: V2019216051800.GEO-M_SNPP.nc


Starting to process L2: V2019216051800.L2

Loading default parameters from /home/sandip/SeaDAS/ocssw/share/common/msl12_defaults.par
Input file V2019216051800.L1A_SNPP.nc is VIIRS NPP L1A NetCDF4.

Loading characteristics for VIIRSN
Opening sensor information file /home/sandip/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/sandip/SeaDAS/ocssw/share/viirs/msl12_defaults.par
Loading default sub-sensor parameters for VIIRSN from /home/sandip/SeaDAS/ocssw/share/viirs/npp/msl12_defaults.par
Loading parameters for suite OC from /home/sandip/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/sandip/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
Error - VIIRS L1A reader is not implemented.

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: VIIRS level 2 processing error

by OB SeaDAS - xuanyang02 » Tue Aug 23, 2022 10:29 am America/New_York

What tag of OCSSW are you using? I can do l2gen on V2019216051800.L1A_SNPP.nc and V2019216051800.GEO-M_SNPP.nc successfully with V2022.0

sandipiitmadras
Posts: 7
Joined: Fri Jul 30, 2021 2:39 pm America/New_York
Answers: 0

Re: VIIRS level 2 processing error

by sandipiitmadras » Tue Aug 23, 2022 10:39 am America/New_York

Thanks for the reply. I am also using V2022.0 tag but I am getting error only in time of VIIRS processing. MODIS is working fine.

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1464
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 5 times

Re: VIIRS level 2 processing error

by OB.DAAC - SeanBailey » Tue Aug 23, 2022 11:08 am America/New_York

Did you recompile the binaries? The "VIIRS L1A reader is not implemented" message will not be reported for binaries that we distribute, but will result if you compile locally without the VIIRS shared libraries.

Sean

sandipiitmadras
Posts: 7
Joined: Fri Jul 30, 2021 2:39 pm America/New_York
Answers: 0

Re: VIIRS level 2 processing error

by sandipiitmadras » Tue Aug 23, 2022 11:32 am America/New_York

Yes, I have recompiled codes because I am using customized code for aerosol correction (atmocor2.c).

So, I have ran BuildIt.py to build 3rd party libraries and it was successful. I got a message like 'Everything Building successful'.

After that I have created a folder inside ocssw-src and ran cmake and subsequently ran make and make install. This process also successful as I am getting no error in time MODIS processing.

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1464
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 5 times

Re: VIIRS level 2 processing error

by OB.DAAC - SeanBailey » Tue Aug 23, 2022 11:43 am America/New_York

MODIS is not VIIRS.

Use the delivered binary for calibrate_viirs and convert the VIIRS L1A file into an L1B file. Use that L1B file in the l2gen process and it should work, e.g.:

Code: Select all

calibrate_viirs ifile=V2019216051800.L1A_SNPP.nc l1bfile_mod=V2019216051800.L1B_SNPP.nc
Sean

sandipiitmadras
Posts: 7
Joined: Fri Jul 30, 2021 2:39 pm America/New_York
Answers: 0

Re: VIIRS level 2 processing error

by sandipiitmadras » Wed Aug 24, 2022 2:14 am America/New_York

Its working. Thanks for your help.

Post Reply