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.
- 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.
Each RS-Addon will provide its own specific installation instructions, which may be found in their respective directory (see above).
- 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 :
- Production-Common (Ingestion, Catalog)
- Monitoring (Processing monitoring & reporting)
In order to build the project from source, first clone the GitHub repository :
git clone https://github.com/COPRS/processing-sentinel-2.gitThen build the docker images:
./gradlew clean build bootBuildImage dockerAnd finally build the zip files:
./rs-addons/build_addons.shThe zip files will be found in the rs-addons folder.
For each RS-Addon, the artifactory repository should contain:
- Docker images for the custom components of the addon in:
https://artifactory.coprs.esa-copernicus.eu/ui/repos/tree/General/rs-docker-private - A zip file (its name includes the version number) for the addon in:
https://artifactory.coprs.esa-copernicus.eu/ui/repos/tree/General/rs-zip-private
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-nameDownload 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)
Using the SCDF GUI, undeploy then destroy all the streams relative to the RS-Addon.
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.
