swAbsoluteSalinity(salinity, pressure = NULL, longitude = 300, latitude = 30)
temperature
and pressure
must be provided) or an oce
object (in
which case salinity
, etc. are inferred from the object).gsw_SA_from_SP
. Typically, this is a fraction of a unit
higher than practical salinity as defined in the UNESCO formulae.
swConservativeTemperature
. For a ctd object,
absolute salinity may also be recovered by indexing as e.g.
ctd[["absoluteSalinity"]]
or ctd[["SA"]]
.Other functions that calculate seawater properties: T68fromT90
,
T90fromT48
, T90fromT68
,
swAlphaOverBeta
, swAlpha
,
swBeta
, swCSTp
,
swConservativeTemperature
,
swDepth
, swDynamicHeight
,
swLapseRate
, swN2
,
swPressure
, swRho
,
swRrho
, swSCTp
,
swSTrho
, swSigma0
,
swSigma1
, swSigma2
,
swSigma3
, swSigma4
,
swSigmaTheta
, swSigmaT
,
swSigma
, swSoundAbsorption
,
swSoundSpeed
, swSpecificHeat
,
swSpice
, swTFreeze
,
swTSrho
,
swThermalConductivity
,
swTheta
, swViscosity
,
swZ
## Not run:
# sa <- swAbsoluteSalinity(35.5, 300, 260, 16)
# stopifnot(abs(35.671358392019094 - sa) < 00.000000000000010)
# ## End(Not run)
Run the code above in your browser using DataLab