profile_bld: Calculate bottom layer depth using a threshold method

View source: R/profile_calcs.R

profile_bldR Documentation

Calculate bottom layer depth using a threshold method

Description

Calculate bottom layer depth using a threshold method

Usage

profile_bld(
  rho,
  z,
  totdepth = NULL,
  threshold = 0.1,
  ref_depth = 5,
  na_rm = TRUE
)

Arguments

rho

Numeric vector of densities

z

Numeric vector of depths. Depths are positive.

totdepth

Maximum depth sampled by the cast. If NULL, estimated from profile data.

threshold

Density threshold

ref_depth

Thickness of bottom layer to use for calculating bottom layer density

na_rm

Should NA values be omitted?

Author(s)

Sean Rohan


afsc-gap-products/gapctd documentation built on March 5, 2025, 3:42 a.m.