read_asd_bin: Read ASD binary files and gather spectra and metadata in...

View source: R/read-asd.R

read_asd_binR Documentation

Read ASD binary files and gather spectra and metadata in tibble data frame.

Description

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.

Usage

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.


philipp-baumann/simplerspec documentation built on Oct. 3, 2023, 12:13 p.m.