Learn R Programming

oce (version 0.2-1)

swSigma: Seawater density anomaly

Description

Compute $\sigma$, the in-situ density of seawater, minus 1000 kg/m$^3$.

Usage

swSigma(salinity, temperature=NULL, pressure=NULL)

Arguments

salinity
either salinity [PSU] (in which case temperature and pressure must be provided) or a ctd object (in which case salinity, temperature and pressure ar
temperature
in-situ temperature [$^\circ$C]
pressure
pressure [dbar]

Value

  • In-situ density anomaly [kg/m$^3$].

Details

If the first argument is a ctd object, then salinity, temperature and pressure values are extracted from it, and used for the calculation.

Definition: $\rho(S,t,p)$ - 1000 kg/m$^3$.

See Also

Related density routines include: swRho to calculate in-situ density, swSigmaT to calculate an archaic quantity found in old textbooks, and swSigmaTheta to calculate potential density anomaly relative to the surface pressure. If you are thinking of using swSigma, you probably want swSigmaTheta.

Examples

Run this code
sig <- swSigma(35, 13, 1000)	# 30.818}

<references>Fofonoff, P. and R. C. Millard Jr, 1983. Algorithms for
 computation of fundamental properties of seawater. <em>Unesco
 Technical Papers in Marine Science</em>, <b>44</b>, 53 pp

 Gill, A.E., 1982. <em>Atmosphere-ocean Dynamics</em>, Academic Press, New
 York, 662 pp.</references>

[object Object]

<keyword>misc</keyword>

Run the code above in your browser using DataLab