Description Usage Arguments Details
The hs_extract_pts
function efficiently extracts hyperspectral reflectance
data at spatial points. This is more efficient than reading the entire
raster using hs_read
, then using raster::extract
.
1 | hs_extract_pts(filename, pts, bands)
|
filename |
Path to an .h5 file containing L3 hyperspectral data (char) |
pts |
a |
bands |
Indices of bands to read (integer) |
Points that are not contained within the extent of the raster will return NA values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.