Code Monkey home page Code Monkey logo

snap-rut's Introduction

S2-RUT

S2 RUT: Radiometric Uncertainty Tool for Sentinel-2 MSI L1C products (ESA IDEAS+ Programme)

##How to build? First the following tools are needed at least:

  • Oracle JDK version 8 or later
  • Git client for fetching the source code
  • Build tool Maven must be installed (version 3 or later)

Clone or fork the repository at GitHub

> git clone https://github.com/senbox-org/snap-rut.git
> cd snap-rut

You can update your checked-out sources from the remote repository by running

> git pull --rebase

Incremental build with Maven:

> mvn package

Clean build:

> mvn clean package

If you encounter test failures:

> mvn clean package -DskipTests=true

The build creates a SNAP plugin module file <project_dir>/target/nbm/snap-rut-<version>.nbm

How to install and run the processor as SNAP plugin

Start SNAP (Desktop UI) and find the plugin manager in the main menu at

Tools / Plugins

Then

  • select tab Downloaded,
  • click button Add Files and
  • select the plugin module file <project_dir>/target/nbm/s3tbx-c2rcc-<version>.nbm.
  • Click Install,
  • then Close and
  • restart SNAP.

Once the S2-RUT processor is installed into SNAP it can be run from the SNAP Desktop UI's main menu at Optical / Preprocessing / Sentinel-2 Radiometric Uncertainty Tool

Or in batch mode using SNAP's gpt command-line tool found in ${SNAP_HOME}/bin:

> gpt S2RutOp -h

For general help on using gpt call:

> gpt -h

How to Configure SNAP to pick up the build output automatically

Find the etc folder in the SNAP installation directory. Inside this directory you will find the snap.conf file. Change the access right of it so that you are allowed to make changes to it. There you will find the extra_clusters property. Specify the path, to the cluster folder of the build output directory.

extra_clusters="<project_dir>/target/nbm/netbeans/snap"

Ensure to remove the '#' character at the beginning of the line.

Now when you start SNAP the build output is automatically used by SNAP and you can test the latest builds.

snap-rut's People

Contributors

marpet avatar forman avatar

Watchers

James Cloos avatar Arta Dilo 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.