Skip to content

R library for importing and processing field spectroscopy data collected with ASD and Spectral Evolution instruments

License

Notifications You must be signed in to change notification settings

serbinsh/R-FieldSpectra

Repository files navigation

R-FieldSpectra

R library for importing and processing field spectroscopy data collected with ASD, Spectra Vista, and Spectral Evolution instruments

Corresponding author

Dr. Shawn Serbin
Environmental and Climate Sciences Department
Brookhaven National Laboratory
[email protected]
Created by: Shawn P. Serbin [email protected]

Installation

Easiest way to install is via install_github from the devtools package.

install.packages('devtools') # if you haven't already installed this package and dependencies
library(devtools) # load the library
install_github("serbinsh/R-FieldSpectra") # install the package from GitHub

If you want a specific branch, do install_github(..., ref="<branch>").

From there, you should be able to load the package in your typical R session.

Quick example runs (after installation)

### Extract metadata
# ASD
file <- system.file("extdata/PM01_TIAM_B_LC_REFL00005.asd",package="FieldSpectra")
output <- extract.metadata(file,instrument="ASD")

# Spectral Evolution
file <- system.file("extdata/cvars_grape_leaf1_lc_rg_01236.sed",package="FieldSpectra")
output <- extract.metadata(file,instrument="SE")

# MORE IN DEVELOPMENT

Source Code Citation

DOI

About

R library for importing and processing field spectroscopy data collected with ASD and Spectral Evolution instruments

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages