Learn R Programming

oce (version 1.8-3)

swSR: Seawater Reference Salinity (GSW Formulation)

Description

Compute seawater Reference Salinity (SR), according to the GSW/TEOS-10 formulation with gsw::gsw_SR_from_SP() in the gsw package.

Usage

swSR(salinity)

Value

Reference Salinity, SR, in \(g/kg\).

Arguments

salinity

either practical salinity or an oce object that holds salinity in its data slot.

Author

Dan Kelley

References

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.

See Also

For some objects, SR may also be recovered by indexing as e.g. ctd[["SR"]].

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(), swSTrho(), swSigma(), swSigma0(), swSigma1(), swSigma2(), swSigma3(), swSigma4(), swSigmaT(), swSigmaTheta(), swSoundAbsorption(), swSoundSpeed(), swSpecificHeat(), swSpice(), swSpiciness0(), swSpiciness1(), swSpiciness2(), swSstar(), swTFreeze(), swTSrho(), swThermalConductivity(), swTheta(), swViscosity(), swZ()

Examples

Run this code
SR <- swSR(35.0) # 35.16504

Run the code above in your browser using DataLab