Skip to content

Latest commit

 

History

History
64 lines (44 loc) · 2.86 KB

README.md

File metadata and controls

64 lines (44 loc) · 2.86 KB

preprocS2

A R package dedicated to basic preprocessing of Sentinel-2 Level-2A reflectance images

licence Build Status

preprocS2

The goal of preprocS2 is to provide a common framework for the preprocessing of Level-2A Sentinel-2 images. Sentinel-2 L2A images can be produced or obtained from various data hubs or atmospheric correction methods. preprocS2 provides a unique function to read, crop, resample the original image directory, and write it as a raster stack.

Installation

The full functionality of preprocS2 requires installation and parameterization of various package. An important package to install is sen2r, as it allows to download Sentinel-2 images.

Please refer to the sen2r installation guide if you want to access to atmospheric correction and Sentinel-2 download from the [Google Cloud Sentinel-2 bucket](Google Cloud https://cloud.google.com/storage/docs/public-datasets/sentinel-2).

the package bigRaster should also be used for full functionality :

devtools::install_gitlab('jbferet/bigRaster')

Once devtools, bigRaster and sen2r installed, install the package preprocS2 with the following command line in R session:

devtools::install_github('jbferet/preprocS2')

Example

A tutorial vignette is available here.

Sentinel-2 data can be accessed via various hubs including:

preprocS2 mainly aims at processing Level 2A Sentinel-2 products delivered by an atmospheric correction algorithm, such as

However, it produce L2A images from L1C images with sen2cor through the R package sen2r if this package is properly parameterized.

Acknowledgments / Fundings

This research was supported by the Agence Nationale de la Recherche (ANR, France) through the young researchers project BioCop (ANR-17-CE32-0001)