Useful MatLab functions:
gas solubilities, carbon system parameters, and seawater vapor pressure
These MatLab functions calculate gas solubility based on Weiss (1971) for helium, Hamme and Emerson (2004) for neon, nitrogen and argon, Garcia and Gordon (1992) for oxygen, Weiss and Kyser (1978) for krypton, and Wood and Caputi (1966) for xenon. There is some indication that the Wood and Caputi Xe solubility curve may be about 2% too high, but this potential offset is not included in the Xesol script. See Hamme and Severinghaus (2007) for a discussion of the offset. The carbon system parameters function calculates the concentrations of the various carbonate species, pH and the fugacity of CO2 given inputs of temperature, salinity, DIC, alkalinity, and pressure. It is not as complete a script as CO2SYS, but it is a bit easier to use and suitable for beginning students wishing to gain some intuition.
The vapor pressure of seawater is based on Wagner and Pruss (2002) and Millero (1974). The gas diffusion coefficient script is based on Jahne et al. (1987) for the noble gases and Ferrell and Himmelblau (1967) for oxygen and nitrogen.
Please e-mail me if you have any difficulty with the functions as I would like to improve them:
Carbon system parameters
Vapor pressure of seawater
Diffusion coefficients for various gases in fresh/seawater
Dissolved gas database:
This data is provided free for educational and non-profit research purposes. We ask that you acknowledge the authors and appropriate publications in any work that uses this database. Please also send an e-mail to , letting me know that you have downloaded the data, so that I can keep you apprised of any further corrections or changes. Both MatLab .mat databases and comma-delimited text files are provided. These two formats contain identical information. Please also e-mail me if you have any difficulty with the databases as I would like to improve them.download dissolved gas data from time-series locations for 1998-2004