Learn R Programming

oce (version 0.2-1)

swBeta: Seawater haline contraction coefficient

Description

Compute $\beta$ using McDougall's (1987) algorithm. NOTE: this conflicts with base::beta, so be sure to prefix as swBeta().

Usage

swBeta(salinity, temperature, pressure, 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
seawater pressure [dbar]
isTheta
Set TRUE if temperature is theta or FALSE if temperature is in-situ

Value

  • Value in 1/psu.

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.72088e-3 (from p1964 of McDougall 1987)
swBeta(40, 10, 4000, isTheta=TRUE)

Run the code above in your browser using DataLab