# gsw_SP_from_cndr

    Practical Salinity from conductivity ratio

## Contents

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

## USAGE:

    SP = gsw_SP_from_cndr(R,t,p)

## DESCRIPTION:

    Calculates Practical Salinity from conductivity ratio (R), using the
    PSS-78 algorithm.  Note that the PSS-78 algorithm for Practical Salinity
    is only valid in the range 2 < SP < 42.  The output, SP, of this
    function is constrained to be non-negative.

    Click for a more detailed description of calculating
    Practical Salinity from conductivity ratio.

## INPUT:

    R  =  Conductivity ratio                                    [ unitless ]
    t  =  in-situ temperature (ITS-90)                             [ deg C ]
    p  =  sea pressure                                              [ dbar ]
          ( ie. absolute pressure - 10.1325 dbar )

    t & p may have dimensions 1x1 or Mx1 or 1xN or MxN, where R is MxN.

## OUTPUT:

    SP  =  Practical Salinity on the PSS-78 scale               [ unitless ]

## EXAMPLE:

    R = [ 1.3145;  1.3123;  1.1807;  0.8886; 0.8169; 0.7687;]
    t = [28.7856; 28.4329; 22.8103; 10.2600; 6.8863; 4.4036;]
    p = [     10;      50;     125;     250;    600;   1000;]

    SP = gsw_SP_from_cndr(R,t,p)

    SP =

      34.547219254816596
      34.727400381174370
      34.859100827188712
      34.679845200922003
      34.567856165219020
      34.561679175326645

## AUTHOR:

    17th April 1993.  Phil Morgan          [ help_gsw@csiro.au ]

    MODIFIED:
       12th December 2003. Lindsay Pender, Converted to ITS-90.
       28th July 2010. by Paul Barker

## VERSION NUMBER:

    2.0 (3rd August, 2010)

## REFERENCES:

    Fofonoff, P. and R.C. Millard Jr. 1983: Algorithms for computation of
     fundamental properties of seawater. Unesco Tech. Pap. in Mar. Sci., 44,
     53 pp.

    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 appendix E of this TEOS-10 Manual.

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