g = gravity(p, lat)
Calculates the Earth gravity as a function of pressure and latitude. Coding is inspired from the CODAS C-source file ocean/grav.c.
Pressure in dbar.
Latitude in degrees.
Gravity in m/s^2.
Pierre Jaccard, Geophysical Institute, University of Bergen, 1999.