swPressure: Water Pressure

View source: R/sw.R

swPressureR Documentation

Water Pressure

Description

Compute seawater pressure from depth by inverting swDepth() using uniroot().

Usage

swPressure(depth, latitude = 45, eos = getOption("oceEOS", default = "gsw"))

Arguments

depth

distance below the surface in metres.

latitude

Latitude in ^\circN.

eos

indication of formulation to be used, either "unesco" or "gsw".

Details

If eos="unesco" this is done by numerical inversion of swDepth() is done using uniroot(). If eos="gsw", it is done using gsw::gsw_p_from_z() in the gsw package.

Value

Pressure in dbar.

Author(s)

Dan Kelley

References

Unesco 1983. Algorithms for computation of fundamental properties of seawater, 1983. Unesco Tech. Pap. in Mar. Sci., No. 44, 53 pp.

See Also

Other functions that calculate seawater properties: T68fromT90(), T90fromT48(), T90fromT68(), computableWaterProperties(), locationForGsw(), swAbsoluteSalinity(), swAlpha(), swAlphaOverBeta(), swBeta(), swCSTp(), swConservativeTemperature(), swDepth(), swDynamicHeight(), swLapseRate(), swN2(), swRho(), swRrho(), swSCTp(), swSR(), swSTrho(), swSigma(), swSigma0(), swSigma1(), swSigma2(), swSigma3(), swSigma4(), swSigmaT(), swSigmaTheta(), swSoundAbsorption(), swSoundSpeed(), swSpecificHeat(), swSpice(), swSpiciness0(), swSpiciness1(), swSpiciness2(), swSstar(), swTFreeze(), swTSrho(), swThermalConductivity(), swTheta(), swViscosity(), swZ()

Examples

swPressure(9712.653, 30, eos = "unesco") # 10000
swPressure(9712.653, 30, eos = "gsw") #  9998.863


oce documentation built on Sept. 11, 2024, 7:09 p.m.