sw.specific.heat {oce}R Documentation

Seawater specific heat

Description

Compute specific heat of seawater.

Usage

sw.specific.heat(S, t=NULL, p=NULL)

Arguments

S either salinity [PSU] (in which case t and p must be provided) or a ctd object (in which case S, t and p are determined from the object, and must not be provided in the argument list).
t in-situ temperature [degC]
p pressure [dbar]

Details

If the first argument is a ctd object, then salinity, temperature and pressure values are extracted from it, and used for the calculation.

Based on matlab code on ftp://acourstics.whoi.edu/pub/Matlab/oceans, which was in turn based on Millero et al (1973, 1981).

Value

Specific heat J/(kg degC)

Author(s)

Dan Kelley

References

Millero et. al., J. Geophys. Res. 78 (1973), 4499-4507

Millero et. al., UNESCO report 38 (1981), 99-188.

Examples

C.P <- sw.specific.heat(40, 40, 10000)  # 3949.500

[Package oce version 0.1-76 Index]