Skip to the content.

Gas-Solubility-Codes

Here you will find functions in Python, R and Matlab for computing the equilibrium solubility of gases in water and seawater. The references for each empirical solubility function are found in the header of the code. The solubility of noble gases He, Ne, Ar, Kr, and Xe have been updated in 2022 to use the Jenkins et al., (2019) Marine Chemistry code DOI:10.1016/j.marchem.2019.03.007.

Whenever you commit to this repository, GitHub Pages will run Jekyll to rebuild the pages in your site, from the content in your Markdown files.

Installation:

Navigate to the upper left dropdown menu that says ‘master’ and choose the branch that you want to download, which corresponds to either Matlab_codes, Python_codes, or R_code. Once you have chosen the branch you want, click on the Code button to download the code bundle. The unzipped files need to be on your path for e.g. Matlab, Python or R.

Gases included thus far:

  1. Helium (He): Matlab, Python, R
  2. Neon (Ne): Matlab, R, Python
  3. Argon (Ar): Matlab, Python, R
  4. Krypton (Kr): Matlab, R, Python
  5. Xenon (Xe): Matlab, Python
  6. Radon (Rn): Matlab, R
  7. Nitrogen (N2): Matlab, Python, R
  8. Oxygen (O2): Matlab, Python, R
  9. Carbon dioxide (CO2): Matlab, Python, R
  10. Methane (CH4): Python, Python, R
  11. Sulfur Hexafluoride (SF6): Matlab, Python, R
  12. Carbon tetrachloride (CCl4): Matlab,
  13. Trichlorofluoromethane (CFC-11): Matlab,Python, R
  14. Dichlorodifluoromethane (CFC-12): Matlab, Python, R
  15. 1,1,2-Trichloro-1,2,2-trifluoroethane (CFC-113): Matlab
  16. Nitrous Oxide (N2O): Matlab, Python, R
  17. Anthracene (C4H10): Python
  18. Mercury (Hg0): Matlab,
  19. Ethylene (C2H4): Matlab,
  20. Carbon Monoxide (CO): Matlab,
  21. HCFC-22 solubility: Matlab,
  22. HCFC-141b solubility: Matlab,
  23. HCFC-142b solubility: Matlab,
  24. HFC-134a solubility
  25. HFC-23 solubility
  26. SO2 Solubility: Matlab,

Support or Contact

Please contact bloose@uri.edu with an issues.

Contributors to this project include:

  1. Sam Gartzman (URL)
  2. Monique LeFrance (URL)
  3. Kris Krasnosky (URL)
  4. Scott Hara (URL)
  5. Christiane Uhlig URL
  6. Janine Andrys (URL)
  7. Melanie Feen (URL)
  8. Grace Medley (URL)
  9. Lisa de Pace (URL)
  10. Victoria Fulfer (URL)
  11. Jacob Strock (URL)
  12. Emma Thomas (URL)
  13. Nicole Flecchia (URL)
  14. Nina Santos (URL)
  15. Kayla Kurtz (URL)
  16. Peter Melanson (URL)
  17. Matt Dunn (URL)
  18. Jessica Carney (URL)
  19. Angela Stahl (URL)
  20. Sara Shapiro (URL)
  21. Catrina Nowakowski (URL)
  22. Kyle Turner (URL)
  23. Maggie Heinichen (URL)
  24. Ian Bishop (URL)
  25. Diana Fontaine (URL)
  26. Michelle Hauer (URL)
  27. Samantha Setta (URL)
  28. Maya Morales-McDevitt (URL)
  29. Nina Santos (URL)
  30. Samuel Katz (URL)
  31. Xiaozhuo Wei (URL)