compute.aTOT.for.COPS: Compute the total absorption for COPS processing of LuZ...

View source: R/compute.aTOT.for.COPS.R

compute.aTOT.for.COPSR Documentation

Compute the total absorption for COPS processing of LuZ profile

Description

Compute the total absorption for COPS instrument self-shadow correction of LuZ. It is run only after a preliminary processing of the COPS data using the Cops package.

Usage

compute.aTOT.for.COPS(pathIOP = ".", cast = "down",
  depth.interval = c(0.75, 2.1), instrument = "ASPH")

Arguments

pathIOP

is the path where IOPs data are located (i.e. IOPs.fitted.down.RData or IOPs.fitted.up.RData). These files are generated by correct.merge.IOP.profile. IMPORTANT NOTE: a COPS folder with files preliminarly processed using the Cops package must be present in the parent folder "YYYYMMDD_StationXXX". The Cops processing creates a file named absorption.cops.dat that will be automatically edited.

cast

is either "down" or "up" indicating whether the down cast or the up cast will be used to average the non-water absorption. The default is "down".

depth.interval

is the depth interval for which the non-water absorption will be avaraged. The default is c(0.75,2.1)

a.instrument

indicates whether the non-water absorption will be taken from the a-sphere (ASPH) or the ac-s (ACS). The default is "ASPH".

Details

The program will open a RData file located in ../COPS/BIN folder to get the wavelengths available on the COPS. It will edit the file ../COPS/absorption.cops.dat and produce a PNG figure showing the spectral absorption that will be used in the COPS processing for instrument self-shadow correction.

The pure water absorption is taken from a composite table (Kou etal 1993, Pope and Fry 1997, etc).

Value

It returns a vector of total absorption.

Author(s)

Simon Belanger

See Also

correct.merge.IOP.profile and IOPs.go


belasi01/Riops documentation built on Sept. 5, 2022, 6:38 p.m.