ebase_rho {EBASE} | R Documentation |
Seawater density calculation
ebase_rho(temp, salt, P)
temp |
numeric for temperature (C) |
salt |
numeric for salinity (PSU) |
P |
numeric for pressure above atmospheric (dbar) |
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.
Rho (kg/m^3)
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
temp <- c(10, 20, 30)
salt <- c(30, 35, 40)
ebase_rho(temp = temp, salt = salt, P = 0)