LinuxCommandLibrary

esa-snap

Process satellite imagery data with ESA SNAP

TLDR

Display all updates

$ snap --nosplash --nogui --modules --list --refresh
copy

Display help
$ snap --help
copy

SYNOPSIS

esa-snap [options]

PARAMETERS

gpt
    Graph Processing Tool. gpt is used to execute a processing graph defined in an XML file. This is the primary way to automate processing workflows within SNAP.

DESCRIPTION

The `esa-snap` command provides a command-line interface to interact with the ESA SNAP (Sentinel Application Platform) software. SNAP is a powerful toolbox primarily used for processing and analyzing Earth Observation data, especially data from the Sentinel satellites but also other sources. The `esa-snap` CLI allows users to automate processing workflows, perform batch processing of images, execute complex algorithms, and integrate SNAP functionality into scripts and larger applications. This is particularly useful for tasks that require repetitive or scheduled processing, or for building custom processing chains. The specific subcommands and options available within `esa-snap` reflect the capabilities available within the SNAP toolbox itself, allowing for tasks such as reading and writing data in various formats, applying processing operators, generating statistics, and performing more advanced analysis.

Note that this is just a command-line interface for an existing application. All functionality resides within the SNAP libraries. The purpose of this cli is to allow users to run SNAP processing graphs without using the GUI.

GRAPH PROCESSING TOOL (GPT) EXAMPLE

Example using gpt: esa-snap gpt my_graph.xml -Pinput=input.dim -Poutput=output.dim. This runs the graph defined in my_graph.xml, setting the 'input' parameter to the file 'input.dim' and the 'output' parameter to 'output.dim'.

SNAP AND GPT USAGE

SNAP is developed by the European Space Agency (ESA). The 'gpt' subcommand of esa-snap is central to using SNAP in a headless (command-line only) mode, enabling integration into automated processing pipelines. It works by reading an XML file which describes the graph and applying the processing to it.

Note that the SNAP installation needs to be correct and accessible to the command line. It requires the correct environment set up and dependencies.

SEE ALSO

snap(1)

Copied to clipboard