Compute in-situ temperature, given salinity, density, and pressure.
swTSrho(
salinity,
density,
pressure = NULL,
eos = getOption("oceEOS", default = "gsw")
)
In-situ temperature in \(^\circ\)C on the ITS-90 scale.
in-situ salinity (PSU)
in-situ density or sigma value (kg/m\(^3\))
in-situ pressure (dbar)
equation of state to be used, either "unesco"
or
"gsw"
(ignored at present).
Dan Kelley
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 \(^\circ\)C.
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.
swSTrho()
Other functions that calculate seawater properties:
T68fromT90()
,
T90fromT48()
,
T90fromT68()
,
computableWaterProperties()
,
locationForGsw()
,
swAbsoluteSalinity()
,
swAlphaOverBeta()
,
swAlpha()
,
swBeta()
,
swCSTp()
,
swConservativeTemperature()
,
swDepth()
,
swDynamicHeight()
,
swLapseRate()
,
swN2()
,
swPressure()
,
swRho()
,
swRrho()
,
swSCTp()
,
swSR()
,
swSTrho()
,
swSigma0()
,
swSigma1()
,
swSigma2()
,
swSigma3()
,
swSigma4()
,
swSigmaTheta()
,
swSigmaT()
,
swSigma()
,
swSoundAbsorption()
,
swSoundSpeed()
,
swSpecificHeat()
,
swSpice()
,
swSstar()
,
swTFreeze()
,
swThermalConductivity()
,
swTheta()
,
swViscosity()
,
swZ()
swTSrho(35, 23, 0, eos="unesco") # 26.11301
Run the code above in your browser using DataLab