Hi everyone,
It seems like the sen2cor estimated water vapour content can exceed the range of the included atmospheric lookup tables, in which case the corresponding LUT is not found and also not interpolated (presumably due to a missing lower bound).
If this happens L2A_Process is stuck in waiting and does not terminate.
This happens for example with the following scene:
S2A_OPER_PRD_MSIL1C_PDMC_20161007T190917_R108_V20150829T103026_20150829T103028
####The gipp file:
L2A_GIPP.xml (4.1 KB)
The call:
L2A_Process --resolution=20 S2A_OPER_PRD_MSIL1C_PDMC_20161007T190917_R108_V20150829T103026_20150829T103028.SAFE
The problem:
It is looking for h99000_wv02_rura.atm
but the closest available would be h99000_wv04_rura.atm
.
...
Progress[%]: 41.72 : PID-7245, L2A_AtmCorr: end of AOT retrieval at 550nm, elapsed time[s]: 0.887
Process L2A_ProcessTile-1:
Traceback (most recent call last):
File "/opt/anaconda2/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/opt/anaconda2/lib/python2.7/site-packages/sen2cor-2.2.1-py2.7.egg/sen2cor/L2A_ProcessTile.py", line 132, in run
if self.process_20() == False:
File "/opt/anaconda2/lib/python2.7/site-packages/sen2cor-2.2.1-py2.7.egg/sen2cor/L2A_ProcessTile.py", line 162, in process_20
return self.process()
File "/opt/anaconda2/lib/python2.7/site-packages/sen2cor-2.2.1-py2.7.egg/sen2cor/L2A_ProcessTile.py", line 219, in process
if(ac.automaticAerosolDetection() == False):
File "L2A_AtmCorr.py", line 3292, in L2A_AtmCorr.L2A_AtmCorr.automaticAerosolDetection (L2A_AtmCorr.c:67233)
File "L2A_AtmCorr.py", line 3329, in L2A_AtmCorr.L2A_AtmCorr.calcDratioAerosol (L2A_AtmCorr.c:68156)
File "L2A_AtmCorr.py", line 3156, in L2A_AtmCorr.L2A_AtmCorr.process (L2A_AtmCorr.c:64774)
File "L2A_AtmCorr.py", line 5672, in L2A_AtmCorr.L2A_AtmCorr.masking_a3 (L2A_AtmCorr.c:126563)
File "L2A_AtmCorr.py", line 6198, in L2A_AtmCorr.L2A_AtmCorr.masking_a3_skip1 (L2A_AtmCorr.c:138367)
File "L2A_AtmCorr.py", line 9717, in L2A_AtmCorr.L2A_AtmCorr.apda1_lut_constvis_a3 (L2A_AtmCorr.c:221649)
File "L2A_AtmCorr.py", line 4406, in L2A_AtmCorr.L2A_AtmCorr.altit3_atm (L2A_AtmCorr.c:97015)
File "L2A_AtmCorr.py", line 4018, in L2A_AtmCorr.L2A_AtmCorr.read_atm_hyper_a3 (L2A_AtmCorr.c:84826)
File "/opt/anaconda2/lib/python2.7/genericpath.py", line 57, in getsize
return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/opt/anaconda2/lib/python2.7/site-packages/sen2cor-2.2.1-py2.7.egg/sen2cor/lib/20_60/h99000_wv02_rura.atm'
Sen2cor version: 2.2.1
This forum is the closest to a bug tracker I could find. If there’s an official tracker, please let me know