Command Line Description
Since the Idepix processor makes use of the SNAP graph processing framework, it can be
used also as a command line tool. The graph processing is invoked
by the command
-
${S3TBX-INSTALL-DIR}/bin/gpt
To obtain general help on the graph processing, use the command
-
${S3TBX-INSTALL-DIR}/bin/gpt -h
Specific help on the Idepix processor can be obtained for the supported instruments with
-
${S3TBX-INSTALL-DIR}/bin/gpt -h Idepix.Landsat8
-
${S3TBX-INSTALL-DIR}/bin/gpt -h Idepix.Modis
In this case, information on the usage and a list of all available parameters are given. E.g., for MODIS this looks
like in the figure below.

The Idepix processor parameters can also be specified via a graph xml file.
E.g., a possible graph xml file for MODIS could look like the following. (Note that in principle it is not necessary
to explicitly set parameters if default values shall be used).
<graph id="IdepixModisTest">
<version>1.0</version>
<node id="idepix">
<operator>Idepix.Modis</operator>
<sources>
<source>${modisProduct}</source>
</sources>
<parameters>
<cloudFlaggingStrength>CLOUD_CONSERVATIVE</cloudFlaggingStrength>
</parameters>
<parameters>
<cloudBufferWidth>2</cloudBufferWidth>
</parameters>
<parameters>
<waterMaskResolution>300</waterMaskResolution>
</parameters>
<parameters>
<outputRad2Refl>false</outputRad2Refl>
</parameters>
<parameters>
<outputEmissive>true</outputEmissive>
</parameters>
</node>
</graph>
This graph can be invoked by the following call on the command line:
gpt <graph-file.xml> -SmodisProduct=<path-to-source-file>