# gsw_deltaSA_from_rho_t_exact

    Absolute Salinity Anomaly from density measurements

## Contents

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

## USAGE:

    deltaSA = gsw_deltaSA_from_rho_t_exact(rho,SP,t,p)

## DESCRIPTION:

    Calculates the Absolute Salinity Anomaly of a seawater sample, for given values
    of its density, Practical Salinity, in-situ temperature and sea pressure (in dbar).

    Click for a more detailed description of calculating
    Absolute Salinity Anomaly from density measurements.

## INPUT:

    rho =  density of a seawater sample (e.g. 1026 kg/m^3).       [ kg/m^3 ]
     Note. This input has not had 1000 kg/m^3 subtracted from it.
       That is, it is 'density', not 'density anomaly'.
    SP  =  Practical Salinity  (PSS-78)                         [ unitless ]
    t   =  in-situ temperature (ITS-90)                            [ deg C ]
    p   =  sea pressure                                             [ dbar ]
           ( i.e. absolute pressure - 10.1325 dbar )

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

## OUTPUT:

    deltaSA  =  Absolute Salinity Anomaly                           [ g/kg ]
     Note. This is expressed on the Reference-Composition Salinity
       Scale of Millero et al. (2008).

## EXAMPLE:

    rho = [1021.8425; 1022.2661; 1024.4327;  1027.7977; 1029.8479; 1032.0124;]
    SP  = [ 34.5487 ; 34.7274;  34.8605;  34.6809;  34.5679;  34.5600;]
    t   = [ 28.7856;  28.4329;  22.8103;  10.2600;   6.8863;   4.4036;]
    p   = [      10;       50;      125;      250;      600;     1000;]

    deltaSA = gsw_deltaSA_from_rho_t_exact(rho,SP,t,p)

       0.003302579867899
       0.004908323316101
       0.007327963978994
       0.012442769576580
       0.018757996644624
       0.022202079314248

## AUTHOR:

    Trevor McDougall & 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 2.5 of this TEOS-10 Manual.

    Millero, F. J., R. Feistel, D. G. Wright, and T. J. McDougall, 2008:
     The composition of Standard Seawater and the definition of the
     Reference-Composition Salinity Scale, Deep-Sea Res. I, 55, 50-72.

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