Description Usage Arguments Value References See Also Examples
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.
1 2 |
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 |
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)
Thomson, R. and I. Fine. 2003. Estimating Mixed Layer Depth from Oceanic Profile Data. Journal of Atmospheric and Oceanic Technology. 20(2), 319-329.
1 2 3 | wtr_layer(depth=latesummer$depth, measure = latesummer$temper)
wtr_layer(depth=latesummer$depth, measure = latesummer$temper, nseg=4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.