Learn R Programming

oce (version 0.2-1)

swTSrho: Seawater temperature from salinity and density

Description

Compute in-situ temperature, given salinity, density, and pressure.

Usage

swTSrho(salinity, density, pressure)

Arguments

salinity
in-situ salinity [PSU]
density
in-situ density or sigma value [kg/m$^3$]
pressure
in-situ pressure [dbar]

Value

  • In-situ temperature [$^\circ C$].

Details

Finds the temperature that yields the given density, with the given salinity and pressure. The method is a bisection search with temperature tolerance 0.001 $^\circ C$.

References

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

Gill, A.E., 1982. Atmosphere-ocean Dynamics, Academic Press, New York, 662 pp.

See Also

swSTrho

Examples

Run this code
temperature <- swTSrho(35, 23, 0)

Run the code above in your browser using DataLab