S2_L2A_translate: Translate S2 L2A products

Description Usage Arguments Value

Description

Translate S2 L2A products (underlying jp2000) into other (more common) raster format with CRS.

Usage

1
2
S2_L2A_translate(S2_folder, out_folder, band, resolution = c(10, 20, 60),
  granule = NULL, skipExisting = TRUE)

Arguments

S2_folder

Folder that contains the S2 L2A product (typically suffixed with .SAFE)

out_folder

Directory to write the outputs to

band

Band to extract, can be spectral (B01 to B12 plus B8A) or thematic (SCL or CLD)

resolution

Band resolution in m

granule

Which granules to extract (regex is allowed)

skipExisting

Shall files that have already been writen be ignored?

Value

list of RasterLayers corresponding to the granules


bbrede/S2processing documentation built on May 11, 2019, 9:31 p.m.