l3_cops_gen: generate_cops_db

View source: R/l3_cops_gen.R

l3_cops_genR Documentation

generate_cops_db

Description

The AOPs (Kd_s, Rrs) derived from valid profiles are averaged. IMPORTANT: only the cast selected in select.cops.dat will be average. The extrapolation method for Rrs (Rrs.0p or Rrs.0p.linear) must be specified in the third column of the select.cops.dat. cops_processing_log is used to filter if a Station is kept (T or F).

Usage

l3_cops_gen(project, mission = "", boat = c(""))

Arguments

project

is the project path top level (i.e, where data_synthesis can be found) .

mission

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

boat

OPTIONAL: filter the selected boat, column Boat must be present in Cops_Processing_Log

Details

Generate an AOPs data base derived from COPS light profiles for a list of directories

Value

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 ID, date, lat, lon sunzen and waves

The object COPS.DB is saved in RData format. The data are also saved in ASCII (.csv) and a report showing the spectrums of the data base is produced.

Author(s)

Simon BĂ©langer


raphidoc/lighthouse documentation built on June 13, 2022, 10:06 a.m.