Compute specific heat of seawater.
Usage
swSpecificHeat(
salinity,
temperature = NULL,
pressure = 0,
longitude = NULL,
latitude = NULL,
eos = getOption("oceEOS", default = "gsw")
)
Arguments
- salinity
either practical salinity (in which case
temperature
andpressure
must be provided) or anoce
object (in which casesalinity
, etc. are inferred from the object).- temperature
in-situ temperature (\(^\circ\)C), defined on the ITS-90 scale.
- pressure
seawater pressure (dbar)
- longitude
longitude of observation (only used if
eos="gsw"
; see “Details”).- latitude
latitude of observation (only used if
eos="gsw"
; see “Details”).- eos
equation of state, either
"unesco"
or"gsw"
.
Details
If the first argument is a ctd
object, then salinity, etc, are
extracted from it, and used for the calculation.
References
Millero et. al., J. Geophys. Res. 78 (1973), 4499-4507
Millero et. al., UNESCO report 38 (1981), 99-188.
See also
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()
,
swSpice()
,
swSpiciness0()
,
swSpiciness1()
,
swSpiciness2()
,
swSstar()
,
swTFreeze()
,
swTSrho()
,
swThermalConductivity()
,
swTheta()
,
swViscosity()
,
swZ()
Examples
swSpecificHeat(40, T90fromT68(40), 10000, eos = "unesco") # 3949.499
#> [1] 3849.499