swSpecificHeat {oce} | R Documentation |
Compute specific heat of seawater.
swSpecificHeat(salinity, temperature=NULL, pressure=0, longitude=300, latitude=30, eos=getOption("oceEOS", default="gsw"))
salinity |
either practial salinity (in which case |
temperature |
in-situ temperature [degC], defined on the ITS-90 scale. |
pressure |
seawater pressure [dbar] |
longitude |
longitude of observation (only used if |
latitude |
latitude of observation (only used if |
eos |
equation of state, either |
If the first argument is a ctd
object, then salinity, etc, are
extracted from it, and used for the calculation.
Specific heat J/(kg degC)
Dan Kelley
Millero et. al., J. Geophys. Res. 78 (1973), 4499-4507
Millero et. al., UNESCO report 38 (1981), 99-188.
swSpecificHeat(40, T90fromT68(40), 10000, eos="unesco") # 3949.499