Fail to transform L1A to L2A from N207

#1

Hello,

I found that the L1C images of Sentinelhub fail to transform from at the end of last month with Sen2Cor 2.5.5, although I hadn’t done the transformation from last September with the following stack.

L1C image: LS2A_MSIL1C_20190204T112251_N0207_R037_T29SND_20190204T132506.SAFE

L2A_Process  LS2A_MSIL1C_20190204T112251_N0207_R037_T29SND_20190204T132506.SAFE
          : 
          : 
Progress[%]: 7.39 : PID-27903, L2A_Tables: stop export, elapsed time[s]: 0.124, total: 0:05:48.521875
[CRITICAL]  L2A_ProcessT: 230   Module L2A_ProcessTile-1 - L2A_T29SND_A018910_20190204T113026 failed
[CRITICAL]  L2A_ProcessT: 230   Module L2A_ProcessTile-1 - L2A_T29SND_A018910_20190204T113026 failed
Traceback (most recent call last):
  File "/var/samba/gis/scripts/sentinel2/Sen2Cor-02.05.05-Linux64/lib/python2.7/site-   packages/sen2cor/L2A_Process.py", line 354, in <module>
sys.exit(main())
  File "/var/samba/gis/scripts/sentinel2/Sen2Cor-02.05.05-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Process.py", line 340, in main
    if not postprocess(config):
  File "/var/samba/gis/scripts/sentinel2/Sen2Cor-02.05.05-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Process.py", line 94, in postprocess
xp.validate()
  File "/var/samba/gis/scripts/sentinel2/Sen2Cor-02.05.05-Linux64/lib/python2.7/site-packages/sen2cor/L2A_XmlParser.py", line 109, in validate
    fn = os.path.basename(self._xmlFn)
  File "/var/samba/gis/scripts/sentinel2/Sen2Cor-02.05.05-Linux64/lib/python2.7/posixpath.py", line 114, in basename
    i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'

I doubt it is because of the following change of Sentinel2.

https://cophub.copernicus.eu/news/News00238

Comparing “coordinates” fields of the old and new tileinfo.json, how to take the coordinate points is obviously different. Look at the picture of QGIS. The points of “L” shape are new coordinates, and the pink points are old one.

Do you plan that Sen2Cor corresponds to the change?

tileInfo_new.json (64.4 KB)
tileInfo_old.json (1.5 KB)

0 Likes