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)