Sen2Cor (2.5.5) Error in creating L2A User Product - Operation mode PDGS is not supported


#1

Problem:
I’m running Sen2Cor with different tiles and got errors in creating L2A User Product while operation mode PDGS is not supported.

System:
Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-85-generic x86_64)

Archives:
S2A_MSIL1C_20170413T104021_N0204_R008_T31TFJ_20170413T104021.SAFE.zip

Sen2Cor:
Sentinel-2 Level 2A Processor (Sen2Cor).
Version: 2.5.5, created: 2018.03.19

Error Message:

Running Sen2Cor  with Command: L2A_Process S2A_MSIL1C_20170413T104021_N0204_R008_T31TFJ_20170413T104021.SAFE
Operation mode PDGS is not supported for Product version 14.2.
Operation mode will be reset to TOOLBOX.
Sentinel-2 Level 2A Processor (Sen2Cor). Version: 2.5.5, created: 2018.03.19, supporting Level-1C product version <= 14.5 started ...
Product version: 14.2. Operation mode: TOOLBOX. Processing baseline: 02.04.
[CRITICAL]  L2A_Config: 3181   Error in creating L2A User Product [Errno 2] No such file or directory: '/wd/S2A_MSIL1C_20170413T104021_N0204_R008_T31TFJ_20170413T104021.SAFE/AUX_DATA'
[CRITICAL]  L2A_Config: 3181   Error in creating L2A User Product [Errno 2] No such file or directory: '/wd/S2A_MSIL1C_20170413T104021_N0204_R008_T31TFJ_20170413T104021.SAFE/AUX_DATA'

Error message Fix:
I patched the L2A_Config.py and modified the error output, that it shows the error message after [Errno 2].

Output:
Nothing

Expected Output:
S2A_MSIL2A_20170413T104021_N0204_R008_T31TFJ_20170413T104021.zip

Additional Information:
All other files have this PDGS mode and everything works fine.

Running Sen2Cor with Command: L2A_Process S2A_MSIL1C_20180614T020651_N0206_R103_T55WEU_20180614T040448.SAFE Product version: 14.5. Operation mode: PDGS. Processing baseline: 02.06.

Question:
Will there be a fix for this in the future?


#2

I received this error twice.
I’m not completely certain however this is what I did and did not receive the error again:
-My file pathway to the .SAFE file was incorrect.
-The other time it seems because the automatic .zip extractor for my download manager seemed to extract the .SAFE files incorrectly. I re-extracted the files using the Windows embedded extractor and this error was not received.


#3

Thank you very much! I’ll test this and will reply back soon!