View source: R/speed_of_sound.R
speed_of_sound | R Documentation |
Computes speed of sound in water per Del grosso (1974)
speed_of_sound(sal, temp, depth)
sal |
Salinity (PSU) |
temp |
Water temperature (degrees C) |
depth |
Water depth (m) or pressure (dBar) |
Speed of sound in water (m/s)
Daniel Livsey (2023) ORCID: 0000-0002-2028-6128
Del Grosso, V. A. (1974). New equation for the speed of sound in natural waters (with comparisons to other equations). The Journal of the Acoustical Society of America, 56(4), 1084-1091. Author modified matlab code from David Schoellhamer
InputData <- realTimeloads::ExampleData
Sonde<- InputData$Sonde
sal <- ctd2sal(Sonde$Conductivity_uS_per_cm,Sonde$Water_Temperature_degC,Sonde$Pressure_dbar)
c <- speed_of_sound(sal,Sonde$Water_Temperature_degC,Sonde$Pressure_dbar)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.