Hi all,
I’m a newby on running sen2cor standalone and we’re trying to setup and fine tune version 2.10 through command line. If using all by default, all run smoothly… although L2A products doesn’t convince me visually - it seems the same product. For instance, cirrus not corrected/decreased. Downloaded CCI land cover maps… water bodies… etc. Also trying to use a local DEM as we’re below 56 deg S. But all comes the same.
Besides that, when I include the --tif to have .tif files exported, I get the following error message:
global name ‘CogConverter’ is not defined
Traceback (most recent call last):
File “D:\Tests_SNAP\Sen2Cor-02.10.01-win64\Lib\site-packages\sen2cor\L2A_Tables.py”, line 3445, in exportBandList
self.exportTifImage(filename, band)
File “D:\Tests_SNAP\Sen2Cor-02.10.01-win64\Lib\site-packages\sen2cor\L2A_Tables.py”, line 3635, in exportTifImage
tif_file = CogConverter()
NameError: global name ‘CogConverter’ is not defined
Progress[]: 23.67 : PID-27684, L2A_Tables: preparing downsampled export for 60 m resolution, elapsed time[s]: 0.064, total: 0:04:41.578000
Progress[]: 23.67 : PID-27684, L2A_Tables: start export for 60 m resolution, elapsed time[s]: 0.009, total: 0:04:41.587000
no such child: Granule
Traceback (most recent call last):
File “D:\Tests_SNAP\Sen2Cor-02.10.01-win64\Lib\site-packages\sen2cor\L2A_Process.py”, line 692, in main
if tile.process() == True:
File “D:\Tests_SNAP\Sen2Cor-02.10.01-win64\Lib\site-packages\sen2cor\L2A_ProcessTileToolbox.py”, line 117, in process
if not self.process_resolution(20):
File “D:\Tests_SNAP\Sen2Cor-02.10.01-win64\Lib\site-packages\sen2cor\L2A_ProcessTileToolbox.py”, line 147, in process_resolution
return self._process()
File “D:\Tests_SNAP\Sen2Cor-02.10.01-win64\Lib\site-packages\sen2cor\L2A_ProcessTileToolbox.py”, line 197, in _process
if self.postprocess() == False:
File “D:\Tests_SNAP\Sen2Cor-02.10.01-win64\Lib\site-packages\sen2cor\L2A_ProcessTileToolbox.py”, line 273, in postprocess
res = self.tables.downsampleBandList_20to60_andExport()
File “D:\Tests_SNAP\Sen2Cor-02.10.01-win64\Lib\site-packages\sen2cor\L2A_Tables.py”, line 3096, in downsampleBandList_20to60_andExport
Granule = pi.Product_Organisation.Granule_List.Granule
File “src/lxml/lxml.objectify.pyx”, line 229, in lxml.objectify.ObjectifiedElement.getattr (src\lxml\lxml.objectify.c:3835)
File “src/lxml/lxml.objectify.pyx”, line 450, in lxml.objectify._lookupChildOrRaise (src\lxml\lxml.objectify.c:6539)
AttributeError: no such child: Granule
Progress[%]: 100.00 : Application terminated with at least one error.
Help!