This function is used to estimate the sound speed using Coppens equation

sound_speed(T, D = NULL, S = NULL)

Arguments

T

The temperature in degrees C

D

(optional) The depth in meters (defaults to 1 m)

S

The salinity in part-per-thousand (defaults to 35 ppt)

Value

The sound speed in m/s

Note

Range of validity: temperature 0 to 35 °C, salinity 0 to 45 parts per thousand, depth 0 to 4000 m

Source: http://resource.npl.co.uk/acoustics/techguides/soundseawater/content.html#UNESCO

Examples

sound_speed(8, 1000, 34)
# Returns: 1497.7 m/s