O2NCP.mean: Net community production (NCP) from O2

View source: R/ncp.R

O2NCP.meanR Documentation

Net community production (NCP) from O2

Description

calculate net community production based on O2 observations.

Usage

O2NCP.mean(
  dat,
  kw_method = "NG00",
  bubbles = T,
  entrainment = F,
  output_conc = F,
  debug = F
)

Arguments

dat

data frame matching the format outlined in O2NCP.transform

kw_method

character string passed to kw, default is 'NG00'

bubbles

logical value to enable bubble supersaturation param, default is TRUE (on)

entrainment

logical value to enable entrainment calculation, default is FALSE (off)

output_conc

logical value to enable expressing NCP as just a biological concentration change rather than a flux.

debug

logical value to print debug messages (units of mmol m-3), default is FALSE (off)

Details

Full explanation of the method and methods are found in Hull et al, 2015 Entrainment will only be calculated where an entrainment variable is found in the input data and it's value is TRUE. When being using within a monte-carlo analysis you can include bias estimates in the following variables kw_error, B_error, Csat_error. Where these variables are found these parameters will be scaled accordingly.

Value

a vector of NCP in mmol per m-3 per supplied time interval

References

Hull et al, 2015 http://www.biogeosciences-discuss.net/12/15611/2015/bgd-12-15611-2015.html


tomhull/airsea documentation built on Oct. 26, 2023, 3:29 a.m.