Learn R Programming

marelac (version 2.1.9)

sw_depth: 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.

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

See Also

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

Run this code
# NOT RUN {
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

# }

Run the code above in your browser using DataLab