GithubHelp home page GithubHelp logo

mssjoud / s2tbx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from senbox-org/s2tbx

0.0 0.0 0.0 871.46 MB

Sentinel 2 Toolbox (s2tbx)

License: GNU General Public License v3.0

Java 90.74% Haskell 0.31% HTML 5.91% CSS 1.47% Python 0.73% C 0.04% XSLT 0.79%

s2tbx's Introduction

Build Status

Sentinel-2 Toolbox (S2TBX)

A toolbox for the MSI instruments on board of ESA's Sentinel-2 satellite.

The project page of SNAP, and the sentinel toolboxes can be found at http://step.esa.int. There you can find tutorials, developer guides, a user forum and other interesting things.

Building S2TBX from the source

Download and install the required build tools

  • Install Java 8 JDK and set JAVA_HOME accordingly. A distribution of OpenJDK is suggested. Several distributions are available, for example
  • Install Maven and set MAVEN_HOME accordingly.
  • Install git

Add $JAVA_HOME/bin, $MAVEN_HOME/bin to your PATH.

Clone the S2TBX source code and related repositories into a directory referred to as ${snap} from here on

cd ${snap}
git clone https://github.com/senbox-org/s2tbx.git
git clone https://github.com/senbox-org/snap-desktop.git
git clone https://github.com/senbox-org/snap-engine.git

Build SNAP-Engine:

cd ${snap}/snap-engine
mvn install

Build SNAP-Desktop:

cd ${snap}/snap-desktop
mvn install

Build Sentinel-2 Toolbox:

cd ${snap}/s2tbx
mvn install

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 s2tbx 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: --userdir "${snap}/s2tbx/target/userdir" --clusters "${snap}/s2tbx/s2tbx-kit/target/netbeans_clusters/s2tbx" --patches "${snap}/snap-engine/$/target/classes;${snap}/s2tbx/$/target/classes" Working directory: ${snap}/snap-desktop/snap-application/target/snap/ Use classpath of module: snap-main

Enjoy!

s2tbx's People

Contributors

a-draghici avatar amondot avatar blucian avatar bradh avatar denisastefanescu avatar dependabot[bot] avatar dolaf avatar forman avatar gprat31 avatar heptaflar avatar jeancoravu avatar julienmalik avatar kraftek avatar lveci avatar mandarancio avatar marpet avatar martin-boettcher avatar mzuehlke avatar nducoin avatar oanahogoiu avatar obarrilero avatar oscarpicas avatar petermaloney avatar ramonamanda avatar sabineembacher avatar toniof avatar umwilm 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.