Empty <sourceBands> does not select all S1 bands in SNAP 8 graphs

Hello,

I am experiencing a problem that was not present up in SNAP7 and seems to have been introduced with SNAP8.

In SNAP7, when I specified an empty tag (i.e. ) in the XML code of a SNAP graph, I got all the available bands selected. In this way in a given block (for example the multilook block or the land-sea-mask block) all the available bands of the product could be passed to the next block for processing.

In SNAP8 this does not work anymore, and you have to explicitly specify all the bands within the two … tags. This is made more difficult by the fact that the bands name contain the date of the product with its peculiar syntax.

Could this be a software bug?

I noticed that when an empty tag is specified, the coherence is the only band written into files.
On the contrary, when all bands are explicitly specified, they are all written to files with the only exception of the coherence.

All the above happens both in SNAP GUI and with command line GPT. As already mentioned, in SNAP7 the problem did not occur.

Anybody has previously had the same problem and has solved it? Maybe somebody may identify a possible solution?

Thanks in advance.

An example of a graph which encounters this problem is attached below:

<graph id="Graph">
  <version>1.0</version>
  <node id="Read">
    <operator>Read</operator>
    <sources/>
    <parameters class="com.bc.ceres.binding.dom.XppDomElement">
      <file>path/filename</file>
    </parameters>
  </node>
  <node id="TopoPhaseRemoval">
    <operator>TopoPhaseRemoval</operator>
    <sources>
      <sourceProduct refid="Read"/>
    </sources>
    <parameters class="com.bc.ceres.binding.dom.XppDomElement">
      <orbitDegree>3</orbitDegree>
      <demName>SRTM 3Sec</demName>
      <externalDEMFile/>
      <externalDEMNoDataValue>0.0</externalDEMNoDataValue>
      <tileExtensionPercent>100</tileExtensionPercent>
      <outputTopoPhaseBand>false</outputTopoPhaseBand>
      <outputElevationBand>false</outputElevationBand>
      <outputLatLonBands>false</outputLatLonBands>
    </parameters>
  </node>
  <node id="GoldsteinPhaseFiltering">
    <operator>GoldsteinPhaseFiltering</operator>
    <sources>
      <sourceProduct refid="TopoPhaseRemoval"/>
    </sources>
    <parameters class="com.bc.ceres.binding.dom.XppDomElement">
      <alpha>1.0</alpha>
      <FFTSizeString>64</FFTSizeString>
      <windowSizeString>3</windowSizeString>
      <useCoherenceMask>false</useCoherenceMask>
      <coherenceThreshold>0.2</coherenceThreshold>
    </parameters>
  </node>
  <node id="Multilook">
    <operator>Multilook</operator>
    <sources>
      <sourceProduct refid="GoldsteinPhaseFiltering"/>
    </sources>
    <parameters class="com.bc.ceres.binding.dom.XppDomElement">
      <sourceBands/>
      <nRgLooks>4</nRgLooks>
      <nAzLooks>1</nAzLooks>
      <outputIntensity>false</outputIntensity>
      <grSquarePixel>true</grSquarePixel>
    </parameters>
  </node>
  <node id="Land-Sea-Mask">
    <operator>Land-Sea-Mask</operator>
    <sources>
      <sourceProduct refid="Multilook"/>
    </sources>
    <parameters class="com.bc.ceres.binding.dom.XppDomElement">
      <sourceBands/>
      <landMask>false</landMask>
      <useSRTM>true</useSRTM>
      <geometry/>
      <invertGeometry>false</invertGeometry>
      <shorelineExtension>0</shorelineExtension>
    </parameters>
  </node>
  <node id="SnaphuExport">
    <operator>SnaphuExport</operator>
    <sources>
      <sourceProduct refid="Land-Sea-Mask"/>
    </sources>
    <parameters class="com.bc.ceres.binding.dom.XppDomElement">
      <targetFolder>path</targetFolder>
      <statCostMode>DEFO</statCostMode>
      <initMethod>MCF</initMethod>
      <numberOfTileRows>10</numberOfTileRows>
      <numberOfTileCols>10</numberOfTileCols>
      <numberOfProcessors>8</numberOfProcessors>
      <rowOverlap>200</rowOverlap>
      <colOverlap>200</colOverlap>
      <tileCostThreshold>500</tileCostThreshold>
    </parameters>
  </node>
  <node id="Write">
    <operator>Write</operator>
    <sources>
      <sourceProduct refid="Land-Sea-Mask"/>
    </sources>
    <parameters class="com.bc.ceres.binding.dom.XppDomElement">
      <file>path/filename</file>
      <formatName>BEAM-DIMAP</formatName>
    </parameters>
  </node>
  <applicationData id="Presentation">
    <Description/>
    <node id="Read">
            <displayPosition x="24.0" y="53.0"/>
    </node>
    <node id="TopoPhaseRemoval">
      <displayPosition x="265.0" y="145.0"/>
    </node>
    <node id="GoldsteinPhaseFiltering">
      <displayPosition x="544.0" y="149.0"/>
    </node>
    <node id="Multilook">
      <displayPosition x="765.0" y="152.0"/>
    </node>
    <node id="Land-Sea-Mask">
      <displayPosition x="864.0" y="161.0"/>
    </node>
    <node id="SnaphuExport">
      <displayPosition x="981.0" y="257.0"/>
    </node>
    <node id="Write">
            <displayPosition x="1020.0" y="151.0"/>
    </node>
  </applicationData>
</graph>