# gsw_SAAR

    Absolute Salinity Anomaly Ratio

## Contents

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

## USAGE:

    SAAR = gsw_SAAR(p,long,lat)

## DESCRIPTION:

    Calculates the Absolute Salinity Anomaly Ratio.

    Click for a more detailed description of the
    Absolute Salinity Anomaly Ratio.

## INPUT:

    p     =  sea pressure                                           [ dbar ]
             ( i.e. absolute pressure - 10.1325 dbar )
    long  =  longitude in decimal degrees                     [ 0 ... +360 ]
                                                        or [ -180 ... +180 ]
    lat   =  latitude in decimal degrees north               [ -90 ... +90 ]

    p, long & lat need to have the same dimensions.

## OUTPUT:

    SAAR      =  Absolute Salinity Anomaly Ratio                [ unitless ]
    in_ocean  =  0, if long and lat are a long way from the ocean
              =  1, if long and lat are in the ocean
      Note. This flag is only set when the observation is well and truly on
        dry land; often the warning flag is not set until one is several
        hundred kilometres inland from the coast.

## EXAMPLE:

    p =    [   10;   50;  125;  250;  600; 1000;]
    lat =  [    4;    4;    4;    4;    4;    4;]
    long = [  188;  188;  188;  188;  188;  188;]

    [SAAR, in_ocean] = gsw_SAAR(p,long,lat)

    SAAR =

     1.0e-003 *

       0.004794295602143
       0.007668755837570
       0.018919828449091
       0.077293264028981
       0.161974583039298
       0.270652408428964

    in_ocean =

         1
         1
         1
         1
         1
         1

## AUTHOR:

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

## VERSION NUMBER:

    3.01 (23rd 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 http://www.TEOS-10.org
      See section 2.5 of this TEOS-10 Manual.

    McDougall, T.J., D.R. Jackett and F.J. Millero, 2010: An algorithm
     for estimating Absolute Salinity in the global ocean.  Submitted to
     Ocean Science. A preliminary version is available at Ocean Sci. Discuss.,
     6, 215-242.
     http://www.ocean-sci-discuss.net/6/215/2009/osd-6-215-2009-print.pdf

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