CNES / MAJA

Level-2A processor used for atmospheric correction and cloud-detection. The active repository is the one below, this one is kept to leave access to the older issues.
https://gitlab.orfeo-toolbox.org/maja/maja
Apache License 2.0
137 stars 25 forks source link

Unable to process tile: no miniLUT has been generated for this angle zone #60

Closed intiluna closed 4 years ago

intiluna commented 4 years ago

Platform and sofware versions: • Ubuntu 18.04.4 LTS • Python 2.7.17 |Anaconda, Inc.| (default, Oct 21 2019, 19:04:46) • GDAL 2.4.2, released 2019/06/28

Dear MAJA Developers and users. I have download Sentinel-2 L1C products from https://scihub.copernicus.eu/dhus/#/home I downloaded 4 tiles and process with MAJA. The command I am using is: ~/maja/Start-MAJA$ python start_maja.py -f folders.txt -g GIPP/SENTINEL2_TM -l 20190626_LUT_MAJA_SENTINEL2_TM_NOCAMS/LUTs -t 16PEV -s CHINANDEGA -d 20200405 -e 20200420

One of the tile (PEV) is not working. log file is attached and in the terminal it sends the following error message:

2020-04-19 19:09:26,945 - Start-Maja - INFO - ################################# 2020-04-19T19:25:05.523384 ernestomacpro maja-processing-3.3.2 3.3 [000000018708] [E] vns::Business::ERROR: ComputeScatteringCorrectionImageFilter(0x4585f40): For band id '0' (nb channel='4') ' no miniLUT has been generated for this angle zone (detector) : '10'. Angles zones are [0,11,12,] !!!,Check coherency between metadata and input zone mask source. [vnsComputeScatteringCorrectionImageFilter.txx:ThreadedGenerateData:238]

2020-04-19T19:25:05.523384 ernestomacpro maja-processing-3.3.2 3.3 [000000018708] [E] vns::Business::ERROR: ComputeScatteringCorrectionImageFilter(0x4585f40): For band id '0' (nb channel='4') ' no miniLUT has been generated for this angle zone (detector) : '10'. Angles zones are [0,11,12,] !!!,Check coherency between metadata and input zone mask source. [vnsComputeScatteringCorrectionImageFilter.txx:ThreadedGenerateData:238]

2020-04-19T19:25:43.012787 ernestomacpro maja-processing-3.3.2 3.3 [000000018708] [E] ** [vnsMajaMainProcessor.cxx:main:130]

2020-04-19T19:25:43.015036 ernestomacpro maja-processing-3.3.2 3.3 [000000018708] [E] ScientificProcessing: ITK Exception: itk::ERROR: MultiThreader(0x255f57f0): Exception occurred during SingleMethodExecute [itkMultiThreader.cxx:412] [vnsMajaMainProcessor.cxx:main:130]

2020-04-19T19:25:43.016888 ernestomacpro maja-processing-3.3.2 3.3 [000000018708] [E] [vnsMajaMainProcessor.cxx:main:130]

2020-04-19T19:25:43.018777 ernestomacpro maja-processing-3.3.2 3.3 [000000018708] [E] ** [vnsMajaMainProcessor.cxx:main:130]

2020-04-19 19:25:43,132 - Start-Maja - INFO - ####################################### 2020-04-19 19:25:43,132 - Start-Maja - INFO - Error detected, see: /media/ernesto/cuatrot/maja_procesos/S2/L2A/CHINANDEGA/16PEV/GIPP/SENTINEL2_TM//S2A_MSIL1C_20200416T160901_N0209_R140_T16PEV_20200416T212618.SAFE.log 2020-04-19 19:25:43,133 - Start-Maja - INFO - #######################################`

S2A_MSIL1C_20200416T160901_N0209_R140_T16PEV_20200416T212618.SAFE.log

What could be the problem? Thanks for your guidance.

olivierhagolle commented 4 years ago

Hi, some products generated by ESA are ill-formed and lack information required by MAJA. I think your issue corresponds to this one : https://github.com/CNES/Start-MAJA/issues/55

We do not have other solution except advising you to skip the products which generate such a message. Olivier

intiluna commented 4 years ago

Hi Olivier, Understood. Thank you! I will close this issue.