Unable to open a UTM zone of 9 L1C tiles

Hi
I’ve just tried to open SciHub product from yesterday (S2A_OPER_PRD_MSIL1C_PDMC_20160909T074155_R046_V20160908T024322_20160908T024321.SAFE) by opening the XML in the usual manner. The product contains two UTM zones: UTM 50 (9 Tiles) and UTM51 (1 Tile). I can open the UTM51, but not the UTM50. My messages.log (attached) provides the following message (which is incomprehensible to me :slight_smile: )

messages.log (44.2 KB)

SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.progress.ui.RunOffEDTImpl$3
java.lang.ArrayIndexOutOfBoundsException: 12
at org.esa.s2tbx.dataio.s2.ortho.Sentinel2OrthoProductReader.addAnglesBands(Sentinel2OrthoProductReader.java:417)
at org.esa.s2tbx.dataio.s2.ortho.Sentinel2OrthoProductReader.getMosaicProduct(Sentinel2OrthoProductReader.java:361)
at org.esa.s2tbx.dataio.s2.Sentinel2ProductReader.readProductNodesImpl(Sentinel2ProductReader.java:155)
at org.esa.snap.core.dataio.AbstractProductReader.readProductNodes(AbstractProductReader.java:169)
at org.esa.s2tbx.dataio.s2.ortho.Sentinel2OrthoProductReaderProxy.readProductNodes(Sentinel2OrthoProductReaderProxy.java:77)
at org.esa.snap.core.dataio.ProductIO.readProduct(ProductIO.java:158)
at org.esa.snap.rcp.actions.file.ReadProductOperation.run(ReadProductOperation.java:37)
at org.netbeans.modules.progress.ui.RunOffEDTImpl$3.run(RunOffEDTImpl.java:275)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

Any clues?

Cheers

Jan

S2 MPC Operations Manager

Hi Jan,

thank you for the report. I have just reproduced the error and discovered a bug in the mosaicking of the angles that affects to some products. We are working on it, the fix will be part of the next module update.

1 Like

Hi Omar,

Thanks for your prompt feedback and analysis.

Cheers

Jan

Hi again Jan,

Analysing the product in detail, i have seen that the granule S2A_OPER_MSI_L1C_TL_SGS__20160908T082050_A006335_T50PRA_N02.04 has an incomplete metadata. If you open the file
"[]\S2A_OPER_PRD_MSIL1C_PDMC_20160909T074155_R046_V20160908T024322_20160908T024321.SAFE\GRANULE\S2A_OPER_MSI_L1C_TL_SGS__20160908T082050_A006335_T50PRA_N02.04\S2A_OPER_MTD_L1C_TL_SGS__20160908T082050_A006335_T50PRA.xml " with a text editor, you can see that there are only angle data for the bands 10, 1, 2 and 7 (and only one detector per band).
We are going to fix the code to notify this correctly to the user and avoid the exception, but i think in this case there is also a problem with the product.

Cheers

Omar.

Hi Omar,

Yes. I think there is a product issue. I’ll flag it.

Cheers

Jan