scieee AI-readable full text Open interactive document viewer

SCALABLE AND ENERGY EFFICIENT COMPOSITING OF SENTINEL-2 TIME SERIES

d'Angelo, Pablo; Karlshoefer, Paul; Heiden, Uta

Abstract

As Earth observation data archives continue to grow thanks to long-term missions such as the Sentinels, scalable data processing is a key requirement for increasingly complex analysis workflows. At the same time, the increase in data and computing resources results in an increase in energy consumption and thus in the carbon footprint of data analysis. By extracting the visible bare surface of agricultural fields after harvesting and ploughing, multispectral observations of the soil surface can be obtained from Sentinel-2 time series data at 20 m resolution. A complete bare surface reflectance composite can only be obtained from a multi-year time series, which is acceptable due to the low dynamics of soil properties. In the CUP4SOIL project, several soil parameters such as soil organic carbon, pH and bulk density are estimated using digital soil modelling, and the bare surface reflectance composites provide additional information to the traditionally used DSM covariates. The SCMAP compositing process detects pixels with bare surfaces based on a spectral index and regionally varying thresholds. During compositing, robust statistically based outlier detection is used to remove cloud, snow and haze pixels, and reflectance and statistical data are calculated for both bare and non-bare surfaces. Each pixel stack in the time series is processed independently, resulting in a massively parallel reduction operation with no spatial dependencies. This setting is typical of temporal compositing algorithms, which usually reduce along time and spectral dimensions with little or no spatial influence. Many existing products depend on time series analysis of Sentinel data [1, 2]. Efficient computation both decreases the environmental footprint and the costs of processing, and is thus of prime interest. This requires both efficient an implementation of algorithms, as well a compute platform that offers the required compute and data resources. While the embarrassingly parallel nature of this task provides a high scalability potential, high efficiency can only be archived when tailoring the algorithms to the performance characteristics to the employed hardware platform. Method The core SCMAP algorithm is implemented in a C++ application called from Python code responsible for product discovery and data format processing. The use of containers and the modular input interfaces allow the process to be easily adapted to different data archives and to run in cloud or HPC environments. The experiments are performed on the Terrabyte HPC platform of LRZ and DLR[3], which provides ~50 PB of GPFS storage and 271 CPU compute nodes with 40 cores and 1 TB of RAM each. These nodes are completely fanless machines, cooled with a highly efficient hot water cooling system. Using the SCMAP application, we explore several implementations and optimisations on the Terrabyte compute platform. The algorithm allows for multiple levels of parallelization as data dependencies are limited to the temporal and spectral axis. Spatially, neighbouring pixels are independent. Thus, at the SLURM task level, tiles of the Sentinel-2 tiling grid are computed using OpenMP, allowing parallel pixel computations within each task. We are investigating reordering the input data axes to improve cache coherence and align with data access patterns. Concurrent task execution on compute nodes is analysed to assess how memory allocation, task density and data request rates affect I/O complexity and file system load. The Sentinel-2 tiling grid results in spatial tiles of 100x100 km for a given date, and a standard Level 2A Sentinel-2 product stores each of the used 10 bands in separate image files. As each SLURM task processes on Sentinel-2 tile, and thus reads from 1000 to 10000 input files, parallel IO and increasing the IO chunk size were essential for high scalability of the process. In addition, we compare the performance and decompression overheads of several common file formats (cloud-optimised GeoTIFF, JPG2000). We further investigate the energy consumption of the compositing tasks and compare the energy efficiency of different processing and data storage setups. Conclusions With the current optimisations, a state-of-the-art bare surface reflectance composite for the whole of Europe can be computed from ~500 TB of Sentinel-2 L2A input data in 4:08 hours using 40 CPU nodes on the Terrabyte HPC platform. The complete process, including scheduling, input data reading, compositing and output product formatting operates with an sustained input data rate of ~200 GBit/s, and used 26 kWH of electric energy. Re-processing EU wide 5 yearly Sentinel-2 bare surface composites in case of algorithmic updates thus reduces to an overnight batch job.

Full text

Pablo d‘Angelo, Paul Karlshöfer, Uta Heiden DLR, Remote Sensing Technology Institute SCALABLE AND ENERGY EFFICIENT COMPOSITING OF SENTINEL-2 TIME SERIES 1 Bare surface composites Scalability, Energy efficiency ▪Soil is important part of earths ecosystem ▪Bare surface composite ▪Average reflectance of bare surface pixels, statistical products and quality layers ▪Applications: Soil Health, Agriculture, Erosion, … ▪Long time series needed to catch bare soil occurence. ▪“Clean” reflectance, without vegetation or plant residue ▪Cloud Issues ▪What about the environmental impact of (re)processing 431 TB (445806 S2 scenes)? 2 Reflectance composite Bare Surface Reflectance composite SoilSuite 2018 – 2022 •Sentinel-2 •2018 –2022 •< 80 % cloud cover •> 20° sun elevation •20 m pixel size •10 bands Bare Surface Reflectance Composite –Mean DOI: 10.15489/qkud8cudg596 SoilSuite 2018 – 2022 •Sentinel-2 •2018 –2022 •< 80 % cloud cover •> 20° sun elevation •20 m pixel size •10 bands Bare Surface Reflectance Composite –Mean DOI: 10.15489/qkud8cudg596 Example River Danube (Romania) RGB 12/11/4 10 km SoilSuite 2018 – 2022 •Sentinel-2 •2018 –2022 •< 80 % cloud cover •> 20° sun elevation •20 m pixel size •10 bands Bare Surface Reflectance Composite –Standard deviation DOI: 10.15489/qkud8cudg596 SoilSuite 2018 – 2022 •Sentinel-2 •2018 –2022 •< 80 % cloud cover •> 20° sun elevation •20 m pixel size •10 bands Bare Surface Reflectance Composite –Standard deviation DOI: 10.15489/qkud8cudg596 SoilSuite for Europe Soil Composite Mapping Processor (SCMAP) 8 Karlshöfer et al. 2024 https://doi.org/10.1016/j. geoderma.2025.117340 Heiden et al., 2025: Tech report. https://doi.org/10.15489/ qkud8cudg596 Heiden, U. et al.,2022: https://doi.org/10.3390/r s14184526 Rogge et al., 2018: https://doi.org/10.1016/j. rse.2017.11.004 Computation platform terrabyte ▪Joint Leibnitz Rechenzentrum (LRZ), DLR High performance data analytics platform ▪Compute Cluster ▪272 CPU-Nodes with ~44.000 Intel Xeon Platinum CPU vCores und 273 TB RAM ▪48 Nvidia A 100 GPU-Nodes with 188 GPUs and 47 TB RAM + 14 TB GPU RAM ▪Online-Storage (DSS), EO data archive ▪53 PB net, 6 PB user space ▪GPFS Filesystem with 360 Gbit/s Infiniband ▪Highly efficient hot water cooling (~3% overhead) ▪User friendly cloud services ▪STAC API, Jupyter, remote desktop etc. ▪More info: Talk by Peter Friedl, 14:00 Hall L3 9 slido.com #3944109 Guess SoilSuite energy requirements SCMaP Implementation ▪Python frontend/orchestration ▪Multi Platform support: local workstations, cloud platforms (OTC), HPC ▪Input from: file system, STAC collections, Google cloud storage, any source supported by EODAG ▪Core algorithm: C++ Implementation ▪Data I/O via GDAL ▪Local (per-pixel) computations, processing in chunks ▪Parallel processing using OpenMP both at data loading and compositing stage. ▪Python product formatting ▪Applying cutlines, COG generation, reprojection etc. 10 SCMaP Compositing MEAN + STD Bare surface reflectance composite Mean + STD reflectance composite Index calc. + threshol ding Averaging Averaging + Statistics Soil specific Cloud / outlier filter Input data Sentinel-2 Reflectance + Cloud Masks European Threshold Database ESA WorldCover Bare surface mask Bare surface pixel count Bare surface frequency Valid pixel count SCMaP Output Cloud filter