EOMasters Toolbox Pro

S2 Geometry Up-scaling (CLI)

Overview

The S2 Geometry Up-scaling 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 S2 Geometry Up-scaling processor can be obtained with: ${SNAP-INSTALL-DIR}/bin/gpt -h S2GeometryUpscaler
This will show the following help:

Usage:
  gpt S2GeometryUpscaler [options] 

Description:
  Scales up viewing and solar geometry angles considering the detector footprints.


Source Options:
  -SsourceProduct=<file>    The source product
                            This is a mandatory source.

Parameter Options:
  -PincludeSourceBands=<boolean>      Whether to include source data or only generate geometry bands
                                      Default value is 'True'.
  -PsunGeometryResolution=<string>    Whether all or only one of the resolutions should be generated.
                                      Value must be one of 'All', '10', '20', '60'.
                                      Default value is 'All'.

Graph XML Format:
  <graph id="someGraphId">
    <version>1.0</version>
    <node id="someNodeId">
      <operator>S2GeometryUpscaler</operator>
      <sources>
        <sourceProduct>${sourceProduct}</sourceProduct>
      </sources>
      <parameters>
        <sunGeometryResolution>string</sunGeometryResolution>
        <includeSourceBands>boolean</includeSourceBands>
      </parameters>
    </node>
  </graph>

Parameters

sourceProduct This defines the source product on which the processing is performed. See the input requirements on the product.
sunGeometryResolution Whether all or only one of the resolutions should be generated. Value must be one of 'All', '10', '20' or '60'. Default value is 'All'. If the product is resampled to a common resolution after the geometries have be generated not all of these need to be generated.
includeSourceBands Whether to include source data or only generate geometry bands Default value is 'True'. If you want to generate a product containing only the geometry bands, set this to false. Such a product can be merged with other products of the same scene. For example standard L1C, L2A or a Theia L2a products.