Git Product home page Git Product logo

s1tbx's Introduction

The SENTINEL-1 Toolbox

Build Status

Building S1TBX from the source

  1. Download and install the required build tools

    • Install J2SE 1.8 JDK and set JAVA_HOME accordingly.
    • Install Maven and set MAVEN_HOME accordingly.
    • Install git
  2. Add $JAVA_HOME/bin, $MAVEN_HOME/bin to your PATH.

  3. Clone the S1TBX source code and related repositories into 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

  4. CD into SNAP/snap-engine:

    mvn install

  5. CD into SNAP/snap-desktop:

    mvn install

  6. CD into SNAP/s1tbx:

    mvn install

  7. If unit tests are failing, you can use the following to skip the tests

    mvn clean mvn install -Dmaven.test.skip=true

Setting up IntelliJ IDEA

  1. Create an empty project with the SNAP/ directory as project directory

  2. Import the pom.xml files of snap-engine, snap-desktop and s1tbx as modules. Ensure not to enable the option 'Create module groups for multi-module Maven projects'. Everything can be default values.

  3. Set the used SDK for the main project. A JDK 1.8 or later is needed.

  4. Use the following configuration to run SNAP in the IDE:

    • Main class: org.esa.snap.nbexec.Launcher

    • VM parameters: -Dsun.awt.nopixfmt=true -Dsun.java2d.noddraw=true -Dsun.java2d.dpiaware=false All VM parameters are optional

    • Program arguments: --clusters "E:\build\SNAP\s1tbx\s1tbx-kit\target\netbeans_clusters\s1tbx";"E:\build\SNAP\s1tbx\s1tbx-kit\target\netbeans_clusters\rstb" --patches "E:\build\SNAP\snap-engine$\target\classes";"E:\build\SNAP\s1tbx$\target\classes";"E:\build\SNAP\s1tbx\rstb$\target\classes"

    • Working directory: SNAP/snap-desktop/snap-application/target/snap/

    • Use classpath of module: snap-main

Enjoy!

s1tbx's People

Contributors

marpet avatar ceciliaarray avatar sstankovic avatar forman avatar valgur avatar julienmalik avatar emanuelaboros avatar toniof avatar esteban-aguilera-skygeo avatar erikhaugen avatar mzuehlke avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.