View source: R/read.hocr.L2.SAS.R
read.hocr.L2.SAS | R Documentation |
The function reads ASCII files of Level 2 (calibrated) produced by ProSoft software and returns a large list contaning all data. Internal darks measurements may be subtracted or not using the logical parameter APPLY.DARK.
fn |
is the file name |
VERBOSE |
is a logical parameter indicating whether or not the reading steps are printed. Default is TRUE. |
APPLY.DARK |
is a logical parameter indicating whether or not the darks are subtracted to the measurements. Default is TRUE. |
The dark measurements recorded during the measurements are available in the L2 file and could be apply to the measurements if requested. The lat/lon position and time are extracted from the header file. Sun elevation is calculated from those information and stored in the "dd" data frame returned in the list.
(NOTE: Only *.dat file generated by Prosoft version 7.7.16 are supported)
It returns a large list with all the parameters extracted from the L2 file.
Simon Bélanger
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.