generate.SAS.rhow.DB: Generate a data base for rhow (pi*Rrs) from the HyperSAS

View source: R/generate.SAS.rhow.DB.R

generate.SAS.rhow.DBR Documentation

Generate a data base for rhow (pi*Rrs) from the HyperSAS

Description

Generate a data base for rhow (pi*Rrs) from the HyperSAS

Arguments

path

is the path where the file directories.for.HyperSAS.dat containing the data folders to merge in the data base.

mission

is a string for the name of the mission. It will be used for the file names of the output.

wave.range

is a vector of two integers indicating the wavelength range to output in the database. The default is wave.range=c(350,810) to put the data from 350 nm to 810 nm.

Value

It returns a list object named SAS.DB containing a matrix of rhow (rhow.m) and vectors for StationID, data, lat, lon sunzen, windspeed, rhow.Method.

The object SAS.DB is saved in RData format. The data are also saved in ASCII (.dat with comma separator) and a figure showing the measured rho_w spectra of the data base is produced.

Author(s)

Simon Bélanger


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