l1brsgen

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
rinokeros
Posts: 4
Joined: Thu Aug 17, 2023 8:41 am America/New_York
Answers: 0

l1brsgen

by rinokeros » Fri May 03, 2024 12:38 am America/New_York

Dear all,
I used l1brsgen to an MSI S2B but the result is this :execution exception:
java.io.IOException: l1brsgen failed with exit code 1.
Check log for more details.
-E- /home/dshea/ocssw/oel_hdf4/libl1/l1_msi.cpp line 585: unable read detector footprint file for MSI dataset /home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/GRANULE/L1C_T30NXL_A032123_20230501T103517/QI_DATA/MSK_DETFOO_B07.jp2

Loading characteristics for MSIS2B
Opening sensor information file /home/alexia/SeaDAS/ocssw/share/msi/s2b/msl12_sensor_info.dat
Bnd Lam Fo Tau_r k_oz k_no2 t_co2 awhite aw bbw
0 442.000 187.338 2.366e-01 2.837e-03 5.072e-19 1.000e+00 0.000e+00 7.057e-03 2.187e-03
1 492.000 196.024 1.563e-01 2.592e-02 2.844e-19 1.000e+00 0.000e+00 2.111e-02 1.410e-03
2 559.000 182.410 9.115e-02 1.042e-01 8.920e-20 1.000e+00 0.000e+00 6.234e-02 8.149e-04
3 665.000 151.348 4.489e-02 5.033e-02 8.658e-21 1.000e+00 0.000e+00 4.177e-01 3.945e-04
4 704.000 142.593 3.559e-02 2.055e-02 3.752e-21 1.000e+00 0.000e+00 6.960e-01 3.112e-04
5 739.000 129.029 2.919e-02 1.096e-02 1.494e-21 1.000e+00 0.000e+00 2.672e+00 2.542e-04
6 780.000 117.556 2.353e-02 7.322e-03 4.277e-22 1.000e+00 0.000e+00 2.675e+00 2.038e-04
7 835.000 104.151 1.851e-02 3.559e-03 1.882e-22 1.000e+00 0.000e+00 3.513e+00 1.577e-04
8 864.000 95.478 1.554e-02 2.277e-03 3.049e-23 1.000e+00 0.000e+00 4.588e+00 1.335e-04
9 943.000 81.782 1.092e-02 7.461e-04 9.177e-26 1.000e+00 0.000e+00 2.211e+01 9.309e-05
10 1611.000 24.706 1.280e-03 0.000e+00 0.000e+00 1.000e+00 0.000e+00 7.557e+02 1.048e-05
11 2184.000 8.775 3.800e-04 0.000e+00 0.000e+00 1.000e+00 0.000e+00 2.282e+03 3.043e-06


Loading default parameters for MSIS2B from /home/alexia/SeaDAS/ocssw/share/msi/msl12_defaults.par
Loading default sub-sensor parameters for MSIS2B from /home/alexia/SeaDAS/ocssw/share/msi/s2b/msl12_defaults.par
Loading parameters for suite OC from /home/alexia/SeaDAS/ocssw/share/msi/s2b/msl12_defaults_OC.par
Loading command line parameters

Loading user parameters for MSIS2B

Internal data compression requested at compression level: 4
Reading Thuillier_F0.dat
Input file: MSI Level-1C /home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/manifest.safe
MSI file 0: /home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/GRANULE/L1C_T30NXL_A032123_20230501T103517/IMG_DATA/T30NXL_20230501T101559_B01.jp2
MSI file 1: /home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/GRANULE/L1C_T30NXL_A032123_20230501T103517/IMG_DATA/T30NXL_20230501T101559_B02.jp2
MSI file 2: /home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/GRANULE/L1C_T30NXL_A032123_20230501T103517/IMG_DATA/T30NXL_20230501T101559_B03.jp2
MSI file 3: /home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/GRANULE/L1C_T30NXL_A032123_20230501T103517/IMG_DATA/T30NXL_20230501T101559_B04.jp2
MSI file 4: /home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/GRANULE/L1C_T30NXL_A032123_20230501T103517/IMG_DATA/T30NXL_20230501T101559_B05.jp2
MSI file 5: /home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/GRANULE/L1C_T30NXL_A032123_20230501T103517/IMG_DATA/T30NXL_20230501T101559_B06.jp2
MSI file 6: /home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/GRANULE/L1C_T30NXL_A032123_20230501T103517/IMG_DATA/T30NXL_20230501T101559_B07.jp2
MSI file 7: /home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/GRANULE/L1C_T30NXL_A032123_20230501T103517/IMG_DATA/T30NXL_20230501T101559_B08.jp2
MSI file 8: /home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/GRANULE/L1C_T30NXL_A032123_20230501T103517/IMG_DATA/T30NXL_20230501T101559_B09.jp2
MSI file 9: /home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/GRANULE/L1C_T30NXL_A032123_20230501T103517/IMG_DATA/T30NXL_20230501T101559_B10.jp2
MSI file 10: /home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/GRANULE/L1C_T30NXL_A032123_20230501T103517/IMG_DATA/T30NXL_20230501T101559_B11.jp2
MSI file 11: /home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/GRANULE/L1C_T30NXL_A032123_20230501T103517/IMG_DATA/T30NXL_20230501T101559_B12.jp2
MSI file 12: /home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/GRANULE/L1C_T30NXL_A032123_20230501T103517/IMG_DATA/T30NXL_20230501T101559_B8A.jp2
-E- Invalid RGB set for this sensor
Invalid R: 1
Invalid G: 1
Invalid B: 1 Can you suggest me what should i do?

ifile=/home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/manifest.safe ofile= /home/alexia/Desktop/seadas/S2B_MSIL1C_20230501T101559_N0509_R065_T30NXL_20230501T124155.SAFE/S2B_MSI.20230501T101559.L1BRS.png oformat=png resolution=60

Filters:

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

Re: l1brsgen

by OB SeaDAS - xuanyang02 » Fri May 03, 2024 12:33 pm America/New_York

Unfortunately, l1brsgen does not work on the newer MSI data since its format has changed, for the same reason that l2gen does not work on the same MSI data -- see this post viewtopic.php?p=18648&hilit=msi#p18648

rinokeros
Posts: 4
Joined: Thu Aug 17, 2023 8:41 am America/New_York
Answers: 0

Re: l1brsgen

by rinokeros » Mon May 06, 2024 1:57 am America/New_York

It worked finally it just needed the rgb = [665,560,492], also l2gen for MSI is running for version 2022 and 2023, but l2gen for landsat in version 2023 does not running.

Post Reply