The hs_wavelength returns a character vector containing band indices and wavelengths rounded to the nearest nanometer, e.g., band1_384nm, band2_389nm, where band... gives the band index (first band, second band, etc.) and ...nm gives the wavelength of that band in nanometers.

hs_wavelength(filename, bands)

Arguments

filename

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

bands

Indices of bands to read (integer)

Value

character vector containing band indices and wavelengths