sw.T.S.rho {oce} | R Documentation |
Compute in-situ temperature, given salinity, density, and pressure.
temperature <- sw.T.S.rho(S, sig, p);
S |
in-situ salinity [PSU] |
sig |
in-situ density or sigma value [kg/m^3] |
p |
in-situ pressure [dbar] |
Finds the temperature that yields the given density, with the given salinity and pressure. The method is a bisection search with temperature tolerance 0.001 degC.
In-situ temperature [degC].
Dan Kelley Dan.Kelley@Dal.Ca
Fofonoff, P. and R. C. Millard Jr, 1983. Algorithms for computation of fundamental properties of seawater. Unesco Technical Papers in Marine Science, 44, 53 pp
Gill, A.E., 1982. Atmosphere-ocean Dynamics, Academic Press, New York, 662 pp.
temperature <- sw.T.S.rho(35, 23, 0)