fun_density | R Documentation |
Seawater density calculation
fun_density(temp, salt, P)
temp |
numeric for temperature |
salt |
numeric for salinity |
P |
numeric for pressure above atmospheric (dbar) |
Adapted from Matlab code by Jill Arriola, 2021-03-16
THIS FUNCTION COMPUTES DENSITY OF SEAWATER ACCORDING TO THE INTERNATIONALLY ACCEPTED (UNESCO) EQUATIONS.
Reference: MILLERO AND POISSON, DEEP-SEA RESEARCH, 28A, 625-629, 1981.
THE STANDARD ERROR OF THIS EQUATION IS 3.6 X 10-3 KG/M-3.
INPUTS ARE temp = Water Temperature (DEG. C) salt = Salinity (PPT) P = Pressure above atmospheric (dbar)
OUTPUT IS RHO = Density (kg/m^3)
RHO (kg/m^3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.