OLCI Anomaly Flagging - Command Line Description |
Since the OLCI Anomaly Flagging 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
To obtain general help on the graph processing, use the command
Specific help on the OLCI Anomaly Flagging processor can be obtained with
In this case, information on the usage and a list of all available parameters are given.
The OLCI Anomaly Flagging processor parameters can also be specified via a graph xml file. A possible graph xml file 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="OlciAnomalyFlaggingGraph"> <version>1.0</version> <node id="anom_flag"> <operator>OlciAnomalyFlagging</operator> <sources> <sourceProduct>${sourceProduct}</sourceProduct> </sources> <parameters> <writeSlopeInformation>true</writeSlopeInformation> </parameters> </node> </graph>
This graph can be invoked by the following call on the command line:
gpt <graph-file.xml> -SsourceProduct=<path-to-source-file>