Description Usage Arguments Value Author(s) Examples
Read Spectra from ASCII files and list them
| 1 2 3 4 5 6 7 8 9 10 | 
| filenames | character value or vector: names of the file(s) to be opened | 
| WLname | character value: string of the name in the ASCII file of the wavelength vector, if any | 
| WLpos | numeric value: value of the position (number of column) in the ASCII file of the wavelength vector, if any | 
| Ename | character value: string of the name in the ASCII file of the solar radiance vector, if any | 
| E2name | character value: string of the name in the ASCII file of the second solar radiance vector (in case of sandwicth acquisition), if any | 
| dcEname | character value: string of the name in the ASCII file of the dark current vector acquired with same integration time of solar irradiance, if any | 
| Lname | character value: string of the name in the ASCII file of the reflected radiance vector, if any | 
| dcLname | character value: string of the name in the ASCII file of the dark current vector acquired with same integration time of reflected radiance vector, if any | 
| Epos | numeric value: value of the position (number of column) in the ASCII file of the solar radiance vector, if any | 
| E2pos | numeric value: value of the position (number of column) in the ASCII file of the second solar radiance vector (in case of sandwicth acquisition), if any | 
| dcEpos | numeric value: value of the position (number of column) in the ASCII file of dark current vector acquired with same integration time of solar irradiance, if any | 
| Lpos | numeric value: value of the position (number of column) in the ASCII file of the the reflected radiance vector, if any | 
| dcLpos | numeric value: value of the position (number of column) in the ASCII file of dark current vector acquired with same integration time of reflected irradiance, if any | 
| ... | Further arguments to be passed to read.table. | 
list containing all the info specified in the opened file(s).
Tommaso Julitta, Mirco Migliavacca, Thomas Wutzler
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |   
path<-"..."
#list files 
list_files<-list.files(path = path,pattern = "h4",full.names = TRUE)
#open an list them in a single file
dat<-ReadSpectra(filenames = list_files,WLpos = 1,Epos = 2,Lpos = 3,header =TRUE, sep=";")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.