View source: R/generate.cops.DB.R
generate.cops.DB | R Documentation |
The AOPs (Kd_s, Rrs) derived from valid profiles are averaged. IMPORTANT: the only the cast selected in select.cops.dat will be average. In addition, the extrapolation method for Rrs.0p must be specified in the third column of the select.cops.dat.
generate.cops.DB(path = "./", mission = "XXX")
path |
is the path where the file directories.for.cops.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.DB |
is a vector of wavelengths to include un the data base. Default is waves.DB=c(305, 320, 330, 340,380, 412, 443, 465,490, 510, 532, 555,589, 625, 665, 683, 694, 710, 780) |
It returns a list object named COPS.DB containing matrices of mean and standard deviation of Kd1p, Kd10p, Kdpd, Rrs, Ed0.0p, Ed0.f.diff and vectors for stationID, date, lat, lon sunzen and waves
The object COPS.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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.