Learn R Programming

AquaEnv (version 1.0-4)

gauge_p: 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

References

Fofonoff1983

Examples

Run this code
gauge_p(100)
plot(gauge_p(1:100))

Run the code above in your browser using DataLab