Awesome
PyCO2SYS-examples
Here you can find various examples of how to use PyCO2SYS. More are on their way!
Additional PyCO2SYS documentation is available at PyCO2SYS.readthedocs.io.
Currently available examples
To see each example, click the corresponding "launch binder" button to get interactive Python code in your browser, or the "render nbviewer" button to see a non-interactive view of the completed notebook.
welcome-to-PyCO2SYS
Start here for a basic introduction to using PyCO2SYS to solve the marine carbonate system with single values and arrays of values as inputs. This one also includes a brief explanation of how to run the code in these notebooks, in case you are not familiar with the format.
CO2SYSExample1
Calculate the sensitivity of DIC to pH and pCO<sub>2</sub>. Based on the original MATLAB example script CO2SYSExample1.m.
CO2SYSExample2
Converting conditions and pH scales. Based on the original MATLAB example script CO2SYSExample2.m.
UncertaintyPropagation
Propagate uncertainties with PyCO2SYS.
Contributing
If you've got an example of using PyCO2SYS that you'd like to share we'd love to add it here! Just make a fork of this repo and push your additions back here directly into the master branch. Please add a very brief summary of the example to the list above.