sw.specific.heat {oce}R Documentation

Seawater specific heat

Description

Compute specific heat of seawater.

Usage

C.P <- sw.specific.heat(ctd)
C.P <- sw.specific.heat(S, t=NULL, p=NULL)

Arguments

ctd an object of class "ctd".
S salinity [PSU]
t in-situ temperature [degC]
p pressure [dbar]

Details

In the first form, the argument is a ctd object, from which the salinity, temperature and pressure values are extracted and used to 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.72 Index]