Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

water.density

Estimate Water Density


Description

Density of water from temperature and salinity

Usage

water.density(wtr, sal = wtr * 0)

Arguments

wtr

a numeric vector of water temperature in degrees Celsius

sal

a numeric vector of salinity in Practical Salinity Scale units

Value

A numeric vector of water densities in kg/m^3.

References

Martin, J.L., McCutcheon, S.C., 1999. Hydrodynamics and Transport for Water Quality Modeling. Lewis Publications, Boca Raton, FL, 794pp.

Millero, F.J., Poisson, A., 1981. International one-atmosphere equation of state of seawater. UNESCO Technical Papers in Marine Science. No. 36.

Examples

#Plot water density for water between 1 and 30 deg C
dens = water.density(1:30)
plot(1:30, dens, xlab="Temp(deg C)", ylab="Density(kg/m^3)")

rLakeAnalyzer

Lake Physics Tools

v1.11.4.1
GPL (>= 2)
Authors
Luke Winslow, Jordan Read, Richard Woolway, Jennifer Brentrup, Taylor Leach, Jake Zwart, Sam Albers, Doug Collinge
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.