Welcome to the BEAM Forum!

We encourage you to sign in our forum and participate in the BEAM community. The forum is maintained by the BEAM project team who will most likely answer your questions within 24 hours (except during common holidays) - if not done by other community members. Collaborate, share your knowledge and learn from other users!

If you don't find what you are looking for, please also consider the following external forums:

Combination View Flat View Tree View
Threads [ Previous | Next ]
request for example of xml file of a Merge operator
toggle
Dear forum,

Could you please share an example of how to set up correctly the xml graph for the new Merge operator?
I am not sure what the productId in the include section refers to. It is to the sourceProd name? or "Bands" if I want to select only some bands.

Thanks,

Jose
Flag Flag
RE: request for example of xml file of a Merge operator
5/21/12 10:02 AM as a reply to Jose M. Beltran.
Dear Jose,

In the attachment you can find an example of an xml graph for the new Merge operator (merge_1.xml).
An example call could look like this:

1gpt.bat merge_1.xml -e -f BEAM-DIMAP -t [output dir]merge_1.dim -SmasterProduct=MER_RR__1PNMAP....N1 MER_RR__2PNMAP_0001.N1


I am not sure what the productId in the include section refers to. It is to the sourceProd name? or "Bands" if I want to select only some bands.


You can merge more than 2 products and include or exclude the bands.
e.g. using

1gpt.bat  merge_1.xml -e -f BEAM-DIMAP -t [output dir]merge_1.dim -SmasterProduct=MER_RR__1PMASTER.N1 MER_RR__2P_1.N1 MER_RR__2P_2.N1


 1        <includes>
 2          <include>
 3            <productId>productId0</productId>
 4            <name>reflec_3</name>
 5            <newName>reflec_3</newName>
 6            <name>reflec_5</name>
 7            <newName>reflec_5</newName>
 8            <name>reflec_7</name>
 9            <newName>reflectance_7</newName>
10          </include>
11           <include>
12            <productId>productId1</productId>
13            <name>reflec_2</name>
14            <newName>reflectance_2</newName>
15          </include>
16        </includes>


best regards
Olga
Attachments: merge_1.xml (0.6k)
Flag Flag
RE: request for example of xml file of a Merge operator
5/24/12 3:53 PM as a reply to Olga Faber.
Thank you Olga!emoticon
Flag Flag