Skip to content

Commit 897f8d5

Browse files
committed
Add notes for v23.7
1 parent ee89255 commit 897f8d5

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

docs/metadata.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ Like for the recommended columns, if optional column values are only needed for
8989

9090
*Alias for `read_dat_method`, added in v23.7.*
9191

92+
??? info "`gran_logic` : *which points to use for Gran-plot estimates*"
93+
Prior to v23.7, Gran-plot initial estimates of alkalinity and EMF<sup>0</sup> were determined using data points that were above 10% and below 90% of the maximum value of the Gran function. From v23.7, the 90% upper cutoff was removed.
94+
95+
* `"v23.7+"` : use the new behaviour without upper cutoff (default).
96+
* `"legacy"` : use the original approach with upper and lower cutoffs.
97+
9298
??? info "`k_*` : *stoichiometric equilibrium constants*"
9399
If not provided, then these are calculated from temperature and salinity by [PyCO2SYS](https://pyco2sys.readthedocs.io/en/latest/co2sys_nd/#equilibrium-constants).
94100

docs/versions.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,19 @@ Calkulate v3 went too far overboard with the OO approach and ended up being very
88

99
### 23.7 (1 July 2025)
1010

11+
!!! warning "Different results in v23.7"
12+
13+
A few default settings changed in v23.7, which means that calculated results will be slightly different. Changes should be at most on the order of 1 µmol/kg, and the new results should be more accurate.
14+
15+
To revert to the old behaviours, use the following kwargs or [metadata table columns](metadata.md/#optional-columns): `dilute_totals_for_ks=True, double=False, gran_logic="legacy"`.
16+
1117
!!! info "Changes in v23.7"
1218

1319
* All EMF solvers now do a double-solve by default, in order to improve the range of pH data that are used. This does mean that results may change as a different set of data points will sometimes be used to solve each titration. To revert to the old behaviour, use `double=False`.
1420
* Equilibrium constants now vary through titrations with temperature only, not also with changing total sulfate and fluoride concentrations as in previous versions. To revert to the old behaviour, use `dilute_totals_for_ks=True`.
15-
* Added support for German-language Tiamo titration files.
21+
* More points used for the Gran-plot initial estimate of alkalinity and EMF<sup>0</sup>. To revert to the old behaviour, use `gran_logic="legacy"`.
22+
* `pH_range` kwarg replaced with separate `pH_min` and `pH_max` kwargs, which can also be used as [metadata table columns](metadata.md/#optional-columns).
23+
* Added support for German-language Tiamo titration files (use `file_type="tiamo_de"`).
1624
* Major revisions to streamline the backend processing.
1725

1826
### 23.6 (19 February 2024)

0 commit comments

Comments
 (0)