Requirements
In order to build SNAP and the toolboxes you need the following software
- Java JDK = v8 v11 (Any of the available OpenJDK distributions should work).
An overview and page comparison of some of the available JDKs is provided here: https://devexperts.com/blog/oracle-jdk-vs-openjdk-builds-comparison/
Versions greater than 8 haven't been tested yet.We recommend the Liberica JDK from bellsoft. This can be download from the following page: Download OpenJDK Builds for Linux, Windows & macOS (bell-sw.com) - Maven >= v3.2.5, recommended 3.9.2
- Git
Checkout the source code
...
Info |
---|
Some people reported they had to use |
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 | ||||
---|---|---|---|---|
| ||||
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 | ||||
---|---|---|---|---|
| ||||
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.
...