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
- ${SNAP-INSTALL-DIR}/bin/gpt
To obtain general help on the graph processing, use the command
- ${SNAP-INSTALL-DIR}/bin/gpt -h
Specific help on the IdePix processor for a given instrument can be
obtained with
- ${SNAP-INSTALL-DIR}/bin/gpt -h
Snap.Idepix.<Instrument>
so we have here for MODIS:
- ${SNAP-INSTALL-DIR}/bin/gpt -h Idepix.Modis
(Note that MODIS is a special case for this notation as it is flown
on the two platforms AQUA and TERRA.) In this case, information on
the usage and a list of all available parameters are given. 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>${sourceProduct}</source>
</sources>
<parameters>
<cloudBufferWidth>3</cloudBufferWidth>
</parameters>
</node>
</graph>
This graph can be invoked by the following call on the command
line:
- ${SNAP-INSTALL-DIR}/bin/gpt <graph-file.xml>
-SsourceProduct=<path-to-source-file>