# gsw_pot_rho_t_exact

    potential density

## Contents

- USAGE:
- DESCRIPTION:
- INPUT:
- OUTPUT:
- EXAMPLE:
- AUTHOR:
- VERSION NUMBER:
- REFERENCES:

## USAGE:

    pot_rho_t_exact = gsw_pot_rho_t_exact(SA,t,p,p_ref)

## DESCRIPTION:

    Calculates potential density of seawater.  Note that this
    function outputs potential density, not potential density
    anomaly; that is, 1000 kg/m^3 is not subtracted.

    Click for a more detailed description of potential
    density.

## INPUT:

    SA    = Absolute Salinity                                      [ g/kg ]
    t     = in-situ temperature (ITS-90)                          [ deg C ]
    p     = sea pressure                                           [ dbar ]
            ( i.e. absolute pressure - 10.1325 dbar )
    p_ref = reference pressure                                     [ dbar ]
            ( i.e. reference absolute pressure - 10.1325 dbar )

    SA & t need to have the same dimensions.
    p & p_ref may have dimensions 1x1 or Mx1 or 1xN or MxN, where SA & t
    are MxN

## OUTPUT:

    pot_rho_t_exact  =  potential density                        [ kg/m^3 ]
                        (not potential density anomaly)

## EXAMPLE:

    SA = [34.7118; 34.8915; 35.0256; 34.8472; 34.7366; 34.7324;]
    t =  [28.7856; 28.4329; 22.8103; 10.2600;  6.8863;  4.4036;]
    p =  [     10;      50;     125;     250;     600;    1000;]
    p_ref  = 0

    pot_rho_t_exact = gsw_pot_rho_t_exact(SA,t,p,p_ref)

    pot_rho_t_exact =

    1.0e+003 *

       1.021798145811089
       1.022052484416980
       1.023893583651958
       1.026667621124443
       1.027107230868492
       1.027409631264134

## AUTHOR:

    David Jackett, Trevor McDougall and Paul Barker     [ help@teos-10.org ]

## VERSION NUMBER:

    3.05 (16th February, 2015)

## 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.
      See section 3.4 of this TEOS-10 Manual.

    The software is available from http://www.TEOS-10.org