Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

XML TagDescription
<name>A unique identifier within SNAP
<alias>A user-friendly alias name to be used e.g. on the command line
<operatorClass>This must be always org.esa.snap.python.gpf.PyOperator

<version>

The version of the operator. It should follow the concept of Semantic Versioning
<authors>The names of the authors

<copyright>

The copyright notice
<description>A short description of the operator shown on the command line
<namedSourceProducts>
<sourceProduct>
<name>myInput</name>
</sourceProduct>
<sourceProduct>
<name>auxProduct</name>

</sourceProduct>

</namedSourceProducts>
This section defines one or more source products. In the GUI currently, one product is supported. On the command line, it is possible to use the names along with the -S option to specify the source product, like -SmyInput=<path>

<parameters>
    <parameter>
      <!--Parameter definiton-->
    <parameter>
<parameters>

In the parameters section, all the parameters needed by the operator are specified. Each parameter is surrounded by the <parameter> tag.

Following The following table shows the possible tags to be sued to configure a parameter (inside the <parameter> tag).

...