R/sw_alpha.R

## -----------------------------------------------------------------------------
## Thermal Expansion Coefficient of Seawater
## -----------------------------------------------------------------------------

sw_alpha <- function (S = 35, t = 25, p = P-1.013253, P = 1.013253) {

  sw_gibbs(S, t, p, dS = 0, dt = 1, dp = 1) /
    sw_gibbs(S, t, p, dS = 0, dt = 0, dp = 1)
}

Try the marelac package in your browser

Any scripts or data that you put into this service are public.

marelac documentation built on Feb. 12, 2020, 3 a.m.