Dear All,
I am trying to isolate a problem with SliceAssembly of 2 SLC scenes.
My graph is pretty standard:
<graph id="Graph">
<version>1.0</version>
<node id="ProductSet-Reader">
<operator>ProductSet-Reader</operator>
<sources/>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<fileList>$infile_first,$infile_second</fileList>
</parameters>
</node>
<node id="SliceAssembly">
<operator>SliceAssembly</operator>
<sources>
<sourceProduct refid="ProductSet-Reader"/>
</sources>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<selectedPolarisations>VV,VH</selectedPolarisations>
</parameters>
</node>
<node id="Write">
<operator>Write</operator>
<sources>
<sourceProduct refid="SliceAssembly"/>
</sources>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<file>$outfile</file>
<formatName>BEAM-DIMAP</formatName>
</parameters>
</node>
<applicationData id="Presentation">
<Description/>
<node id="Read">
<displayPosition x="31.0" y="54.0"/>
</node>
<node id="Read(2)">
<displayPosition x="33.0" y="157.0"/>
</node>
<node id="SliceAssembly">
<displayPosition x="150.0" y="102.0"/>
</node>
<node id="Write">
<displayPosition x="521.0" y="100.0"/>
</node>
</applicationData>
</graph>
and the call is:
~/snap/bin/gpt /home/user/S1/sliceAssembly.xml -Pinfile_first=/mnt/data/S1/NL/S1A_IW_SLC__1SDV_20181116T054946_20181116T055013_024609_02B3E4_8F10.zip -Pinfile_second=/mnt/data/S1/NL/S1A_IW_SLC__1SDV_20181116T055011_20181116T055038_024609_02B3E4_8609.zip -Poutfile=/home/user/S1/test_asm.dim
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Initializing external tool adapters
Executing processing graph
java.lang.NullPointerException
done.
Scenes are definitely adjacent (already processed to coherence as individual pairs with the matching image of 20181110.
(I updated snap yesterday).
I also tried feeding the SliceAssembly node with 2 separate Read nodes, for the 2 individual products, but same problem.
I checked the forum. Any hint or a working example appreciated.
Guido