S3 addLandCover error: The Product already contains a band with the name 'F1_exception_in'

Good morning,

I use Snap 7.0 and this is my graph:

<?xml version="1.0" encoding="UTF-8"?>
<graph>
  <version>1.0</version>
  <node id="Read">
    <operator>Read</operator>
    <sources/>
    <parameters class="com.bc.ceres.binding.dom.XppDomElement">
      <formatName>Sen3_SLSTRL1B_500m</formatName>
      <file>/workspace/data/S3A_SL_1_RBT____20190826T140456_20190826T140756_20190827T175944_0179_048_281_3060_LN2_O_NT_003/S3A_SL_1_RBT____20190826T140456_20190826T140756_20190827T175944_0179_048_281_3060_LN2_O_NT_003.SEN3/xfdumanifest.xml</file>
    </parameters>
  </node>
  <node id="Rad2Refl">
    <operator>Rad2Refl</operator>
    <sources>
      <sourceProduct refid="Read"/>
    </sources>
    <parameters class="com.bc.ceres.binding.dom.XppDomElement">
      <copyTiePointGrids>true</copyTiePointGrids>
      <sensor>SLSTR_500m</sensor>
      <copyFlagBandsAndMasks>true</copyFlagBandsAndMasks>
      <conversionMode>RAD_TO_REFL</conversionMode>
      <copyNonSpectralBands>true</copyNonSpectralBands>
    </parameters>
  </node>
  <node id="Resample">
    <operator>Resample</operator>
    <sources>
      <sourceProduct refid="Rad2Refl"/>
    </sources>
    <parameters class="com.bc.ceres.binding.dom.XppDomElement">
      <resamplingPreset/>
      <referenceBandName>F1_BT_in</referenceBandName>
      <resampleOnPyramidLevels>true</resampleOnPyramidLevels>
      <targetResolution/>
      <flagDownsamplingMethod>First</flagDownsamplingMethod>
      <upsamplingMethod>Nearest</upsamplingMethod>
      <targetHeight/>
      <targetWidth/>
      <downsamplingMethod>First</downsamplingMethod>
      <bandResamplings/>
    </parameters>
  </node>
  <node id="Reproject">
    <operator>Reproject</operator>
    <sources>
      <sourceProduct refid="Resample"/>
    </sources>
    <parameters class="com.bc.ceres.binding.dom.XppDomElement">
      <pixelSizeX/>
      <height/>
      <includeTiePointGrids>true</includeTiePointGrids>
      <referencePixelX/>
      <pixelSizeY/>
      <easting/>
      <tileSizeY/>
      <width/>
      <orthorectify>false</orthorectify>
      <crs>EPSG:4326</crs>
      <noDataValue/>
      <resamplingName>Nearest</resamplingName>
      <referencePixelY/>
      <northing/>
      <wktFile/>
      <elevationModelName/>
      <addDeltaBands>false</addDeltaBands>
      <tileSizeX/>
      <orientation>0</orientation>
    </parameters>
  </node>
  <node id="Subset">
    <operator>Subset</operator>
    <sources>
      <sourceProduct refid="Reproject"/>
    </sources>
    <parameters class="com.bc.ceres.binding.dom.XppDomElement">
      <copyMetadata>false</copyMetadata>
      <geoRegion>POLYGON((-67.698 -7.798,-67.258 -9.796,-64.072 -9.015,-64.907 -7.275,-67.698 -7.798))</geoRegion>
      <bandNames/>
      <referenceBand/>
      <tiePointGridNames/>
      <region/>
      <fullSwath>false</fullSwath>
      <subSamplingX>1</subSamplingX>
      <subSamplingY>1</subSamplingY>
    </parameters>
  </node>
  <node id="AddLandCover">
    <operator>AddLandCover</operator>
    <sources>
      <sourceProduct refid="Subset"/>
    </sources>
    <parameters class="com.bc.ceres.binding.dom.XppDomElement">
      <resamplingMethod>NEAREST_NEIGHBOUR</resamplingMethod>
      <externalFiles/>
      <landCoverNames>CCILandCover-2015</landCoverNames>
    </parameters>
  </node>
  <node id="Write">
    <operator>Write</operator>
    <sources>
      <sourceProduct refid="AddLandCover"/>
    </sources>
    <parameters class="com.bc.ceres.binding.dom.XppDomElement">
      <clearCacheAfterRowWrite>false</clearCacheAfterRowWrite>
      <deleteOutputOnFailure>true</deleteOutputOnFailure>
      <writeEntireTileRows>true</writeEntireTileRows>
      <formatName>BEAM-DIMAP</formatName>
      <file>temp</file>
    </parameters>
  </node>
</graph>

When I try to run it, I have the following error:

The Product 'Subset_projected_S3A_SL_1_RBT____20190826T140456_20190826T140756_20190827T175944_0179_048_281_3060_LN2_O_NT_003.SEN3_500m_resampled' already contains a band with the name 'F1_exception_in'

Can anyone help, please?

Best regards,
Livio

Hi Livio,

this is an issue in the AddLandCover Operator in version 7.x.
If you update to SNAP 8 it should work.

Thanks so much Marpet for your suggestion