Compute seawater Preformed Salinity (S*), according to the GSW/TEOS-10
formulation with gsw::gsw_Sstar_from_SA() in the gsw package.
swSstar(salinity, pressure = NULL, longitude = NULL, latitude = NULL)Preformed Salinity, S*, in \(g/kg\).
either practical salinity (in which case
pressure must be provided) or an oce object with
salinity and pressure in its data slot, and with
longitude and latitude either there, or in the metadata
slot.
pressure in dbar.
longitude of observation.
latitude of observation.
Dan Kelley
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.
For some objects, S-star may also be recovered by
indexing as e.g. ctd[["Sstar"]].
Other functions that calculate seawater properties:
T68fromT90(),
T90fromT48(),
T90fromT68(),
computableWaterProperties(),
locationForGsw(),
swAbsoluteSalinity(),
swAlpha(),
swAlphaOverBeta(),
swBeta(),
swCSTp(),
swConservativeTemperature(),
swDepth(),
swDynamicHeight(),
swLapseRate(),
swN2(),
swPressure(),
swRho(),
swRrho(),
swSCTp(),
swSR(),
swSTrho(),
swSigma(),
swSigma0(),
swSigma1(),
swSigma2(),
swSigma3(),
swSigma4(),
swSigmaT(),
swSigmaTheta(),
swSoundAbsorption(),
swSoundSpeed(),
swSpecificHeat(),
swSpice(),
swSpiciness0(),
swSpiciness1(),
swSpiciness2(),
swTFreeze(),
swTSrho(),
swThermalConductivity(),
swTheta(),
swViscosity(),
swZ()
swSstar(35.5, 300, 260, 16) # 35.66601
Run the code above in your browser using DataLab