calc.mld: Calculate MLD

View source: R/source.physics.r

calc.mldR Documentation

Calculate MLD

Description

Calculate MLD

Usage

calc.mld(
  depth,
  density,
  set.depth = 10,
  delta = 0.1,
  resolution = 0.1,
  verbose = T
)

Arguments

depth

depth

density

the density of the seawater. Alternatively, if using a temperature based MLD definition, the temperature of the seawater.

set.depth

the depth from which the mixed layer character is defined

delta

the difference from the mixed layer signal that defines the end of the mixed layer.

resolution

the resolution of the vertical interpolation for when calculating the MLD.

Value

returns the depth where the signal has changed from set.depth by >= delta.

Author(s)

Thomas Bryce Kelly


tbrycekelly/TheSource documentation built on Nov. 7, 2023, 12:48 a.m.