watdepth {AquaEnv} | R Documentation |
PUBLIC function: calculates the depth (in m) from the gauge pressure p (or the total pressure P) and the latitude (in degrees: -90 to 90) and the atmospheric pressure Pa (in bar)
watdepth(P=Pa, p=pmax(0, P-Pa), lat=0, Pa=1.013253)
P |
total pressure in bar, standard: 1 atm (at the sea surface) |
p |
gauge pressure in bar (total pressure minus atmospheric pressure), standard: 0 (at the water surface) |
lat |
latitude in degrees: -90 to 90, standard: 0 |
Pa |
atmospheric pressure in bar, standard: 1 atm (at sea level) |
water depth d in meters
Andreas F. Hofmann. Maintained by Karline Soetaert (Karline.Soetaert@nioz.nl).
Fofonoff1983
watdepth(100)
plot(watdepth(1:100))