View source: R/compute.aTOT.for.COPS.R
compute.aTOT.for.COPS | R Documentation |
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.
compute.aTOT.for.COPS(pathIOP = ".", cast = "down", depth.interval = c(0.75, 2.1), instrument = "ASPH")
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 |
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". |
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).
It returns a vector of total absorption.
Simon Belanger
correct.merge.IOP.profile
and
IOPs.go
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.