Running the s1tbx after github source build?

Hi,

I managed to compile the latest github source following instructions in the README.md. I am not using the IntelliJ IDEA. What are the steps to actually run the code, esp. gpt.sh command line tools?

Strangely, I am sure I succeeded with an earlier version (<1.1.0), but can’t recall how it was done.

The instruction leaves out the requirement to mvn install the snap-installer. Not sure if that’s relevant.

I compile on Ubuntu 14.04 64 bit and use - -Dmaven.test.skip=true because tests do not compete correctly.

Guido

Ok, found the bin directory in /SNAP/snap-desktop/snap-application/target/snap/bin to run the interactive tool.

This version says it is SNAP 2.0 Beta 5.0 (version 2.0.0-20150723) though, so it is unlikely to include the resolution of issues that occur in Beta 6.0 and 7.0. I am a bit puzzled that the github version is OLDER than the Beta 7.0 release!?

I tested terrain flattening but it has the same problems as before, but that’s not a surprise.

GL

SNAP 2.0 Beta 5.0 (version 2.0.0-20150723)??? That’s not the master trunk…

Install git and execute this code on the dir you want. I used /home/user/GIT/SNAP

git clone https://github.com/senbox-org/s1tbx.git

git clone https://github.com/senbox-org/snap-desktop.git

git clone https://github.com/senbox-org/snap-engine.git

git clone https://github.com/senbox-org/snap-installer.git

echo “s1tbx”
cd /home/user/GIT/SNAP/s1tbx
git checkout master
git pull
echo “”

echo “s2tbx”
cd /home/user/GIT/SNAP/s2tbx
git checkout master
git pull
echo “”

echo “snap-desktop”
cd /home/user/GIT/SNAP/snap-desktop
git checkout master
git pull
echo “”

echo “snap-engine”
cd /home/user/GIT/SNAP/snap-engine
git checkout master
git pull
echo “”

echo “snap-installer”
cd /home/user/GIT/SNAP/snap-installer
git checkout master
git pull
echo “”

cd /home/user/GIT/SNAP/snap-engine
mvn clean install -Dmaven.test.skip=true

cd /home/user/GIT/SNAP/snap-desktop
mvn clean install -Dmaven.test.skip=true

cd /home/user/GIT/SNAP/s1tbx
mvn clean install -Dmaven.test.skip=true

cd /home/user/GIT/SNAP/s2tbx
mvn clean install -Dmaven.test.skip=true

With install4j installed, go to the ./SNAP/installer dir and open snap.install4j

I obtained acceptable results with radiometric terrain flattening using an external DEM SRTM 1 arcsec lat long WGS84 ellipsoid height, with notable striping on the steep hillsides shadow.

I did not yet test this last commit on Terrain Flattening code:

Great Luis! This gives me the Beta 8! I will try out the terrain-flattening asap.

Would be very useful if your instructions were in the README.md instead.
The install4j step is described nowhere. Too bad that part is not open source.

Guido

Yeah, using install4j was the faster way I fond to build the code on Unix/Linux. But that’s a commercial 90 days trial version…