"sen2r": An R toolbox for automatically downloading and preprocessing Sentinel-2 satellite data

Abstract sen2r is a scalable and flexible R package to enable downloading and preprocessing of Sentinel-2 satellite imagery via an accessible and easy to install interface. It allows the execution of several preprocessing steps which are commonly performed by Sentinel-2 users: searching the Sentinel-2 archive for datasets available over a spatial area of interest and in a defined time window, downloading them, applying the Sen2Cor atmospheric correction algorithm to compute surface reflectances, merging adjacent tiles, performing geometric transformations, applying a cloud mask, computing spectral indices and colour images. The package is designed to be accessible to a range of users, from beginners to skilled R users. It comes with a Graphical User Interface, which can be used to set the processing parameters and launch processing operations: this feature makes sen2r accessible also for novices with limited programming experience. High-level R functions, which enable customised image processing workflows and control over intermediate steps, can be useful to experienced remote sensing researchers. Thanks to those functions it is possible to easily schedule automatic processing chains, so to manage massive processing operations. This paper describes the main characteristics, functionalities and performance of the package and highlights its usefulness as the operational back-end of service-oriented architectures, as illustrated by the Saturno project.

[1]  Frédéric Achard,et al.  The Potential of Sentinel Satellites for Burnt Area Mapping and Monitoring in the Congo Basin Forests , 2016, Remote. Sens..

[2]  Gérard Dedieu,et al.  A multi-temporal method for cloud detection, applied to FORMOSAT-2, VENµS, LANDSAT and SENTINEL-2 images , 2010 .

[3]  Matthias Drusch,et al.  Sentinel-2: ESA's Optical High-Resolution Mission for GMES Operational Services , 2012 .

[4]  Claudia Notarnicola,et al.  Exploiting Time Series of Sentinel-1 and Sentinel-2 Imagery to Detect Meadow Phenology in Mountain Regions , 2019, Remote. Sens..

[5]  Daniela Stroppiana,et al.  Exploitation of SAR and Optical Sentinel Data to Detect Rice Crop and Estimate Seasonal Dynamics of Leaf Area Index , 2017, Remote. Sens..

[6]  R Core Team,et al.  R: A language and environment for statistical computing. , 2014 .

[7]  Mark A. Friedl,et al.  Sensitivity of vegetation phenology detection to the temporal resolution of satellite data , 2009 .

[8]  Ferran Gascon,et al.  Sen2Cor for Sentinel-2 , 2017, Remote Sensing.

[9]  Edzer Pebesma,et al.  On-Demand Processing of Data Cubes from Satellite Image Collections with the gdalcubes Library , 2019, Data.

[10]  Julien Radoux,et al.  Sentinel-2's Potential for Sub-Pixel Landscape Feature Detection , 2016, Remote. Sens..

[11]  Edzer Pebesma,et al.  Simple Features for R: Standardized Support for Spatial Vector Data , 2018, R J..

[12]  Hadley Wickham,et al.  Tools for Working with URLs and HTTP , 2016 .

[13]  Lorenzo Busetto,et al.  Testing Multi-Sensors Time Series of Lai Estimates to Monitor Rice Phenology: Preliminary Results , 2018, IGARSS 2018 - 2018 IEEE International Geoscience and Remote Sensing Symposium.

[14]  Philip A. Townsend,et al.  Detection of relative differences in phenology of forest species using Landsat and MODIS , 2012, Landscape Ecology.

[15]  D. Roy,et al.  The availability of cloud-free Landsat ETM+ data over the conterminous United States and globally , 2008 .

[16]  Wenjiang Huang,et al.  Partial Least Square Discriminant Analysis Based on Normalized Two-Stage Vegetation Indices for Mapping Damage from Rice Diseases Using PlanetScope Datasets , 2018, Sensors.

[17]  Christophe Sannier,et al.  Monitoring Urban Areas with Sentinel-2A Data: Application to the Update of the Copernicus High Resolution Layer Imperviousness Degree , 2016, Remote. Sens..

[18]  D. Roy,et al.  A method for integrating MODIS and Landsat data for systematic monitoring of forest cover and change in the Congo Basin , 2008 .

[19]  Olivier Hagolle,et al.  Validation of Copernicus Sentinel-2 Cloud Masks Obtained from MAJA, Sen2Cor, and FMask Processors Using Reference Cloud Masks Generated with a Supervised Active Learning Procedure , 2019, Remote. Sens..

[20]  Bradley C. Reed,et al.  Remote Sensing Phenology , 2009 .

[21]  Stefano Pignatti,et al.  Downstream Services for Rice Crop Monitoring in Europe: From Regional to Local Scale , 2017, IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing.

[22]  Robin Lovelace,et al.  Geocomputation with R , 2019 .

[23]  Clement Atzberger,et al.  First Experience with Sentinel-2 Data for Crop and Tree Species Classifications in Central Europe , 2016, Remote. Sens..

[24]  A. Skidmore,et al.  Vegetation phenology from Sentinel-2 and field cameras for a Dutch barrier island , 2018, Remote Sensing of Environment.

[25]  Pierre Soille,et al.  Assessment of the Added-Value of Sentinel-2 for Detecting Built-up Areas , 2016, Remote. Sens..

[26]  Mariana Belgiu,et al.  Sentinel-2 cropland mapping using pixel-based and object-based time-weighted dynamic time warping analysis , 2018 .

[27]  Michael Dixon,et al.  Google Earth Engine: Planetary-scale geospatial analysis for everyone , 2017 .

[28]  Carlos Granell,et al.  A high-resolution, integrated system for rice yield forecasting at district level , 2019, Agricultural Systems.

[29]  Roger Bivand CRAN Task View: Analysis of Spatial Data , 2020 .

[30]  Steve Weston,et al.  Provides Foreach Looping Construct for R , 2015 .

[31]  Mirco Boschetti,et al.  Downscaling rice yield simulation at sub-field scale using remotely sensed LAI data , 2019, European Journal of Agronomy.

[32]  F. J. García-Haro,et al.  Multitemporal and multiresolution leaf area index retrieval for operational local rice crop monitoring , 2016 .

[33]  Alexandre Bouvet,et al.  Understanding the temporal behavior of crops using Sentinel-1 and Sentinel-2-like data for agricultural applications , 2017 .

[34]  David P. Roy,et al.  Separability Analysis of Sentinel-2A Multi-Spectral Instrument (MSI) Data for Burned Area Discrimination , 2016, Remote. Sens..

[35]  A. Mathur,et al.  Denoising and wavelet-based feature extraction of MODIS multi-temporal vegetation signatures , 2005, International Workshop on the Analysis of Multi-Temporal Remote Sensing Images, 2005..

[36]  Jeroen Ooms,et al.  The jsonlite Package: A Practical and Consistent Mapping Between JSON Data and R Objects , 2014, ArXiv.

[37]  Steve Weston,et al.  Foreach Parallel Adaptor for the 'parallel' Package , 2015 .

[38]  Andreas Kääb,et al.  Glacier Remote Sensing Using Sentinel-2. Part II: Mapping Glacier Extents and Surface Facies, and Comparison to Landsat 8 , 2016, Remote. Sens..