# Find, Download and Process Sentinel-2 Data

## Documentation for package ‘sen2r’ version 1.5.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

abs2rel | Convert a path to a relative path
add_rgb_image | Add RGB product
add_tile_suffix | Add/remove suffixes for split tiles
build_example_param_file | Build an example JSON parameter file
calcindex_raster | Compute index using 'raster' or 'stars' features
calcindex_stars | Compute index using 'raster' or 'stars' features
check_gcloud | Check Google Cloud SDK installation
check_gcloud_connection | Check Google Cloud SDK installation
check_gdal | Check GDAL installation
check_gui_deps | Check GUI dependencies
check_param_list | Check a parameter list
check_scihub_connection | Import / export / check SciHub username and password
check_scihub_login | Import / export / check SciHub username and password
check_sen2r_deps | Check package dependencies
clean_ignorelist | Read / write the ignore list
clean_trace | Trace functions which create files
clean_traces | Trace functions which create files
compute_s2_paths | Compute names of S2 file to be generated
comsub | Find the longest common starting substring or directory
create_indices_db | Create the indices database
create_s2_dop | Create the database of S2 orbits and doy of passage
dontuse | Don't use
end_trace | Trace functions which create files
expand_path | Expand a path with a parent directory
expect_equal_crs | Compare two non-null CRS
extract_tile_suffix | Add/remove suffixes for split tiles
fix_envi_format | Fix ENVI outputs
gdalUtil | Interface to GDAL Python-based utilities
gdalwarp_grid | Warp a raster file aligning it on the grid of another file
gdal_abs2rel | Convert absolute from/to relative paths in a virtual file
gdal_rel2abs | Convert absolute from/to relative paths in a virtual file
gdal_warp | Clip, reproject and warp raster files
gipp_init | Copy L2A_GIPP.xml in sen2r
give_write_permission | Give permission to write settings on disk
init_python | Initialise python
install_aria2 | Download and install aria2.
install_sen2cor | Download and install (or link) Sen2Cor
is_gcloud_configured | Check Google Cloud SDK installation
is_scihub_configured | Import / export / check SciHub username and password
link_sen2cor | Download and install (or link) Sen2Cor
list_indices | List spectral indices
list_sen2r_paths | Compute names of S2 file to be generated
load_binpaths | Load the paths of external executables
load_extent_bbox | Insert an extent
load_extent_draw | Insert an extent
load_extent_vectfile | Insert an extent
mountpoint | Return the mountpoint of the input directory (if it is mounted)
nn | Replace NULL with character()
normalize_path | Express file paths in canonical Form depending on the operating system
path_check | Check a path
path_ignorelist | Read / write the ignore list
print_message | Print a message
projname | Return a parameter used in a WKT projection
projpar | Return a parameter used in a WKT projection
raster2rgb | Produce an RGB image from a singleband raster file.
raster_metadata | Get metadata from raster paths
read_gipp | Manage GIPP parameters for Sen2Cor
read_ignorelist | Read / write the ignore list
read_scihub_login | Import / export / check SciHub username and password
remove_tile_suffix | Add/remove suffixes for split tiles
rm_invalid_safe | Get information from S2 file name or metadata
s2_angles | Extract sun angles from SAFE archives
s2_calcindices | Compute maps of spectral indices
s2_defNA | Set NA value of a specific product type
s2_dop | Return the Dates Of Passage over some orbits
s2_download | Download S2 products.
s2_gui | Launch the GUI for Sentinel-2 products
s2_list | Retrieve list of available S2 products.
s2_mask | Apply cloud masks
s2_merge | Merge S2 tiles with the same date and orbit
s2_order | Order S2 products.
s2_perc_masked | Apply cloud masks
s2_rgb | Create RGB images from S2 reflectance products.
s2_thumbnails | Create thumbnails for S2 products.
s2_tiles | Load Sentinel-2 tiles
s2_translate | Convert from SAFE format
safelist | Format for SAFE archive lists
safelist-class | Format for SAFE archive lists
safe_getMetadata | Get information from S2 file name or metadata
safe_isvalid | Get information from S2 file name or metadata
safe_is_online | Check if SAFE is available for download
safe_shortname | Rename products using a shorten convention
sen2cor | Correct L1C products using Sen2Cor
sen2r | Find, download and preprocess Sentinel-2 images
sen2r_getElements | Get information from S2 short name
sen2r_process_report | Summarise processing report
set_gipp | Manage GIPP parameters for Sen2Cor
smooth_mask | Buffer cloud masks
stack2rgb | Produce an RGB image from a multiband raster file.
start_trace | Trace functions which create files
str_pad2 | Pad a string.
st_as_text_2 | Return WKT or WKT2 basing on the installed rgdal version
st_crs2 | Retrieve coordinate reference system from sf or sfc object
suppress_warnings | Selective suppress warnings
tiles_intersects | Select the tiles intersecting the extent
tile_utmzone | Obtain the UTM zone associated to Sentinel-2 tiles
trace_function | Trace functions which create files
write_ignorelist | Read / write the ignore list
write_scihub_login | Import / export / check SciHub username and password