Read multiple ASD binary files and gather spectra and metadata into a simplerspec spectral tibble (data frame). The resulting spectral tibble is compatible with the simplerspec spectra processing and modeling framework.

read_asd_bin(fnames)

Arguments

fnames

Character vector containing full paths of ASD binary files to be read

Value

A spectral tibble (data frame) containing the follwing columns:

unique_id

Character vector. Unique identifier containing file name pasted with date and time.

file_id

Character vector containing file names and exension

sample_id

Character vector containing files names without extension

metadata

List-column. List of data frames containing spectral metadata

wavelengths

List-column. List of wavelengths vectors (numeric).

spc_radiance

List-column. List of data.tables containing radiance sample spectra.

spc_reference

List-column. List of data.tables containing reference reflectance spectra.

spc

List-column. List of data.tables containing final reflectance spectra.