wtr_layer: Exploration of lake water column layers

Description Usage Arguments Value References See Also Examples

Description

Extract water column parameters of a given parameter from a profile using the split-and-merge algorithm. The cline is defined as the midpoint of the layer of water where the physical property change in the greatest over a small difference. The exact cline depends on the specification of measure. For example if temperature is specified, then we can expect cline to output the thermocline.

Usage

1
2
wtr_layer(thres = 0.1, z0 = 2.5, zmax = 150, depth = depth,
  measure = measure, nseg = "unconstrained")

Arguments

thres

error norm; defaults to 0.1

z0

initial depth in metres. Defaults to 2.5m

zmax

maximum depth in metres: defaults to 150m

depth

depth in metres; should be an increasing vector

measure

parameter measured in the water column profile

nseg

optional parameter to define the number of segments a priori; defaults to an unconstrained approach whereby the algorithm determines segmentations by minimzing the error norm over each segment

Value

a dataframe of nseg (number of segments), mld (mix layer depth), cline (the midpoint of the segment connecting inflection points that has the maximum slope; thermocline for temperature measures)

References

Thomson, R. and I. Fine. 2003. Estimating Mixed Layer Depth from Oceanic Profile Data. Journal of Atmospheric and Oceanic Technology. 20(2), 319-329.

See Also

cline_calc(), depth_filter()

Examples

1
2
3
wtr_layer(depth=latesummer$depth, measure = latesummer$temper)

wtr_layer(depth=latesummer$depth, measure = latesummer$temper, nseg=4)

boshek/limnotools documentation built on May 13, 2019, 12:36 a.m.