approxPressureCtd: Linearly interpolate a CTD object in pressure space.

View source: R/calculations.R

approxPressureCtdR Documentation

Linearly interpolate a CTD object in pressure space.

Description

Vertically average and CTD object through pressure by defined bins and tolerances.

Usage

approxPressureCtd(x, bin, trimBin = FALSE)

Arguments

x

a ctd object

bin

a vector of numerical values of the center of the bin

trimBin

a logical value indicating if the supplied bin values should be trimmed to the maximum pressure, default is FALSE.

Value

a ctd object that has the same metadata and processing log as the supplied ctd object, but with bin-averaged data.

Author(s)

Chantelle Layton


clayton33/csasMarPhys documentation built on June 8, 2025, 3:10 a.m.