Skip to contents

Seawater density calculation

Usage

ebase_rho(temp, salt, P)

Arguments

temp

numeric for temperature (C)

salt

numeric for salinity (PSU)

P

numeric for pressure above atmospheric (dbar)

Value

Rho (kg/m^3)

Details

Density of seawater is calculated according to the internationally accepted (UNESCO) equations. The standard error of the equation is 3.6 x 10-3 kg/m-3.

References

Millero, F.J., Poisson, A., 1981. International one-atmosphere equation of state of seawater. Deep Sea Research 28, 625-629. https://doi.org/10.1016/0198-0149(81)90122-9

Examples

temp <- c(10, 20, 30)
salt <- c(30, 35, 40)
ebase_rho(temp = temp, salt = salt, P = 0)
#> [1] 1023.051 1024.763 1025.483