gsw_z_from_depth

height from depth

Contents

USAGE:

z = gsw_z_from_depth(depth)

DESCRIPTION:

Calculates height, z, from depth.

Note. Height z is NEGATIVE in the ocean. i.e. Depth is -z.
 Depth is not used in the GSW computer software library.
TEOS-10

INPUT:

depth  =  depth                                                    [ m ]

OUTPUT:

z  =  height                                                       [ m ]
Note. At sea level z = 0, and since z (HEIGHT) is defined to be
  positive upwards, it follows that while z is positive in the
  atmosphere, it is NEGATIVE in the ocean.

EXAMPLE:

depth = [   10;   50;  125;   250;  600; 1000;]
z = gsw_z_from_depth(depth)
z =
   -10
   -50
  -125
  -250
  -600
 -1000

AUTHOR:

Winston                                    [ god@teos-10.org ]

VERSION NUMBER:

3.01 (26th May, 2011)

REFERENCES:

IOC, SCOR and IAPSO, 2010: The international thermodynamic equation of
 seawater - 2010: Calculation and use of thermodynamic properties.
 Intergovernmental Oceanographic Commission, Manuals and Guides No. 56,
 UNESCO (English), 196 pp.  Available from the TEOS-10 web site.
This software is available from http://www.TEOS-10.org