sw.T.S.rho {oce} | R Documentation |
Compute in-situ temperature, given salinity, density, and pressure.
sw.T.S.rho(S, rho, p)
S |
in-situ salinity [PSU] |
rho |
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
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)