Published February 16, 2024 | Version v1.8.3
Software Open

PyCO2SYS: marine carbonate system calculations in Python

  • 1. NIOZ Royal Netherlands Institute for Sea Research, Texel, the Netherlands
  • 2. Vrije Universiteit Amsterdam, the Netherlands
  • 3. Large Lakes Observatory and Water Resources Department, University of Minnesota Duluth, Minnesota, USA
  • 4. ETH Zürich, Switzerland
  • 5. University of Miami, Florida, USA
  • 6. University of Groningen, the Netherlands
  • 7. Brookhaven National Laboratory, New York, USA
  • 8. Dalhousie University, Halifax, Nova Scotia, Canada

Description

Changes in v1.8.3

New features

  • Added "dlnfCO2_dT" and "dlnpCO2_dT" results, the theoretical effect of temperature on the natural log of <i>ƒ</i>CO<sub>2</sub> and <i>p</i>CO<sub>2</sub>.
  • Added the PLR18 parameterisation of the carbonic acid constants for sea-ice brines.

Default options

  • Reverted default opt_k_carbonic to 10 (i.e., LDK00) for consistency with the best practice guide.

Bug fixes

  • Updated pyco2.equilibria.p1atm.kH2CO3_NBS_MCHP73 (used for opt_k_carbonic options 6 and 7) to update any salinity values less than 10<sup>–16</sup> to be 10<sup>–16</sup>, because zero salinities give a NaN for <i>K</i><sub>2</sub>, which causes problems for Autograd. This should not make any practical difference, because the parameterisation is only valid for salinities above 19.
  • Added opt_pressured_kCO2 to results dict and incorporated it correctly into the uncertainty propagation functions.

Technical

  • Updated from building with setup.py to pyproject.toml.

Files

mvdh7/PyCO2SYS-v1.8.3.zip

Files (78.3 MB)

Name Size Download all
md5:b099280a84ee994e429e793b0de6a96e
78.3 MB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/mvdh7/PyCO2SYS/tree/v1.8.3 (URL)