Package: rsi 0.2.1.9000

Michael Mahoney

rsi: Efficiently Retrieve and Process Satellite Imagery

Downloads spatial data from spatiotemporal asset catalogs ('STAC'), computes standard spectral indices from the Awesome Spectral Indices project (Montero et al. (2023) <doi:10.1038/s41597-023-02096-0>) against raster data, and glues the outputs together into predictor bricks. Methods focus on interoperability with the broader spatial ecosystem; function arguments and outputs use classes from 'sf' and 'terra', and data downloading functions support complex 'CQL2' queries using 'rstac'.

Authors:Michael Mahoney [aut, cre], Permian Global [cph, fnd]

rsi_0.2.1.9000.tar.gz
rsi_0.2.1.9000.zip(r-4.5)rsi_0.2.1.9000.zip(r-4.4)rsi_0.2.1.9000.zip(r-4.3)
rsi_0.2.1.9000.tgz(r-4.4-any)rsi_0.2.1.9000.tgz(r-4.3-any)
rsi_0.2.1.9000.tar.gz(r-4.5-noble)rsi_0.2.1.9000.tar.gz(r-4.4-noble)
rsi_0.2.1.9000.tgz(r-4.4-emscripten)rsi_0.2.1.9000.tgz(r-4.3-emscripten)
rsi.pdf |rsi.html
rsi/json (API)
NEWS

# Install 'rsi' in R:
install.packages('rsi', repos = c('https://permian-global-research.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/permian-global-research/rsi/issues

Datasets:

On CRAN:

23 exports 41 stars 3.52 score 44 dependencies 26 scripts 367 downloads

Last updated 24 days agofrom:9e50b37c51. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 15 2024
R-4.5-winOKAug 15 2024
R-4.5-linuxOKAug 15 2024
R-4.4-winOKAug 15 2024
R-4.4-macOKAug 15 2024
R-4.3-winOKAug 15 2024
R-4.3-macOKAug 15 2024

Exports:alos_palsar_mask_functioncalculate_indicesdefault_query_functionfilter_bandsfilter_platformsget_alos_palsar_imageryget_demget_landsat_imageryget_naip_imageryget_sentinel1_imageryget_sentinel2_imageryget_stac_datalandsat_mask_functionlandsat_platform_filterrsi_download_rastersrsi_gdal_config_optionsrsi_gdalwarp_optionsrsi_query_apisentinel2_mask_functionsign_planetary_computerspectral_indicesspectral_indices_urlstack_rasters

Dependencies:askpassclassclassIntclicodetoolscrayoncurlDBIdigeste1071fansifuturefuture.applyglobalsgluehttrjpegjsonliteKernSmoothlifecyclelistenvmagrittrMASSmimeopensslparallellypillarpkgconfigpngproceduralnamesproxyR6Rcpprlangrstacs2sfsysterratibbleunitsutf8vctrswk

A whirlwind tour of rsi

Rendered fromrsi.Rmdusingknitr::rmarkdownon Aug 15 2024.

Last update: 2024-04-05
Started: 2023-10-26

Readme and manuals

Help Manual

Help pageTopics
ALOS PALSAR band mappingalos_palsar_band_mapping
Create an ALOS PALSAR mask raster from the mask bandalos_palsar_mask_function
Calculate indices from the bands of a rastercalculate_indices
Landsat band mappingdem_band_mapping
Filter indices based on (relatively) complicated fieldsfilter_bands filter_platforms
Retrieve raster data from STAC endpointsget_alos_palsar_imagery get_dem get_landsat_imagery get_naip_imagery get_sentinel1_imagery get_sentinel2_imagery get_stac_data
Landsat band mappinglandsat_band_mapping
Create a Landsat mask raster from the QA bandlandsat_mask_function
Filter Landsat features to only specific platformslandsat_platform_filter
Download specific assets from a set of STAC itemsrsi_download_rasters
Default options for GDALrsi_gdalwarp_options rsi_gdal_config_options rsi_gdal_options
Query a STAC API using a specific spatiotemporal area of interestrsi_query_api
Sentinel-1 band mappingsentinel1_band_mapping
Sentinel-2 band mappingsentinel2_band_mapping
Create a Sentinel-2 mask raster from the SCL bandsentinel2_mask_function
Sign STAC items retrieved from the Planetary Computersign_planetary_computer
Get a data frame of spectral indicesspectral_indices
Get the URL to download spectral indices fromspectral_indices_url
Create and save a multi-band output raster by combining input rastersstack_rasters