Skip to content

This repository contains components for sentinel-2 processing chain : preparation workers, execution workers and internal interface management with RS Core components and Object Storage.

License

Notifications You must be signed in to change notification settings

Woljtek/processing-sentinel-2

 
 

Repository files navigation

⤴️ Go back to the Reference System Software repository ⤴️


Processing Sentinel 2

Overview

This repository contains components for the Sentinel 2 processing chain.
They are grouped by processing level, and deployed using a separate rs-addon for each level.

Each rs-addon includes : preparation worker, execution worker(s) and internal interface management with rs-core components and Object Storage.

Basic workflow :

  • The S2_L0U addon consumes Session data to produce basic datastrips/granules, SAD, and HKTM files.
  • The S2_L0C addon uses the output of S2_L0U to produce L0 products.

For more information: Sentinel 2 website.

Available RS Addons

Installation

Each RS-Addon will provide its own specific installation instructions, which may be found in their respective directory (see above).

Prerequisites

  • Infrastructure : all the required tools (such as Kafka and MongoDB) are included in the RS infrastructure installation.
    See Reference System Software Infrastructure for details.
  • RS-Core : all the required components can be found in the following repositories :

Build

In order to build the project from source, first clone the GitHub repository :

git clone https://github.com/COPRS/processing-sentinel-2.git

Then build the docker images:

./gradlew clean build bootBuildImage docker

And finally build the zip files:

./rs-addons/build_addons.sh

The zip files will be found in the rs-addons folder.

Repository content

For each RS-Addon, the artifactory repository should contain:

Using Ansible

Run the deploy-rs-addon.yaml playbook with the following variables:

  • stream_name: name given to the stream in Spring Cloud Dataflow
  • rs_addon_location: direct download url of the zip file or zip location on the bastion

Example:

ansible-playbook deploy-rs-addon.yaml \
    -i inventory/mycluster/hosts.yaml \
    -e rs_addon_location=https://artifactory.coprs.esa-copernicus.eu/artifactory/demo-zip/demo-rs-addon.zip \
    -e stream_name=example-stream-name

Manual Install

Download and extract the zip file for the RS-Addon to install.
If necessary, edit the parameters as required (See the specific addon release note for parameters description).

  • Create all objects defined by files in Executables/additional_resources
  • Using the SCDF GUI:
    • Register the applications using the content of the stream-application-list.properties file
    • Create the streams using the content fo the stream-definition.properties file
    • Deploy the stream using the properties defined in the stream-parameters.properties file (removing comments)

Uninstall

Using the SCDF GUI, undeploy then destroy all the streams relative to the RS-Addon.

Copyright and license

The Reference System Software as a whole is distributed under the Apache License, version 2.0. A copy of this license is available in the LICENSE file. Reference System Software depends on third-party components and code snippets released under their own license (obviously, all compatible with the one of the Reference System Software). These dependencies are listed in the NOTICE file.

About

This repository contains components for sentinel-2 processing chain : preparation workers, execution workers and internal interface management with RS Core components and Object Storage.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 81.1%
  • Shell 12.1%
  • Python 6.2%
  • Dockerfile 0.6%