Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Requirements

In order to build SNAP and the toolboxes you need the following software

Checkout the source code

...

Info

Some people reported they had to use sudo in front of mvn clean install. Usually it should not be necessary but in case you experience problems try sudo.

Build SNAP source code

In order to build the source code the maven install command should be invoked.

...

Building additional Toolboxes

The following command -lines are for the Sentinel-1 Toolbox (S1TBX)Microwave Toolbox.

Code Block
languagebash
titleBuild S1TBX
cd snap
git clone https://github.com/senbox-org/s1tbxmicrowave-toolbox.git
cd s1tbxmicrowave-toolbox
mvn clean install

If you encounter unit-level test failures, build with tests turned off. Please report this in the forum. Actually we should notice this ourselves but sometimes things can slip through our fingers.

Code Block
languagebash
titleBuild without tests
mvn clean install -DskipTests=true

Procedure for  s2tbx  and  s3tbx  is same as for s1tbx described aboveother toolboxes like the optical or smos toolbox is the same as described above for the microwave toolbox.

You should also consider to checkout the snap-examples project. It might contain valuable example code for you.

...