Read S-2 L2A (SEN2COR) with gpt

Hello!

With SNAP GUI I can read and write an S-2 L2A generated with SEN2COR with the Graph Builder.

When I run the same graph with gpt I get:

SEVERE: org.esa.s2tbx.dataio.s2.l1c.L1cMetadata: Product is not conform to PSD: unexpected element (uri:"https://psd-13.sentinel2.eo.esa.int/PSD/User_Product_Level-2A.xsd", local:"Level-2A_User_Product"). Expected elements are <{https://psd-13.sentinel2.eo.esa.int/PSD/S2_PDI_Level-1C_Datastrip_Metadata.xsd}Level-1C_DataStrip_ID>,<{https://psd-13.sentinel2.eo.esa.int/PSD/S2_PDI_Level-1C_Tile_Metadata.xsd}Level-1C_Tile_ID>,<{https://psd-13.sentinel2.eo.esa.int/PSD/User_Product_Level-1C.xsd}Level-1C_User_Product> org.esa.snap.core.gpf.graph.GraphException: Failed to parse metadata in S2A_USER_MTD_SAFL2A_PDMC_20160212T125437_R061_V20160212T035042_20160212T035042.xml

Here’s the graph to help reproducing the behaviour

sIO.xml (1.1 KB)

Any help is appreciated!

I believe this issue is for the developers and not so much for the community. @forman what do you think?

Hello!

I’ve checked if I could submit this issue on the software repo: https://github.com/senbox-org/s2tbx. Issues are not enabled.

Does someone know where to submit issues (not community questions) on the SNAP software?

Thanks!

Hello @jmalik ! I believe you have what it needs to have this issue submitted on SNAP ticketing system, will you help me out with this issue?

I opened the JIRA issue SIITBX-188 for this. It appears that the wrong reader is selected on your case. Thanks for your patience.

Thank you! Looking forward for a fix. Let me know if you need further details, I’d be happy to help!

Hello!

I would like to know if there’s a target date for a release including this patch.

Hello,

It won’t be in the version 3.0 that will be released these days and it needs feature SNAP-66 as explained in the issue, but it should be in done by mid-June, or earlier with a module update if possible. Sorry it can’t be done earlier.

Thanks for the info Nicolas!