Learn R Programming

oce (version 0.1-76)

sw.alpha.over.beta: Ratio of seawater thermal expansion coefficient to haline contraction coefficient

Description

Compute $\alpha/\beta$ using McDougall's (1987) algorithm.

Usage

sw.alpha.over.beta(S, t=NULL, p=NULL, is.theta=FALSE)

Arguments

S
either salinity [PSU] (in which case t and p must be provided) or a ctd object (in which case S, t and p are determined from the object, and must no
t
in-situ temperature [$^\circ$C]
p
pressure [dbar]
is.theta
Set TRUE if t is theta or FALSE if t is in-situ

Value

  • Value in psu/$^\circ$C.

Details

If the first argument is a ctd object, then salinity, temperature and pressure values are extracted from it, and used for the calculation.

References

McDougall, T.J. 1987. "Neutral Surfaces" Journal of Physical Oceanography vol 17 pages 1950-1964

Examples

Run this code
# 0.3476 (from p1964 of McDougall 1987)
 ab <- sw.alpha.over.beta(40, 10, 4000, is.theta=TRUE)

Run the code above in your browser using DataLab