C2RCC.MSI Error: No product reader found

Dear All,

I am trying to use the gpt command to run graphs by python,but I encountered an error:

Error: [NodeId: Read] No product reader found for file ‘F:\optical\test\S2B_MSIL1C_20181101T025839_N0206_R032_T50RKV_20181101T055403.SAFE\INSPIRE.xml’.

Kindly help

Hello @fucongju

I believe you are attempting to use the wrong XML. The INSPIRE.xml does not contain the information required.

Cheers

Jan

Jan Jackson
OPT-MPC S2 Technical Manager

Thank you very much for your reply.
The same .xml, which can be executed with the command line that comes with windows, is called with python and this error occurs. The call with python is trying to pass in the corresponding temperature for each image. And calling with command line the temperature directly takes default parameters. Is this the difference?

As Jan said. The wrong XML is used. That’s why the error happens. You should use the MTD_MSIL1C.xml file.
Even on the command line you can specify the parameters.
This is explained in this tutorial:
Bulk Processing with GPT - SNAP - Confluence (atlassian.net)
You just need to find a way to retrieve and set the parameters. This might be easier in Python.

Thank you very much for your reply.
I’ll try to change it again.