slowdown | R Documentation |
Flags slowdowns and reversals in profiles based on minimum speed.
slowdown(
x,
min_speed = 0.1,
window = 5,
cast_direction = NULL,
exclude_bottom = 2
)
x |
ctd object |
min_speed |
Numeric vector (1L). Threshold below which observations should be flagged. |
window |
Numeric vector (1L). Number of samples to use to calculate speeds for each observation. |
cast_direction |
Character vector ("downcast", "upcast") denoting the cast direction. |
exclude_bottom |
Pressure width to exclude near-bottom. This is used because it can takes awhile for the CTD to start ascending when the net approaches or leaves the seafloor, but the contact between the net and the seafloor generally does not cause influential flow reversals. |
ctd object with flags updated to denote scans for which speeds were below the threshold.
Sean Rohan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.