decibar2depth: decibar2depth

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/decibar2depth.r

Description

This function calculates depth in meters from pressure in decibars using Saunders and Fofonoff's method

Usage

1
decibar2depth(P, lat, Del = 0, method = "default")

Arguments

P

= pressure, in decibars

lat

= degrees latitude

Del

= geopotential anomaly (defaults to 0)

method

= valid values include"default", "seabird", and "unesco", although they all appear to be treated the same

Value

DEPTH = depth in M

Note

/ UNITS: // PRESSURE P DECIBARS // LATITUDE LAT DEGREES // DEPTH DEPTH METERS // DTN. HEIGHT DEL DYN. METERS (geopotenial anomaly in J/kg:: assume 0) // CHECKVALUE: // 1.) DEPTH = 9712.653 M for P=10000 DECIBARS, LAT=30 DEG, DEL=0 // ABOVE FOR STANDARD OCEAN: T=0 DEG CELSIUS; S=35 (PSS-78) // ———————————————————- // Original fortran code is found in: // UNESCO technical papers in marine science 44 (1983) - // 'Algorithms for computation of fundamental properties of seawater'

Author(s)

unknown, <unknown>@dfo-mpo.gc.ca

References

http://www.code10.info/index.php?option=com_content&view=article&id=67:calculating-the-depth-from-pressure&catid=54:cat_coding_algorithms_seawater&Itemid=79, http://www.code10.info/index.php?option=com_content&view=article&id=67:calculating-the-depth-from-pressure&catid=54:cat_coding_algorithms_seawater&Itemid=79

See Also

Other physical and chemical properties: compute.oxygen.saturation

Examples

1
2
decibar2depth(10000,30,0)
[1] 9712.653

AtlanticR/bio.utilities documentation built on June 21, 2020, 7:43 p.m.