Hi,
i am processing data capture on 28th Dec 2020 using sen2cor 2.8 ( standalone module) ( windows as well as Linux) .
The issue is specific to data capture on this date ( fails for all scenes) , for other dates it works fine ( before 28 Dec or after 28 Dec)
It gives below error
Progress[%]: 5.34 : PID-35200, L2A_Tables: band ASP imported, elapsed time[s]: 12.480, total: 0:03:00.673000
0…10…20…30…40…50…60…70…80…90…100 - done.
Progress[%]: 5.46 : PID-35200, L2A_Tables: band WBI imported, elapsed time[s]: 3.887, total: 0:03:04.560000
0…10…20…30…40…50…60…70…80…90…100 - done.
Progress[%]: 5.69 : PID-35200, L2A_Tables: band LCM imported, elapsed time[s]: 7.267, total: 0:03:11.827000
local variable ‘esacciSnowCondition’ referenced before assignment
Traceback (most recent call last):
File “C:\project\Sen2Cor-02.08.00-win64\Sen2Cor-02.08.00-win64\Lib\site-packages\sen2cor\L2A_Process.py”, line 495, in main
if tile.process() == True:
File “C:\projectr\Sen2Cor-02.08.00-win64\Sen2Cor-02.08.00-win64\Lib\site-packages\sen2cor\L2A_ProcessTileToolbox.py”, line 118, in process
if not self.process_resolution(20):
File “C:\projectr\Sen2Cor-02.08.00-win64\Sen2Cor-02.08.00-win64\Lib\site-packages\sen2cor\L2A_ProcessTileToolbox.py”, line 148, in process_resolution
return self._process()
File “C:\projectr\Sen2Cor-02.08.00-win64\Sen2Cor-02.08.00-win64\Lib\site-packages\sen2cor\L2A_ProcessTileToolbox.py”, line 162, in _process
if self.preprocess() == False:
File “C:\projectr\Sen2Cor-02.08.00-win64\Sen2Cor-02.08.00-win64\Lib\site-packages\sen2cor\L2A_ProcessTileToolbox.py”, line 251, in preprocess
if(self.tables.importBandList() == False):
File “C:\projectr\Sen2Cor-02.08.00-win64\Sen2Cor-02.08.00-win64\Lib\site-packages\sen2cor\L2A_Tables.py”, line 1044, in importBandList
if(self.gdalCCI_snowc() == False):
File “C:\projectr\Sen2Cor-02.08.00-win64\Sen2Cor-02.08.00-win64\Lib\site-packages\sen2cor\L2A_Tables.py”, line 1622, in gdalCCI_snowc
callstr = command + arguments + t_srs + t_warp + esacciSnowCondition + ’ ’ + cci_snowc_dst + self._DEV0
UnboundLocalError: local variable ‘esacciSnowCondition’ referenced before assignment
Progress[%]: 100.00 : Application terminated with at least one error.