Learn R Programming

⚠️There's a newer version (1.6.0) of this package.Take me there.

sen2r (version 1.3.2)

Find, Download and Process Sentinel-2 Data

Description

Functions to download Sentinel-2 optical images and perform preliminary processing operations. 'sen2r' provides the instruments required to easily perform (and eventually automate) the steps necessary to build a complete Sentinel-2 processing chain. A Graphical User Interface to facilitate data processing is also provided.

Copy Link

Version

Install

install.packages('sen2r')

Monthly Downloads

111

Version

1.3.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Luigi Ranghetti

Last Published

February 27th, 2020

Functions in sen2r (1.3.2)

compute_s2_paths

Compute names of S2 file to be generated
gdalwarp_grid

Warp a raster file aligning it on the grid of another file
gipp_init

Copy L2A_GIPP.xml in sen2r
sen2r

Find, download and preprocess Sentinel-2 images
raster_metadata

Get metadata from raster paths
check_gdal

Check GDAL installation
abs2rel

Convert a path to a relative path
build_example_param_file

Build an example JSON parameter file
mountpoint

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

Add RGB product
smooth_mask

Buffer cloud masks
gdal_warp

Clip, reproject and warp raster files
gdal_abs2rel

Convert absolute from/to relative paths in a virtual file
fix_envi_format

Fix ENVI outputs
projpar

Return a parameter used in a WKT projection
create_s2_dop

Create the database of S2 orbits and doy of passage
load_extent_bbox

Insert an extent
s2_thumbnails

Create thumbnails for S2 products.
give_write_permission

Give permission to write settings on disk
create_indices_db

Create the indices database
s2_calcindices

Compute maps of spectral indices
list_indices

List spectral indices
install_sen2cor

Download and install (or link) Sen2Cor
raster2rgb

Produce an RGB image from a singleband raster file.
load_binpaths

Load the paths of external executables
s2_tiles

Load Sentinel-2 tiles
nn

Replace NULL with character()
print_message

Print a message
s2_merge

Merge S2 tiles with the same date and orbit
s2_mask

Apply cloud masks
sen2r_process_report

Summarise processing report
s2_defNA

Set NA value of a specific product type
safe_getMetadata

Get information from S2 file name or metadata
s2_translate

Convert from SAFE format
st_as_text_2

Return WKT or WKT2 basing on the installed rgdal version
editModPoly

Shiny Module Server for Geo Create, Edit, Delete
check_param_list

Check a parameter list
check_sen2r_deps

Check package dependencies
st_crs2

Retrieve coordinate reference system from sf or sfc object
sen2r_getElements

Get information from S2 short name
normalize_path

Express file paths in canonical Form depending on the operating system
tiles_intersects

Select the tiles intersecting the extent
str_pad2

Pad a string.
expand_path

Expand a path with a parent directory
init_python

Initialise python
stack2rgb

Produce an RGB image from a multiband raster file.
suppress_warnings

Selective suppress warnings
s2_list

Retrieve list of available S2 products.
s2_gui

Launch the GUI for Sentinel-2 products
install_aria2

Download and install aria2.
safe_is_online

Check if SAFE is available for download
safe_shortname

Rename products using a shorten convention
start_trace

Trace functions which create files
comsub

Find the longest common starting substring or directory
read_scihub_login

Import / export / check SciHub username and password
safelist-class

Format for SAFE archive lists
s2_rgb

Create RGB images from S2 reflectance products.
path_check

Check a path
geograbber_process

Preprocess (clip, reproject, reshape, mask) SAFE products
read_gipp

Manage GIPP parameters for Sen2Cor
sen2cor

Correct L1C products using Sen2Cor
s2_download

Download S2 products.
s2_dop

Return the Dates Of Passage over some orbits
s2_order

Order S2 products.