Sen2Cor 2.9 Linux Error in creating L2A User Product

I installed Sen2Cor 2.9 on the Linux server, and I can get the correct response by using the L2A_Process -h command, but I get the following error when processing the data:
Error in creating L2A User Product
Sen2Cor 2.9.0, created: 2020.11.30, supporting Level-1C product version 14.2 - 14.6
Operation mode: TOOLBOX
Processing baseline: 99.99
Application started …
Progress[%]: 0.00 : Generating datastrip metadata
cannot find L2A datastrip directory
Traceback (most recent call last):
File “/home/sfeng/sen2cor/Sen2Cor-02.09.00-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Process.py”, line 541, in
sys.exit(main())
File “/home/sfeng/sen2cor/Sen2Cor-02.09.00-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Process.py”, line 489, in main
L2A_TILES = config.updateTiles()
File “/home/sfeng/sen2cor/Sen2Cor-02.09.00-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Config.py”, line 3821, in updateTiles
if self.create_L2A_Tile():
File “/home/sfeng/sen2cor/Sen2Cor-02.09.00-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Config.py”, line 3846, in create_L2A_Tile
self.getEntriesFromDatastrip()
File “/home/sfeng/sen2cor/Sen2Cor-02.09.00-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Config.py”, line 3787, in getEntriesFromDatastrip
self.spacecraftName = di.SPACECRAFT_NAME.text
AttributeError: ‘bool’ object has no attribute ‘SPACECRAFT_NAME’

1 Like

Hi,
I have the same problem with sen2cor version 2.9 processing images that have Processing Baseline number more than N0300 (acquired after April 2021). The issue occur only when i try to process the topographic atmospheric correction. Have you found some kind of solution?

Hello,
Try to see if the related posts may help:

Hi oana,
thanks for your help. The last post you suggest partially respond to my problems “New REFINED L1C tiles do not process with Sen2Cor 2.8”. I know that the version 2.8 of sen2cor operate on images till march 2021 then I have to use 2.9 version. So I did using stand-alone version of sen2cor 2.9 that works well for standard atmosferic correction for images between 1 april 2021 to today but it fails applying the correction of topografic effects.