Updates to work with Kgen 0.3.0
Main code changes: * Explicitly set default Ca (0.0102821) and Mg (0.0528171) concentrations so pymyami is not run at ambient conditions. * Explicitly set P_in to 0.0 so pressure calculation is not run at surface conditions. * Set minumum required Kgen version to 0.3.0.
Set minumum required Kgen version to 0.2.0.
Updates to work with Kgen 0.2.0.
Minor breaking change: All TX quantities have been renamed to XT (i.e. TF and TS are not FT and ST to be consistent with BT nomenclature)
Fix Omega Units
Fix OmegaC
Omega calculation.
Main code changes: * Added calculation of OmegaA and OmegaC. * Corrected calculation of conservative ions when S_out is specified. * Modified test_in_out.py to accommodate S_out handling.
Technical: Stopped including all GLODAP data in bdist_wheel to reduce file size.
Delegate all K calculation to external packages: * [kgen](https://github.com/PalaeoCarb/Kgen) for K calculation. * [pymyami](https://github.com/PalaeoCarb/MyAMI) for adjusting Ks for seawater major ion composition.
Main code changes: * Strip out all old MyAMI code * re-organise carbon, boron, and boron isotope functions * Added in additional B isotope functions for palaeo-calculations * Functionality for providing B isotopes instead of pH for the main functions.
(including changes from 0.3.6... shoddy record keeping)
- Fixed MyAMI_V2 to match original Matlab version (typo in temperature parameter)
- Revelle factor calculation.
- pH scale conversion calculator
- Allow specification of TS and TF
- Test updates to reflect changes
- general bug fixes
- Makefile for testing and distribution.
- Logo!
Thanks to @douglascoenen for typo correction.
- Bring CBsys in line with new changes.
- CO2SYS comparison with GLODAPv2 Bottle data.
- Minor parameter fixes and equation updates to match CO2SYS.
- pH scale correction of KP1, KP2, KP3, KSi and KW
- Implemented nutrient alkalinity for all except CO3_TA and HCO3_TA cases using parameterisation of Matlab CO2SYS.
- Moved pressure correction back into MyAMI_V2 functions, but still after parameter calculation so speed increase is maintained.
- Added data_out function for exporting data.
- Minor idiot-proofing of minor functions.
- Improved tests.
- General cleanup.
Moved pressure correction from MyAMI to cbsyst. As the pressure correction factor is multiplicative, it makes no difference to the resulting constants, and is MUCH faster on the cbsyst side. In MyAMI, pressure correction was involved lower down in generating the K meshes parameter fitting, so a new parameter set had to be calculated for each P.
- Comparison to GLODAPv2 dataset.
- Implemented pressure corrections.
- Fixed missing dependency that made Pypi install fail.
- Initial Pypi Release