Learn R Programming

⚠️There's a newer version (0.4.30) of this package.Take me there.

photobiologyInOut

Package 'photobiologyInOut' provides functions for importing spectral data from diverse sources including instrument-specific files, as well as spectral data output by solar-radiation simulation models. It also includes functions for exchanging spectral data with other R packages. Package 'photobiologyInOut' complements other packages in the 'r4photobiology suite' by allowing reading and writing "foreign" spectral data as well as reading data saved from data loggers.

Developing a package like this is a never-ending task as I have only a limited sample of output files for testing and formats are quite variable. The functions may not work with different software or firmware versions used for acquiring spectral data from instruments. Even the format of files can depend on the current locale and operating system.

Please, see the r4photobiology web site for details on the suite.

Warning

The functions in this package work with the example files I have access to for testing, but they may not work with your own files as file formats vary.

PLEASE, BE VERY CAREFUL WHEN USING THIS PACKAGE. DO CHECK THAT UNITS USED IN THE IMPORTED FILE ARE THOSE EXPECTED BY THESE FUNCTIONS AND THAT THE VALUES ARE AS EXPECTED!

If they do not work with your files, they hopefully will be useful as examples for developing your own functions. If you develop new functions or improve the existing ones, please, do contribute them back to this project.

Copy Link

Version

Install

install.packages('photobiologyInOut')

Monthly Downloads

257

Version

0.4.11

License

GPL (>= 3)

Maintainer

Pedro Aphalo

Last Published

September 25th, 2016

Functions in photobiologyInOut (0.4.11)

colorSpec2mspct

Convert 'colorSpec::colorSpec' objects
hyperSpec2mspct

Convert 'hyperSpec::hyperSpec' objects
read_licor_prn

Read '.PRN' File(s) Saved by LI-COR's PC1800 Program.
read_csi_dat

Read '.DAT' file(s) saved by modern Campbell Scientific loggers.
photobiologyInOut-package

Read Spectral and Logged Data from Foreign Files
read_libradtran_vesa

Read libRadtran output file.
read_fmi_cum

Read daily cummulated solar spectrum data file(s).
read_avaspec_csv

Read '.csv' File Saved by Avantes' Software for AvaSpec.
mspct2mat

Convert a collection of spectra into a matrix
mat2mspct

Convert a matrix into a collection of spectra
read_oo_ssirrad

Read File Saved by Ocean Optics' SpectraSuite.
read_oo_jazirrad

Read Absolute Irradiance File Saved by Ocean Optics' Jaz spectrometer.
rspec2mspct

Convert "pavo::rspec" objects
read_oo_pidata

Read File Saved by Ocean Optics' Raspberry Pi software.
read_tuv_usrout

Read TUV output file.
read_macam_dta

Read '.DTA' File Saved by Macam's Software.