Skip to content

fpirotti/rPRISMA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rPRISMA

R-CMD-check

Supports access and classification of PRISMA hyperspectral image data cubes

PRISMA is a satellite mission providing hyperspectral imagery in the visible, near infrared and short infrared range with >200 bands providing 30 m ground resolution.

PRISMA is a mission from Agenzia Spaziale Italiana (ASI) and is also the name of the sensor providing the imagery.

PRISMA imagery can be downloaded after registration HERE and HERE for selecting and downloading data.

PRISMA data are provided in HDF5 format, which is not immediate to use. To foster its usage by the research community, rPRISMA provides function to convert easily to the more common GeoTIFF format. It also provides a streamlined workflow for classification via random forest machine learning algorithm.

You are welcome to beta-test!

NB: terra library version >1.5 is required

Usage

PRISMA2geotiff("path-to-HDF5-file.he5/zip", overwrite=T/F) 

will write two files, one for the VNIR cube and SWIR cube, repsectively with the same basename as the original file, substituting .he5 extension with _VNIR.tif and _SWIR.tif.

PRISMA2rast("path-to-HDF5-file.he5/zip")  

will provide you with a list object containing SWIR, VNIR and panchromatic raster as terra::rast object and metadata.

Installation

NOT YET IN CRAN: ---

Install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("fpirotti/rPRISMA")

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages