Sen2cor (Version: 2.5.5) cannot handle old metadata format

Despite comments here that older S2 metadata files should be handled by the current sen2cor version 2.5.5,
I experience problems with old metadata formats, i.e. these are not processed.

Here’s two file IDs to test:

(no problems:)
S2B_MSIL1C_20180407T102019_N0206_R065_T32TNR_20180407T143030.SAFE

(sen2cor fails: “Product metadata file cannot be read.”):
S2A_MSIL1C_20170208T092131_N0204_R093_T33PWQ_20170208T093135.SAFE

I just tried the second and it works like charm:


Thanks for testing. After re-downloading the scene, it run through fine…
So no issues with old metadata formats :slight_smile:

good to hear! :slight_smile:

hello

i have the same problem with old metadata file. i currently redownload the file (S2A_MSIL1C_20160706T024552_N0204_R132_T49MCN_20160706T030716.SAFE) in https://scihub.copernicus.eu/dhus/#/home and running that file with Sen2Cor-02.10.01-win64 and it fail with “Product metadata file cannot be read.”
does anybody knows how can I fix this? I would really appreciate the help.
thanks

or should i process the file with Sen2Cor_v2.9 or Sen2Cor_v2.5.5?

Dear user,

We recommend using the last available version of Sen2Cor 2.11.

When processing very old products, as suggested in point 14) of Sen2Cor FAQ, it is recommended to use product in SAFE compact format (since PB 02.04) that can be (re)downloaded, for example, from the following links:
https://scihub.copernicus.eu/dhus/#/home or Data and Information Access Services | Copernicus :
e.g. https://creodias.eu/

Please be aware of point 7) of Sen2Cor FAQ if you plan to install Sen2Cor version 2.11 on Linux recent distributions.

Cheers,

@Sen2cor_dev_team