I have a graph XML which I’m trying to run using GPT, but no matter what I try I can’t get the program to successfully feed the source file to the graph.
The XML starts like this:
<graph id="Graph">
<version>1.0</version>
<node id="Read">
<operator>Read</operator>
<sources/>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<file>${source}</file>
</parameters>
</node>
...
But when I try to call gpt with gpt resample.xml data/S2A[...].SAFE
it prints a bunch of errors as it tries to use different plugins, and exits with
Error: [NodeId: Read] No product reader found for file ${source}
Which looks like it’s just not substituting the ${source}
target in the XML file with the path to the source, despite this looking like the way I’ve seen gpt used in the documentation.
I’ve tried calling it as gpt resample.xml -Ssource=S2A...
as well, but it fails as well, giving the following error message
Error: [NodeId: Read] No product reader found for file ReadOp@source
which doesn’t look like exactly the same problem but is still clearly not working.
Any help would be much appreciated.