compute.PARz: Compute PAR at depth from surface irradiance (Ed0+) and...

View source: R/compute.PARz.R

compute.PARzR Documentation

Compute PAR at depth from surface irradiance (Ed0+) and profile of downwelling irradiance (EdZ)

Description

Compute PAR at depth from surface irradiance (Ed0+) and profile of downwelling irradiance (EdZ)

Usage

compute.PARz(
  Depth,
  waves,
  Edz,
  Ed.0,
  f.PAR = c(0.001, 0.01, 0.1, 0.5),
  z.fixed = c(5, 10, 20, 30, 40)
)

Arguments

Depth

is a vector of depth corresponding to the EdZ measurements

waves

is a vector of wavelength of EdZ and Ed0+

Edz

is a matrix of EdZ (col=waves; row=Depth) after nomalization to Ed.0 variation

Ed.0

is a is a vector surface irradiance

f.PAR

is a vector of numeric values corresponting to light fraction. The depth (in m) of each light fraction will be computed. Default is f.PAR=c(0.001, 0.01, 0.1,0.5)

z.fixed

is a vector of numeric values corresponting to depth at which light fraction will be calculated. Default is z.fixed=c(5,10,20,30,40)

Value

The program will return three vectors for

  1. the depth of each PAR fraction requested (z.f.PAR);

  2. the fraction of PAR at the depth requested (PAR.at.z);

  3. the vector of PAR at all depth Z (PAR.z) in micro mol photon / m^2

Author(s)

Simon Belanger


belasi01/Cops documentation built on Feb. 26, 2024, 6:52 a.m.