# Analysis-Ready Data for Multi-Spectral Imagery (Sentinel-2)

Executable code for this guide can be found in a dedicated notebook (opens new window).

# Atmospheric correction

The atmospheric correction process can apply a chosen method on raw 'L1C' data. The supported methods and input datasets depend on the back-end, because not every method is validated or works on any dataset, and different back-ends try to offer a variety of options. This gives you as a user more options to run and compare different methods, and select the most suitable one for your case.

To perform an atmospheric correction, the user has to load an uncorrected L1C optical dataset with the load_collection process and immediately apply the atmospheric_correction process to it.

The CARD4L variant of this process is ard_surface_reflectance. This process generates Analysis-Ready Data (ARD) following the CEOS CARD4L specifications (opens new window), and thus can perform additional processing steps, like a BRDF correction, that are not yet available as a separate process.

WARNING

These correction algorithms are typically tightly coupled with the raw data, so it is important they are applied immediately after the load_collection process. It is recommended to avoid any other operations in between.

# Reference implementations

This section shows a few working examples for these processes.

Note

Please note that you need to connect and authenticate to openEO Platform first before you can execute any of the code snippets below. Details can be found in the corresponding Getting Started guides.

# FORCE toolbox (provided by EODC)

EODC supports the ard_surface_reflectance process, which internally uses the FORCE toolbox (opens new window).

This is an example of applying FORCE:

# iCor / SMAC (provided by VITO / TerraScope)

The Terrascope back-end implements atmospheric_correction with iCor and SMAC as methods. The version of iCor (opens new window) only offers basic atmoshperic correction features, without special options for water products. SMAC is implemented based on: https://github.com/olivierhagolle/SMAC (opens new window) Both methods have been tested with Sentinel-2 as input. The viewing and sun angles need to be selected by the user to make them available for the algorithm.

This is an example of applying iCor: