Problems processing Sentinel-2 MSI L1C granules in v7.5

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
andrew.meredith
Posts: 38
Joined: Tue Dec 31, 2013 10:29 am America/New_York
Answers: 0

Problems processing Sentinel-2 MSI L1C granules in v7.5

by andrew.meredith » Fri May 18, 2018 11:31 am America/New_York

Thanks for the v7.5 release!

I ran into a few issues trying to process Sentinel-2 MSI L1C granules with l2gen. It appears some files are missing or misnamed. I was able to eventually process a granule but it required creating some symbolic links to make it work.

Here's the command:
l2gen ifile=data/Sentinel-2/2017/S2A_MSIL1C_20170926T160021_N0205_R097_T17RMN_20170926T160750.SAFE/manifest.safe ofile=test_msi.L2

The following is a list of the problems encounter:
1. No msl12_defaults_OC.par
-E- Failed to load parameters for suite OC for sensor MSIS2A
2. Rayleigh files don't match expected name
-E- /home/seadas/ocssw/src/l2gen/rayleigh.c:  Error opening file /home/ameredith/seadas-7.5/ocssw/share/msi/rayleigh/rayleigh_msis2a_444_iqu.hdf.
3. Aerosol files don't match expected name
-E- /home/seadas/ocssw/src/l2gen/aerosol.c:  Error opening file /home/ameredith/seadas-7.5/ocssw/share/msi/aerosol/aerosol_msi_r30f95v01.hdf
4. No default aerosol_msi_default.hdf
-E- /home/seadas/ocssw/src/l2gen/aerosol.c:  Error opening file /home/ameredith/seadas-7.5/ocssw/share/msi/aerosol/aerosol_msi_default.hdf
5. No Sentinel-2B version of Rayleigh files

Thanks,
Andrew

Tags:

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

Problems processing Sentinel-2 MSI L1C granules in v7.5

by OB.DAAC - SeanBailey » Fri May 18, 2018 11:47 am America/New_York

Yeah, I know...:wink:, the data files for MSI are a from an early implementation - before 2B was launched and before we restructured to handle two platforms.
'Tis on my queue to update them...it's a long queue...:sad:.  FYI, there are also changes to the spectral response functions for 2A, so there will be changes to those tables
as well.

Sean

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

Problems processing Sentinel-2 MSI L1C granules in v7.5

by OB.DAAC - SeanBailey » Tue May 22, 2018 3:39 pm America/New_York

Andrew,

I've got the new MSI data tree set up now.  Update your OCSSW install and you can pull down the data files with:
install_ocssw.py --git-branch=v7.5 --msis2a [--msis2b]

...it *should* work...but since you have the old msi tree, you *may* need to delete it first...

Regards,
Sean

andrew.meredith
Posts: 38
Joined: Tue Dec 31, 2013 10:29 am America/New_York
Answers: 0

Problems processing Sentinel-2 MSI L1C granules in v7.5

by andrew.meredith » Thu May 31, 2018 8:58 am America/New_York

That worked! Thanks Sean.
Andrew

Post Reply