read.hocr.L2.SAS: Reads HyperOCR data collected using Satlantic Hyperspectral...

View source: R/read.hocr.L2.SAS.R

read.hocr.L2.SASR Documentation

Reads HyperOCR data collected using Satlantic Hyperspectral Surface Aquisition System (HyperSAS)

Description

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.

Arguments

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.

Details

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)

Value

It returns a large list with all the parameters extracted from the L2 file.

Author(s)

Simon Bélanger


belasi01/HyperocR documentation built on June 11, 2024, 7:21 a.m.