Hello,
I encountered a number of syntax inconsistencies when trying to process Sentinel-2 products generated before the naming convention change in Dec 2016 with Sen2Cor 2.4.0.
My Sen2Cor version:
Sentinel-2 Level 2A Processor (Sen2Cor). Version: 2.4.0, created: 2017.06.05,
supporting Level-1C product version: 14.
The fatal error I encountered:
Progress[%]: 28.12 : PID-32562, L2A_Tables: stop export, elapsed time[s]: 0.252
Syntax error in metadata, see report file for details.
Parsing error:
Schema file: S2-PDGS-TAS-DI-PSD-V14.2_Schema/S2_PDI_Level-2A_Tile_Metadata.xsd
Details: Element 'CLOUD_COVERAGE_PERCENTAGE': [facet 'maxInclusive'] The value '100.000002' is greater than the maximum value allowed ('100').
Syntax error in metadata, see report file for details.
Parsing error:
Schema file: S2-PDGS-TAS-DI-PSD-V14.2_Schema/S2_User_Product_Level-2A_Metadata.xsd
Details: Element 'Granules': This element is not expected. Expected is ( Granule ).
Full log:
$ cd S2A_OPER_PRD_MSIL1C_PDMC_20170606T125834_R126_V20151208T164702_20151208T164702.SAFE/GRANULE/
$ L2A_Process S2A_OPER_MSI_L1C_TL_EPA__20170605T115353_A002411_T15SXC_N02.04
Sentinel-2 Level 2A Processor (Sen2Cor), 2.4.0, created: 2017.06.05 started ...
no resolution specified, will process all resolutions.
Progress[%]: 0.03 : PID-32562, L2A_ProcessTile: processing with resolution 60 m, elapsed time[s]: 1.688
Progress[%]: 0.03 : PID-32562, L2A_ProcessTile: start of pre processing, elapsed time[s]: 0.002
Progress[%]: 0.05 : PID-32562, L2A_Tables: start import, elapsed time[s]: 0.980
Progress[%]: 0.06 : PID-32562, L2A_Tables: band B01 imported, elapsed time[s]: 0.723
Progress[%]: 0.26 : PID-32562, L2A_Tables: band B02 imported, elapsed time[s]: 10.911
Progress[%]: 0.46 : PID-32562, L2A_Tables: band B03 imported, elapsed time[s]: 11.066
Progress[%]: 0.66 : PID-32562, L2A_Tables: band B04 imported, elapsed time[s]: 11.221
Progress[%]: 0.72 : PID-32562, L2A_Tables: band B05 imported, elapsed time[s]: 2.941
Progress[%]: 0.77 : PID-32562, L2A_Tables: band B06 imported, elapsed time[s]: 2.802
Progress[%]: 0.82 : PID-32562, L2A_Tables: band B07 imported, elapsed time[s]: 2.933
Progress[%]: 0.87 : PID-32562, L2A_Tables: band B8A imported, elapsed time[s]: 3.050
Progress[%]: 0.88 : PID-32562, L2A_Tables: band B09 imported, elapsed time[s]: 0.452
Progress[%]: 0.89 : PID-32562, L2A_Tables: band B10 imported, elapsed time[s]: 0.329
Progress[%]: 0.94 : PID-32562, L2A_Tables: band B11 imported, elapsed time[s]: 2.929
Progress[%]: 0.99 : PID-32562, L2A_Tables: band B12 imported, elapsed time[s]: 2.896
Progress[%]: 0.99 : PID-32562, L2A_ProcessTile: start of Scene Classification, elapsed time[s]: 0.009
Progress[%]: 1.00 : PID-32562, Pre process , elapsed time[s]: 0.152
Progress[%]: 1.01 : PID-32562, L2A_SC init , elapsed time[s]: 0.806
Progress[%]: 1.02 : PID-32562, L2A_CSND_1_1 , elapsed time[s]: 0.268
Progress[%]: 1.02 : PID-32562, L2A_CSND_1_2 , elapsed time[s]: 0.278
Progress[%]: 1.03 : PID-32562, L2A_CSND_2_0 , elapsed time[s]: 0.720
Progress[%]: 1.04 : PID-32562, L2A_CSND_2_1 , elapsed time[s]: 0.250
Progress[%]: 1.04 : PID-32562, L2A_CSND_2_1_2, elapsed time[s]: 0.179
Progress[%]: 1.04 : PID-32562, L2A_CSND_2_2 , elapsed time[s]: 0.124
Progress[%]: 1.05 : PID-32562, L2A_CSND_2_3 , elapsed time[s]: 0.123
Progress[%]: 1.05 : PID-32562, L2A_CSND_2_4 , elapsed time[s]: 0.208
Progress[%]: 1.06 : PID-32562, L2A_CSND_2_5 , elapsed time[s]: 0.477
Progress[%]: 1.07 : PID-32562, L2A_CSND_3 , elapsed time[s]: 0.366
Progress[%]: 1.07 : PID-32562, L2A_CSND_5_1 , elapsed time[s]: 0.368
Progress[%]: 1.08 : PID-32562, L2A_CSND_5_2 , elapsed time[s]: 0.564
Progress[%]: 1.09 : PID-32562, L2A_CSND_6 , elapsed time[s]: 0.427
Progress[%]: 1.09 : PID-32562, L2A_CSND_6_2 , elapsed time[s]: 0.273
Progress[%]: 1.10 : PID-32562, L2A_CSND_7 , elapsed time[s]: 0.273
Progress[%]: 1.25 : PID-32562, L2A_SHD , elapsed time[s]: 8.317
Progress[%]: 1.26 : PID-32562, DV recovery , elapsed time[s]: 0.313
Progress[%]: 1.26 : PID-32562, WP recovery , elapsed time[s]: 0.313
Progress[%]: 1.27 : PID-32562, Snow recovery , elapsed time[s]: 0.507
Progress[%]: 1.27 : PID-32562, Soil recovery , elapsed time[s]: 0.162
Progress[%]: 1.32 : PID-32562, Post process , elapsed time[s]: 2.770
Progress[%]: 1.32 : PID-32562, L2A_ProcessTile: start of Atmospheric Correction, elapsed time[s]: 0.003
Progress[%]: 1.33 : PID-32562, L2A_AtmCorr: end of calculation terrain maps, elapsed time[s]: 0.597
Progress[%]: 1.33 : PID-32562, L2A_AtmCorr: start of AOT retrieval at 550nm, elapsed time[s]: 0.011
Progress[%]: 1.40 : PID-32562, L2A_AtmCorr: end of internal classification, elapsed time[s]: 3.693
Progress[%]: 1.43 : PID-32562, L2A_AtmCorr: end of interpolation LUTs, elapsed time[s]: 1.351
Progress[%]: 1.43 : PID-32562, L2A_AtmCorr: end retrieving reference pixels for dark areas, elapsed time[s]: 0.002
Progress[%]: 1.52 : PID-32562, L2A_AtmCorr: end of check for dense bright vegetation pixels, elapsed time[s]: 5.186
Progress[%]: 1.56 : PID-32562, L2A_AtmCorr: end of receiving atmospheric functions for all altitudes and visibilities, elapsed time[s]: 2.333
Progress[%]: 1.56 : PID-32562, L2A_AtmCorr: end of AOT retrieval at 550nm, elapsed time[s]: 0.002
Progress[%]: 1.56 : PID-32562, L2A_AtmCorr: start of water vapour retrieval, elapsed time[s]: 0.002
Progress[%]: 1.59 : PID-32562, L2A_AtmCorr: end of water vapour retrieval preparation, elapsed time[s]: 1.699
Progress[%]: 1.99 : PID-32562, L2A_AtmCorr: end of water vapour retrieval, elapsed time[s]: 21.843
Progress[%]: 1.99 : PID-32562, L2A_AtmCorr: preparation of surface reflectance retrieval, elapsed time[s]: 0.002
Progress[%]: 2.08 : PID-32562, L2A_AtmCorr: end of surface reflectance retrieval preparation, elapsed time[s]: 5.161
Progress[%]: 2.44 : PID-32562, L2A_AtmCorr: end of surface reflectance retrieval, elapsed time[s]: 20.054
Progress[%]: 2.62 : PID-32562, L2A_AtmCorr: end of rho retrieval step 2, elapsed time[s]: 9.560
Progress[%]: 2.62 : PID-32562, L2A_ProcessTile: start of post processing, elapsed time[s]: 0.056
Progress[%]: 2.62 : PID-32562, L2A_Tables: start export, elapsed time[s]: 0.002
Progress[%]: 2.62 : PID-32562, L2A_Tables: band B01 exported, elapsed time[s]: 0.292
Progress[%]: 2.63 : PID-32562, L2A_Tables: band B02 exported, elapsed time[s]: 0.276
Progress[%]: 2.63 : PID-32562, L2A_Tables: band B03 exported, elapsed time[s]: 0.276
Progress[%]: 2.64 : PID-32562, L2A_Tables: band B04 exported, elapsed time[s]: 0.278
Progress[%]: 2.64 : PID-32562, L2A_Tables: band B05 exported, elapsed time[s]: 0.277
Progress[%]: 2.65 : PID-32562, L2A_Tables: band B06 exported, elapsed time[s]: 0.280
Progress[%]: 2.65 : PID-32562, L2A_Tables: band B07 exported, elapsed time[s]: 0.283
Progress[%]: 2.66 : PID-32562, L2A_Tables: band B8A exported, elapsed time[s]: 0.284
Progress[%]: 2.66 : PID-32562, L2A_Tables: band B09 exported, elapsed time[s]: 0.271
Progress[%]: 2.67 : PID-32562, L2A_Tables: band B11 exported, elapsed time[s]: 0.279
Progress[%]: 2.67 : PID-32562, L2A_Tables: band B12 exported, elapsed time[s]: 0.269
Progress[%]: 2.68 : PID-32562, L2A_Tables: band SCL exported, elapsed time[s]: 0.168
Progress[%]: 2.68 : PID-32562, L2A_Tables: band SNW exported, elapsed time[s]: 0.164
Progress[%]: 2.68 : PID-32562, L2A_Tables: band CLD exported, elapsed time[s]: 0.207
Progress[%]: 2.69 : PID-32562, L2A_Tables: band AOT exported, elapsed time[s]: 0.192
Progress[%]: 2.69 : PID-32562, L2A_Tables: band WVP exported, elapsed time[s]: 0.223
Progress[%]: 2.70 : PID-32562, L2A_Tables: band PVI exported, elapsed time[s]: 0.288
Progress[%]: 2.71 : PID-32562, L2A_Tables: band TCI exported, elapsed time[s]: 0.820
Progress[%]: 2.71 : PID-32562, L2A_Tables: stop export, elapsed time[s]: 0.011
Syntax error in metadata, see report file for details.
Parsing error:
Schema file: S2-PDGS-TAS-DI-PSD-V14.2_Schema/S2_PDI_Level-2A_Tile_Metadata.xsd
Details: Element 'CLOUD_COVERAGE_PERCENTAGE': [facet 'maxInclusive'] The value '100.000003' is greater than the maximum value allowed ('100').
Progress[%]: 2.74 : PID-32562, L2A_ProcessTile: processing with resolution 20 m, elapsed time[s]: 1.396
Progress[%]: 2.74 : PID-32562, L2A_ProcessTile: start of pre processing, elapsed time[s]: 0.002
Progress[%]: 2.74 : PID-32562, L2A_Tables: start import, elapsed time[s]: 0.098
Progress[%]: 2.93 : PID-32562, L2A_Tables: band B01 imported, elapsed time[s]: 10.825
Progress[%]: 3.18 : PID-32562, L2A_Tables: band B02 imported, elapsed time[s]: 13.410
Progress[%]: 3.42 : PID-32562, L2A_Tables: band B03 imported, elapsed time[s]: 13.668
Progress[%]: 3.67 : PID-32562, L2A_Tables: band B04 imported, elapsed time[s]: 13.634
Progress[%]: 3.72 : PID-32562, L2A_Tables: band B05 imported, elapsed time[s]: 2.675
Progress[%]: 3.77 : PID-32562, L2A_Tables: band B06 imported, elapsed time[s]: 2.581
Progress[%]: 3.81 : PID-32562, L2A_Tables: band B07 imported, elapsed time[s]: 2.594
Progress[%]: 3.86 : PID-32562, L2A_Tables: band B8A imported, elapsed time[s]: 2.708
Progress[%]: 4.06 : PID-32562, L2A_Tables: band B09 imported, elapsed time[s]: 10.798
Progress[%]: 4.25 : PID-32562, L2A_Tables: band B10 imported, elapsed time[s]: 10.776
Progress[%]: 4.30 : PID-32562, L2A_Tables: band B11 imported, elapsed time[s]: 2.516
Progress[%]: 4.34 : PID-32562, L2A_Tables: band B12 imported, elapsed time[s]: 2.597
Progress[%]: 4.34 : PID-32562, L2A_ProcessTile: start of Scene Classification, elapsed time[s]: 0.009
Progress[%]: 4.37 : PID-32562, Pre process , elapsed time[s]: 1.155
Progress[%]: 4.49 : PID-32562, L2A_SC init , elapsed time[s]: 6.705
Progress[%]: 4.52 : PID-32562, L2A_CSND_1_1 , elapsed time[s]: 2.114
Progress[%]: 4.57 : PID-32562, L2A_CSND_1_2 , elapsed time[s]: 2.376
Progress[%]: 4.57 : PID-32562, L2A_CSND_2_0 , elapsed time[s]: 0.371
Progress[%]: 4.61 : PID-32562, L2A_CSND_2_1 , elapsed time[s]: 2.126
Progress[%]: 4.64 : PID-32562, L2A_CSND_2_1_2, elapsed time[s]: 1.488
Progress[%]: 4.66 : PID-32562, L2A_CSND_2_2 , elapsed time[s]: 1.038
Progress[%]: 4.68 : PID-32562, L2A_CSND_2_3 , elapsed time[s]: 1.038
Progress[%]: 4.71 : PID-32562, L2A_CSND_2_4 , elapsed time[s]: 1.762
Progress[%]: 4.79 : PID-32562, L2A_CSND_2_5 , elapsed time[s]: 4.234
Progress[%]: 4.84 : PID-32562, L2A_CSND_3 , elapsed time[s]: 3.158
Progress[%]: 4.90 : PID-32562, L2A_CSND_5_1 , elapsed time[s]: 3.202
Progress[%]: 4.99 : PID-32562, L2A_CSND_5_2 , elapsed time[s]: 4.868
Progress[%]: 5.06 : PID-32562, L2A_CSND_6 , elapsed time[s]: 3.678
Progress[%]: 5.10 : PID-32562, L2A_CSND_6_2 , elapsed time[s]: 2.243
Progress[%]: 5.14 : PID-32562, L2A_CSND_7 , elapsed time[s]: 2.374
Progress[%]: 6.65 : PID-32562, L2A_SHD , elapsed time[s]: 83.488
Progress[%]: 6.70 : PID-32562, DV recovery , elapsed time[s]: 2.672
Progress[%]: 6.74 : PID-32562, WP recovery , elapsed time[s]: 2.620
Progress[%]: 6.83 : PID-32562, Snow recovery , elapsed time[s]: 4.464
Progress[%]: 6.85 : PID-32562, Soil recovery , elapsed time[s]: 1.344
Progress[%]: 6.98 : PID-32562, Post process , elapsed time[s]: 7.191
Progress[%]: 6.98 : PID-32562, L2A_ProcessTile: start of Atmospheric Correction, elapsed time[s]: 0.002
Progress[%]: 7.06 : PID-32562, L2A_AtmCorr: end of calculation terrain maps, elapsed time[s]: 4.183
Progress[%]: 7.06 : PID-32562, L2A_AtmCorr: start of AOT retrieval at 550nm, elapsed time[s]: 0.002
Progress[%]: 7.38 : PID-32562, L2A_AtmCorr: end of internal classification, elapsed time[s]: 17.929
Progress[%]: 7.41 : PID-32562, L2A_AtmCorr: end of interpolation LUTs, elapsed time[s]: 1.523
Progress[%]: 7.41 : PID-32562, L2A_AtmCorr: end retrieving reference pixels for dark areas, elapsed time[s]: 0.002
Progress[%]: 8.17 : PID-32562, L2A_AtmCorr: end of check for dense bright vegetation pixels, elapsed time[s]: 42.181
Progress[%]: 8.35 : PID-32562, L2A_AtmCorr: end of receiving atmospheric functions for all altitudes and visibilities, elapsed time[s]: 9.850
Progress[%]: 8.35 : PID-32562, L2A_AtmCorr: end of AOT retrieval at 550nm, elapsed time[s]: 0.002
Progress[%]: 8.35 : PID-32562, L2A_AtmCorr: start of water vapour retrieval, elapsed time[s]: 0.002
Progress[%]: 8.46 : PID-32562, L2A_AtmCorr: end of water vapour retrieval preparation, elapsed time[s]: 6.376
Progress[%]: 11.14 : PID-32562, L2A_AtmCorr: end of water vapour retrieval, elapsed time[s]: 148.081
Progress[%]: 11.14 : PID-32562, L2A_AtmCorr: preparation of surface reflectance retrieval, elapsed time[s]: 0.022
Progress[%]: 11.26 : PID-32562, L2A_AtmCorr: end of surface reflectance retrieval preparation, elapsed time[s]: 6.399
Progress[%]: 13.29 : PID-32562, L2A_AtmCorr: end of surface reflectance retrieval, elapsed time[s]: 112.454
Progress[%]: 14.97 : PID-32562, L2A_AtmCorr: end of rho retrieval step 2, elapsed time[s]: 92.762
Progress[%]: 14.97 : PID-32562, L2A_ProcessTile: start of post processing, elapsed time[s]: 0.049
Progress[%]: 14.97 : PID-32562, L2A_Tables: start export, elapsed time[s]: 0.003
Progress[%]: 15.02 : PID-32562, L2A_Tables: band B02 exported, elapsed time[s]: 2.501
Progress[%]: 15.06 : PID-32562, L2A_Tables: band B03 exported, elapsed time[s]: 2.495
Progress[%]: 15.11 : PID-32562, L2A_Tables: band B04 exported, elapsed time[s]: 2.496
Progress[%]: 15.15 : PID-32562, L2A_Tables: band B05 exported, elapsed time[s]: 2.500
Progress[%]: 15.20 : PID-32562, L2A_Tables: band B06 exported, elapsed time[s]: 2.535
Progress[%]: 15.24 : PID-32562, L2A_Tables: band B07 exported, elapsed time[s]: 2.511
Progress[%]: 15.29 : PID-32562, L2A_Tables: band B8A exported, elapsed time[s]: 2.553
Progress[%]: 15.34 : PID-32562, L2A_Tables: band B11 exported, elapsed time[s]: 2.471
Progress[%]: 15.38 : PID-32562, L2A_Tables: band B12 exported, elapsed time[s]: 2.431
Progress[%]: 15.41 : PID-32562, L2A_Tables: band SCL exported, elapsed time[s]: 1.588
Progress[%]: 15.44 : PID-32562, L2A_Tables: band SNW exported, elapsed time[s]: 1.558
Progress[%]: 15.47 : PID-32562, L2A_Tables: band CLD exported, elapsed time[s]: 1.890
Progress[%]: 15.50 : PID-32562, L2A_Tables: band AOT exported, elapsed time[s]: 1.798
Progress[%]: 15.54 : PID-32562, L2A_Tables: band WVP exported, elapsed time[s]: 2.137
Progress[%]: 15.57 : PID-32562, L2A_Tables: band VIS exported, elapsed time[s]: 1.596
Progress[%]: 15.74 : PID-32562, L2A_Tables: band TCI exported, elapsed time[s]: 9.153
Progress[%]: 15.74 : PID-32562, L2A_Tables: stop export, elapsed time[s]: 0.069
Syntax error in metadata, see report file for details.
Parsing error:
Schema file: S2-PDGS-TAS-DI-PSD-V14.2_Schema/S2_PDI_Level-2A_Tile_Metadata.xsd
Details: Element 'CLOUD_COVERAGE_PERCENTAGE': [facet 'maxInclusive'] The value '100.000002' is greater than the maximum value allowed ('100').
Progress[%]: 15.74 : PID-32562, L2A_ProcessTile: processing with resolution 10 m, elapsed time[s]: 0.356
Progress[%]: 15.74 : PID-32562, L2A_ProcessTile: start of pre processing, elapsed time[s]: 0.002
Progress[%]: 15.75 : PID-32562, L2A_Tables: start import, elapsed time[s]: 0.126
Progress[%]: 15.95 : PID-32562, L2A_Tables: band B02 imported, elapsed time[s]: 11.513
Progress[%]: 16.16 : PID-32562, L2A_Tables: band B03 imported, elapsed time[s]: 11.360
Progress[%]: 16.37 : PID-32562, L2A_Tables: band B04 imported, elapsed time[s]: 11.332
Progress[%]: 16.58 : PID-32562, L2A_Tables: band B08 imported, elapsed time[s]: 11.841
Progress[%]: 17.36 : PID-32562, L2A_Tables: band AOT imported, elapsed time[s]: 43.345
Progress[%]: 18.13 : PID-32562, L2A_Tables: band WVP imported, elapsed time[s]: 42.332
Progress[%]: 18.91 : PID-32562, L2A_Tables: band VIS imported, elapsed time[s]: 43.352
Progress[%]: 19.70 : PID-32562, L2A_Tables: band SCL imported, elapsed time[s]: 43.343
Progress[%]: 19.70 : PID-32562, L2A_ProcessTile: start of Atmospheric Correction, elapsed time[s]: 0.100
Progress[%]: 20.02 : PID-32562, L2A_AtmCorr: end of calculation terrain maps, elapsed time[s]: 17.580
Progress[%]: 20.02 : PID-32562, L2A_AtmCorr: start of resampling visibility for 10 m resolution, elapsed time[s]: 0.002
Progress[%]: 20.07 : PID-32562, L2A_AtmCorr: end of resampling visibility for 10 m resolution, elapsed time[s]: 3.185
Progress[%]: 20.15 : PID-32562, L2A_AtmCorr: end of AOT retrieval at 550nm, elapsed time[s]: 4.017
Progress[%]: 20.15 : PID-32562, L2A_AtmCorr: preparation of surface reflectance retrieval, elapsed time[s]: 0.002
Progress[%]: 20.26 : PID-32562, L2A_AtmCorr: end of surface reflectance retrieval preparation, elapsed time[s]: 6.382
Progress[%]: 23.32 : PID-32562, L2A_AtmCorr: end of surface reflectance retrieval, elapsed time[s]: 168.968
Progress[%]: 26.12 : PID-32562, L2A_AtmCorr: end of rho retrieval step 2, elapsed time[s]: 154.821
Progress[%]: 26.12 : PID-32562, L2A_ProcessTile: start of post processing, elapsed time[s]: 0.098
Progress[%]: 26.12 : PID-32562, L2A_Tables: start export, elapsed time[s]: 0.003
Progress[%]: 26.34 : PID-32562, L2A_Tables: band B02 exported, elapsed time[s]: 11.973
Progress[%]: 26.56 : PID-32562, L2A_Tables: band B03 exported, elapsed time[s]: 12.353
Progress[%]: 26.78 : PID-32562, L2A_Tables: band B04 exported, elapsed time[s]: 12.030
Progress[%]: 27.00 : PID-32562, L2A_Tables: band B08 exported, elapsed time[s]: 12.254
Progress[%]: 27.18 : PID-32562, L2A_Tables: band AOT exported, elapsed time[s]: 9.588
Progress[%]: 27.36 : PID-32562, L2A_Tables: band WVP exported, elapsed time[s]: 9.963
Progress[%]: 28.11 : PID-32562, L2A_Tables: band TCI exported, elapsed time[s]: 41.769
Progress[%]: 28.12 : PID-32562, L2A_Tables: stop export, elapsed time[s]: 0.252
Syntax error in metadata, see report file for details.
Parsing error:
Schema file: S2-PDGS-TAS-DI-PSD-V14.2_Schema/S2_PDI_Level-2A_Tile_Metadata.xsd
Details: Element 'CLOUD_COVERAGE_PERCENTAGE': [facet 'maxInclusive'] The value '100.000002' is greater than the maximum value allowed ('100').
Syntax error in metadata, see report file for details.
Parsing error:
Schema file: S2-PDGS-TAS-DI-PSD-V14.2_Schema/S2_User_Product_Level-2A_Metadata.xsd
Details: Element 'Granules': This element is not expected. Expected is ( Granule ).
Progress[%]: 100.00 : Application terminated successfully.
Sen2Cor runs fine on data generated after the naming convention change. Any suggestions?
Thanks in advance!