# gsw_O2sol

`solubility of O2 in seawater`

## USAGE:

`O2sol = gsw_O2sol(SA,CT,p,long,lat)`

## DESCRIPTION:

```Calculates the oxygen, O2, concentration expected at equilibrium with
air at an Absolute Pressure of 101325 Pa (sea pressure of 0 dbar)
including saturated water vapor.  This function uses the solubility coefficients
derived from the data of Benson and Krause (1984), as fitted by Garcia
and Gordon (1992, 1993).```
```Note that this algorithm has not been approved by IOC and is not work
from SCOR/IAPSO Working Group 127. It is included in the GSW
Oceanographic Toolbox as it seems to be oceanographic best practice.```

## INPUT:

```SA  =  Absolute Salinity                                        [ g/kg ]
CT  =  Conservative Temperature                                [ deg C ]
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 ]```
```SA & CT need to have the same dimensions. p, lat and long may have
dimensions 1x1 or Mx1 or 1xN or MxN, where SA and CT are MxN.```

## OUTPUT:

`O2sol = solubility of oxygen                                 [ umol/kg ]`

## EXAMPLE:

```SA = [34.7118; 34.8915; 35.0256; 34.8472; 34.7366; 34.7324;]
CT = [28.8099; 28.4392; 22.7862; 10.2262;  6.8272;  4.3236;]
p =  [     10;      50;     125;     250;     600;    1000;]
lat =  [      4;       4;       4;       4;       4;       4;]
long = [    188;     188;     188;     188;     188;     188;]```
`O2sol = gsw_O2sol(SA,CT,p,long,lat)`
`O2sol = `
`   1.0e+002 *`
```   1.949651126384804
1.958728907684003
2.148922307892045
2.738656506758550
2.955109771828408
3.133584919106894```

## AUTHOR:

`Roberta Hamme, Paul Barker and Trevor McDougall      [ 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.```
```Benson, B.B., and D. Krause, 1984: The concentration and isotopic
fractionation of oxygen dissolved in freshwater and seawater in
equilibrium with the atmosphere. Limnology and Oceanography, 29,
620-632.```
```Garcia, H.E., and L.I. Gordon, 1992: Oxygen solubility in seawater:
Better fitting equations. Limnology and Oceanography, 37, 1307-1312.```
```Garcia, H.E., and L.I. Gordon, 1993: Erratum: Oxygen solubility in
seawater: better fitting equations. Limnology and Oceanography, 38,
656.```
`The software is available from http://www.TEOS-10.org`