Releases: boom-lab/gasex-python
Releases · boom-lab/gasex-python
First release of gasex-python v0.0.1
First Release: v0.0.1 🚀
First release of gasex-python. This initial version provides python tools for dissolved gases and air-sea exchange in oceanography. Gases included so far are: O2, CO2, CH4, CO, N2, N2O, He, Ne, Ar, Kr, Xe.
Features
- calculates gas solubility (K0) and gas concentration in equilibrium with moist atmosphere
- calculates air-sea gas exchange with options for different wind speed-based parameterizations, including Liang et al. (2013) and Wanninkhof et al. (2014)
- calculates N2O fugacity
Installation
To install,
git clone https://github.com/boom-lab/gasex-python.git
cd gasex-pythonUsage example
from gasex import airsea
(Fd, Fc, Fp, Deq, Ks) = airsea.L13(0.01410, 5, 35, 10, slp=1.0, gas='Ar', rh=0.9)Dependencies
Python 3.x
gsw==3.6.17
numpy==1.22.3
Known Issues & Future Work
- not all functions are implemented yet for all gases
- need to add fugacity function for CO2
- need to find N2O, CO diffusivities if you want to to calculate water-side Schmidt number from gas diffusivity and viscosity of seawater instead of using the Wanninkhof formulas
If you encounter any issues, please open an issue or contribute via pull requests!