Skip to content

seacarbx - seacarb extension for deep-time carbonate system calculations

Compare
Choose a tag to compare
@martens73 martens73 released this 11 Jan 12:51
· 5 commits to main since this release
a234d04

seacarbx is a seacarb extension written in R, which enables to use seacarb (Gattuso et al., 2019) for deep-time carbonate system calculations or for culturing studies carried out in seawater with modified [Mg2+] and [Ca2+]. For this, the functions carb, K0, K1, K2, Ks, Kw, Kb, Kspa, and Kspc were modfied to account for the effect of seawater [Mg2+] and [Ca2+] on the dissociation constants of carbonic and boric acid. In addition to the modified functions, seacarbx contains MyAMI that are tabulated parameters defining the temperature and salinity dependencies of the conditional equilibrium constants for [Mg2+] and [Ca2+] in the range 1–60 mM (from Hain et al., 2015, 2018), as well as a function for bilinear interpolation.