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

1
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

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