Learn R Programming

oce (version 0.2-1)

swAlpha: Seawater thermal expansion coefficient

Description

Compute $\alpha$, the seawater thermal expansion coefficient, as the product of $\alpha/\beta$ and $\beta$, each calculated from McDougall's (1987) algorithm.

Usage

swAlpha(salinity, temperature=NULL, pressure=NULL, isTheta=FALSE)

Arguments

salinity
either salinity [PSU] (in which case temperature and pressure must be provided) or a ctd object (in which case salinity, temperature and pressure ar
temperature
in-situ temperature [$^\circ$C]
pressure
pressure [dbar]
isTheta
Set TRUE if t is theta or FALSE if t is in-situ

Value

  • Value in 1/degC.

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
# 2.5060e-4 (inferred from p1964 of McDougall 1987)
 a <- swAlpha(40, 10, 4000)

Run the code above in your browser using DataLab