Snappy Band Merge: Multiple Source Product


#1

I’m trying to band merge of different product using snappy-python,

On graph-processing (xml), there is parameter to using different product, but i can’t find it on gpt-h documentation.
Here’s how its show on graph:

<node id="BandMerge">
   '<operator>BandMerge</operator>
    <sources>
      <sourceProduct refid="LinearToFromdB"/>
      <sourceProduct.1 refid="Terrain-Correction"/>
    </sources>
    <parameters class="com.bc.ceres.binding.dom.XppDomElement">
      <sourceBands/>
      <geographicError>1.0E-5</geographicError>
    </parameters>
  </node>

How i implement this on python? because usually i only use 1 product, which is like this:

target = GPF.createProduct("BandMerge", parameters, target_5)

i’ve tried to do following, but not working:
target = GPF.createProduct(“BandMerge”, parameters, target_5, target_6)
target = GPF.createProduct(“BandMerge”, parameters, ‘target_5 , target_6’)

Thank You

EDIT(SOLVED):
target = GPF.createProduct(“BandMerge”, parameters, (target_5, target_6))