Estimate B620 for S2 (CLI)
Overview
The processor can be used with the command line tool
gpt. General information about GPF and GPT can be
found on their help
pages. Specific help for the S2B620 processor can be obtained
with: ${SNAP-INSTALL-DIR}/bin/gpt -h S2B620
 This will show the following help:
Usage:
  gpt S2B620 [options] 
Description:
  Derive band at 620 using the band at 665.
Source Options:
  -SsourceProduct=<file>    An atmospherically corrected Sentinel-2 product
                            This is a mandatory source.
Parameter Options:
  -PincludeSourceBands=<boolean>    Whether to include source data or only generate band at 620nm
                                    Default value is 'True'.
  -PlimitInputRange=<boolean>       Limit input range [0, 0.065]
                                    Default value is 'True'.
  -Pshapefile=<path>                An ESRI shapefile, providing the considered geographical region(s).
  -PvalidExpression=<string>        The valid expression defining the considered geographical region.
  -PwktRegion=<geometry>            The considered geographical region as a geometry in well-known text format (WKT).
Graph XML Format:
  <graph id="someGraphId">
    <version>1.0</version>
    <node id="someNodeId">
      <operator>S2B620</operator>
      <sources>
        <sourceProduct>${sourceProduct}</sourceProduct>
      </sources>
      <parameters>
        <limitInputRange>boolean</limitInputRange>
        <validExpression>string</validExpression>
        <shapefile>path</shapefile>
        <wktRegion>geometry</wktRegion>
        <includeSourceBands>boolean</includeSourceBands>
      </parameters>
    </node>
  </graph>
Parameters
| sourceProduct | This defines the source product on which the processing is
performed. The product must contain a band at 665 nm. | 
| limitInputRange | Whether the input range should be limited to the reliable value
range. The range is defined * as [0, 0.065]. | 
| validExpression | This expression defines which pixels are valid for processing.
It must follow the rules of Band Maths. | 
| shapefile | A shapefile can be selected to define the valid region for the
processing. | 
| wktRegion | A geometry using WGS84 coordinates can be specified following
the WKT Format. | 
| includeSourceBands | Whether to include source data or only generate the band at 620
nm. |