hs_extent: Get the spatial extent of a hyperspectral image

Description Usage Arguments Value Examples

View source: R/hs_read.R

Description

Get the spatial extent of a hyperspectral image

Usage

1
hs_extent(filename)

Arguments

filename

Path to an .h5 file containing L3 hyperspectral data (char)

Value

a raster::extent object that contains the min and max x and y coordinates of a hyperspectral image

Examples

1
2
path_to_file <- system.file('extdata', 'ex.h5', package = 'neonhs')
hs_extent(path_to_file)

earthlab/neonaop documentation built on March 27, 2021, 12:28 p.m.