eos
.swSTrho(temperature, density, pressure, eos=getOption("oceEOS", default="gsw"))
swRho
."unesco"
[1,2] or "gsw"
[3,4].eos="unesco"
, or Absolute Salinity, if
eos="gsw"
.eos="unesco"
, finds the practical salinity that yields the
given density, with the given in-situ temperature and pressure. The method is
a bisection search with a salinity tolerance of 0.001. For eos="gsw"
,
the function gsw_SA_from_rho
in the [2] Gill, A.E., 1982. Atmosphere-ocean Dynamics, Academic Press, New York, 662 pp.
[3] IOC, SCOR, and IAPSO (2010). The international thermodynamic equation of seawater-2010: Calculation and use of thermodynamic properties. Technical Report 56, Intergovernmental Oceanographic Commission, Manuals and Guide.
[4] McDougall, T.J. and P.M. Barker, 2011: Getting started with TEOS-10 and the Gibbs Seawater (GSW) Oceanographic Toolbox, 28pp., SCOR/IAPSO WG127, ISBN 978-0-646-55621-5.
swTSrho
swSTrho(10, 22, 0, eos="gsw") # 28.76285
swSTrho(10, 22, 0, eos="unesco") # 28.651625
Run the code above in your browser using DataLab