gauge_p: gauge_p

View source: R/aquaenv_private_auxilaryfunctions.R

gauge_pR Documentation

gauge_p

Description

PUBLIC function: calculates the gauge pressure (total pressure minus atmospheric pressure) from the depth (in m) and the latitude (in degrees: -90 to 90) and the atmospheric pressure (in bar)

Usage

gauge_p(d, lat=0, Pa=1.01325)

Arguments

d

water depth in meters

lat

latitude in degrees: -90 to 90, standard: 0

Pa

atmospheric pressure in bar, standard: 1 atm (at sea level)

Value

gauge pressure (total pressure minus atmospheric pressure) p in bars

Author(s)

Andreas F. Hofmann. Maintained by Karline Soetaert (Karline.Soetaert@nioz.nl).

References

Fofonoff1983

Examples

gauge_p(100)
plot(gauge_p(1:100))

AquaEnv documentation built on Feb. 13, 2026, 9:07 a.m.

Related to gauge_p in AquaEnv...