View source: R/profile_calcs.R
profile_mld_from_t | R Documentation |
Based on the temperature recorded at a specified reference depth, calculates the mixed layer depth using only temperature.
profile_mld_from_t(
temperature,
z,
reference_depth = 5,
min_temperature_diff = 0.5,
temp_threshold = 0.25,
assign_inversion,
na_rm = TRUE
)
temperature |
Numeric vector of temperatures |
z |
Numeric vector of depths for each of the temperatures |
reference_depth |
Numeric vector of reference depth, can either be a single depth or multiple depths. |
min_temperature_diff |
Minimum temperature difference. If the difference in temperatures between the reference depths and other depths is below this threshold. If the difference is below this threshold, the function returns the maximum depth (i.e. column is considered fully mixed). |
temp_threshold |
Threshold temperature difference |
assign_inversion |
Substitutes maximum depth when temperature deep in the water column is higher than reference. Rare occurrence that may be an artifact of the survey sampling scheme. |
na_rm |
Should NA values be omitted? |
Sean Rohan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.