Skip to content

DCS Bash application example for Sentinel-2 Atmospheric Correction

Notifications You must be signed in to change notification settings

ec-melodies/dcs-bash-sentinel2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DCS Bash Application for Sentinel-2 Atmospheric Correction

This processing services applies the SEN2COR atmospheric correction to Sentinel-2 Level 1C tiles. The inputs are thus Sentinel-2 products containing Top of Atmosphere reflectances (TOA) and the outputs are Sentinel-2 products containing the tiles covering the area of interest and containing Bottom of Atmosphere reflectances (BOA).

SEN2COR is a prototype processor for Sentinel-2 Level 2A product formatting and processing. The processor performs the tasks of atmospheric, terrain and cirrus correction and a scene classification of Level 1C input data.

Sentinel-2 Level 2A outputs are:

  • Bottom-Of-Atmosphere (BOA), optionally terrain and cirrus corrected reflectance images
  • Aerosol Optical Thickness
  • Water Vapour
  • Scene Classification maps and Quality Indicators, including cloud and snow probabilities.

Quick links

Getting Started

To run this application you will need a Developer Cloud Sandbox that can be requested at support (at) terradue.com

A Developer Cloud Sandbox provides Earth Sciences data access services, and helper tools for a user to implement, test and validate a scalable data processing application. It offers a dedicated virtual machine and a Cloud Computing environment. The virtual machine runs in two different lifecycle modes: Sandbox mode and Cluster mode. Used in Sandbox mode (single virtual machine), it supports cluster simulation and user assistance functions in building the distributed application. Used in Cluster mode (a set of master and slave nodes), it supports the deployment and execution of the application with the power of distributed computing for data processing over large datasets (leveraging the Hadoop Streaming MapReduce technology).

Installation

Pre-requisites

The requirements of the this application are:

  • miniconda
  • openjpeg2
  • gdal
  • sen2cor

To install these packages, run the simple steps below on the Developer Cloud Sandbox shell:

sudo yum install -y miniconda openjpeg2
sudo conda install -y gdal sen2cor

Using the development version

Install the pre-requisites as instructed above.

Log on the Developer Cloud Sandbox and run these commands in a shell:

cd
git clone https://github.com/ec-melodies/dcs-bash-sentinel2.git
cd dcs-bash-sentinel2
mvn install

Using the release version

Log on the Developer Cloud Sandbox.

Install the package by running this command in a shell:

sudo yum -y install dcs-bash-sentinel2

At this stage there are no releases yet

Submitting the workflow

To submit the application with its default parameters, run the command below in the Developer Cloud Sandbox shell:

ciop-run

Or invoke the Web Processing Service via the Sandbox dashboard.

Community and Documentation

To learn more and find information go to

Authors (alphabetically)

  • Cesare Rossi

Questions, bugs, and suggestions

Please file any bugs or questions as issues or send in a pull request if you corrected any.

License

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Funding

This work has received funding from the European Union’s Seventh Programme for research, technological development and demonstration under grant agreement number 603525.

About

DCS Bash application example for Sentinel-2 Atmospheric Correction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages