Automatic processing chain

sen2r()

Find, download and preprocess Sentinel-2 images

Find and download Sentinel-2 products

s2_list()

Retrieve list of available products.

s2_download()

Download S2 products.

sen2cor()

Correct L1C products using sen2cor

Read and convert SAFE format

s2_translate()

Convert from SAFE format

s2_merge()

Merge S2 tiles with the same date and orbit

gdal_warp()

Clip, reproject and warp raster files

s2_mask() s2_perc_masked()

Apply cloud masks

s2_rgb()

Create RGB images from S2 reflectance products.

s2_calcindices()

Compute maps of spectral indices

s2_thumbnails()

Create thumbnails for S2 products.

Manage file names and metadata

safe_getMetadata() rm_invalid_safe() safe_isvalid()

Get information from S2 file name or metadata

safe_shortname()

Rename products using a shorten convention

sen2r_getElements()

Get information from S2 short name

s2_dop()

Return the Dates Of Passage over some orbits

s2_tiles()

Load Sentinel-2 tiles

Install and configure dependencies

check_sen2r_deps()

Check package dependencies

load_binpaths()

Load the paths of external executables

install_sen2cor()

Download and install sen2cor.

install_wget()

Download and install wget.

install_aria2()

Download and install aria2.

init_python()

Initialise python

Accessory functions

s2_gui()

Launch the GUI for Sentinel-2 products

list_indices()

List spectral indices

stack2rgb()

Produce an RGB image from a multiband raster file.

raster2rgb()

Produce an RGB image from a singleband raster file.

expand_path()

Expand a path with a parent directory

comsub()

Find the longest common starting substring or directory

projpar() projname()

Return a parameter used in a WRT projection

abs2rel()

Convert a path to a relative path

gdal_abs2rel() gdal_rel2abs()

Convert absolute from/to relative paths in a virtual file

mountpoint()

Return the mountpoint of the input directory (if it is mounted)

start_trace() end_trace() clean_trace() trace_function() clean_traces()

Trace functions which create files

st_crs2()

Retrieve coordinate reference system from sf or sfc object

normalize_path()

Express file paths in canonical Form basing on the operating system

smooth_mask()

Buffer clound masks

tiles_intersects()

Select the tiles intersecting the extent