calcZMixDens: Calculate Z Mix Density Using density instead of temp to...

View source: R/MFEmetab.R

calcZMixDensR Documentation

Calculate Z Mix Density Using density instead of temp to indicate mixed layer, (though note that objects in this script are still labeled e.g. 'temps', not 'dens')

Description

Calculate Z Mix Density Using density instead of temp to indicate mixed layer, (though note that objects in this script are still labeled e.g. 'temps', not 'dens')

Usage

calcZMixDens(dataIn, thresh = 0.075)

Arguments

dataIn

A density profile. First column is datetime, POSIXct. Second and subsequent columns are density (kg m-3) at depth. Column headers for these columns are e.g. temp0, temp0.5, temp1.0, temp2, temp2.3

thresh

Threshold density change to indicate end of mixed layer. Units (kg m-3) m-1. Defaults to 0.075 (value Jordan Read is using in their project)

Value

A data frame. First column is datetime, second column is zMix calculated at that datetime.


MFEh2o/MFEUtilities documentation built on May 6, 2023, 1:33 p.m.