# sw_depth: Water Depth In marelac: Tools for Aquatic Sciences

 sw_depth R Documentation

## Water Depth

### Description

Computes the water depth for water of salinity 35, and temperature 0 dg C, based on latitude and hydrostatic pressure, using the UNESCO 1983 polynomial.

### Usage

``````sw_depth(p = P-1.013253, P = 1.013253, lat = 0)
``````

### Arguments

 `p ` gauge or applied pressure, pressure referenced against the local atmospheric pressure, bar `P ` true pressure, bar `lat ` latitude (-90 to +90), -,

### Value

Water depth in m.

### Note

`sw_depth` for p = 1000, lat = 30 is 9712.653 m.

### Author(s)

Karline Soetaert <karline.soetaert@nioz.nl>

### References

Fofonoff NP and Millard RC Jr, 1983. Algorithms for computation of fundamental properties of seawater. UNESCO technical papers in marine science, 44, 53 pp.
http://unesdoc.unesco.org/images/0005/000598/059832EB.pdf

`sw_adtgrad`, `sw_alpha`, `sw_beta`, `sw_comp`, `sw_conserv`, `sw_cp`, `sw_dens`, `sw_enthalpy`, `sw_entropy`, `sw_gibbs`, `sw_kappa`, `sw_kappa_t`, `sw_sfac`, `sw_svel`, `sw_tfreeze`, `sw_tpot`

### Examples

``````sw_depth(p = 1000, lat = 30:40)

## Check values
sw_depth(p = 1000, lat = 30)     #9712.65
sw_depth(p = 50,   lat = 30)     #496.00
sw_depth(p = 50,   lat = 60)     #494.69
sw_depth(p = 500,  lat = 60)     #4895.60

``````

marelac documentation built on Sept. 25, 2023, 5:06 p.m.