    1.  NAME

  gravity - Gravity as a function of latitude and pressure


    2.  SYNOPSIS

  g = gravity(p, lat)


    3.  DESCRIPTION

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


    4.  PARAMETERS



     p  Pressure in dbar.


     lat
        Latitude in degrees.




    5.  RETURNS



     p  Gravity in m/s^2.




    6.  AUTHOR

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

























