DENSITY: Function density

View source: R/density.R

DENSITYR Documentation

Function density

Description

Equation of State is from Millero & Poisson (1981) DSR V28: 625-629.

INPUT: Salinity (S) in g/kg or pss. Temperature (T) in degrees C.

OUTPUT: Density [rho] in g/cc.

DEFINE CONSTANTS FOR EQUATION OF STATE

Usage

DENSITY(S, T_C)

Arguments

S

Salinity in g/kg or pss (numeric)

T_C

Temperature in degrees C (numeric)

Value

Density in g/cc


SCCWRP/phcorrection documentation built on Jan. 4, 2023, 9:14 p.m.