# gravity

##

Last updated Sun Sep 19 11:54:18 1999

Gravity as a function of latitude and pressure

## 1. SYNOPSIS

g = gravity(p, lat)

## 2. DESCRIPTION

Calculates the Earth gravity as a function of pressure and latitude. Coding is inspired from the CODAS C-source file ocean/grav.c.

## 3. PARAMETERS

p

  Pressure in dbar.

lat

  Latitude in degrees.

## 4. RETURNS

p

  Gravity in m/s^2.

## 5. AUTHOR

Pierre Jaccard, Geophysical Institute, University of Bergen, 1999.