Package: SolveSAPHE 2.1.0

Jean-Marie Epitalon
SolveSAPHE: Solver Suite for Alkalinity-PH Equations
Universal and robust algorithm for solving the total alkalinity-pH equation presented in G. Munhoven (2013) <doi:10.5194/gmd-6-1367-2013> and G. Munhoven (2021) <doi:10.5194/gmd-2020-447>. The total alkalinity-pH equation relates total alkalinity and pH for a given set of acid-base concentrations in a given water sample, among which carbonic acid. This package is particularly useful in marine chemistry involving dissolved inorganic carbon. Original package in Fortran can be found at <doi:10.5281/zenodo.4328965>.
Authors:
SolveSAPHE_2.1.0.tar.gz
SolveSAPHE_2.1.0.tar.gz(r-4.5-noble)SolveSAPHE_2.1.0.tar.gz(r-4.4-noble)
SolveSAPHE_2.1.0.tgz(r-4.4-emscripten)SolveSAPHE_2.1.0.tgz(r-4.3-emscripten)
SolveSAPHE.pdf |SolveSAPHE.html✨
SolveSAPHE/json (API)
NEWS
# Install 'SolveSAPHE' in R: |
install.packages('SolveSAPHE', repos = 'https://cloud.r-project.org') |
Conda:r-solvesaphe-2.1.0(2025-03-25)
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 4 years agofrom:7a53d95c40. Checks:1 OK, 2 NOTE. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 19 2025 |
R-4.5-linux | NOTE | Mar 19 2025 |
R-4.4-linux | NOTE | Mar 19 2025 |
Exports:ACVT_HSWS_O_HFREEACVT_HTOT_O_HFREEAK_AMMO_1_YAMI95AK_BORA_DICK90AK_CARB_0_WEIS74AK_CARB_1_LUEK00AK_CARB_1_MILL95AK_CARB_1_ROYE93AK_CARB_2_LUEK00AK_CARB_2_MILL95AK_CARB_2_ROYE93AK_H2S_1_MILL95AK_HF_PEFR87AK_HSO4_DICK90AK_PHOS_1_MILL95AK_PHOS_2_MILL95AK_PHOS_3_MILL95AK_SILI_1_MILL95AK_W_MILL95solve_pH_from_AT
Dependencies:
Citation
To cite package ‘SolveSAPHE’ in publications use:
Epitalon J, Munhoven G (2021). SolveSAPHE: Solver Suite for Alkalinity-PH Equations. R package version 2.1.0, https://CRAN.R-project.org/package=SolveSAPHE.
Corresponding BibTeX entry:
@Manual{, title = {SolveSAPHE: Solver Suite for Alkalinity-PH Equations}, author = {Jean-Marie Epitalon and Guy Munhoven}, year = {2021}, note = {R package version 2.1.0}, url = {https://CRAN.R-project.org/package=SolveSAPHE}, }
Readme and manuals
solveSAPHE
SOLVEr Suite for Alkalinity-PH Equations
In 2013, Guy Munhoven at Université de Liège, in Belgium, developped this solver in FORTRAN 90, as is presented in his paper:
- Munhoven, G.: Mathematics of the total alkalinity–pH equation — pathway to robust and universal solution algorithms: the SolveSAPHE package v1.0.1, Geosci. Model Dev., 2013.
In 2020, J.M. Epitalon, on order from J.P Gattuso, translated into a R package in order to be used by J.P. Gattuso's package 'seacarb'.
This program is provided free under the GNU General Public License (GNU GPL). It will be improved using the comments that I will receive. If you are new to R, please check the manuals and FAQs available on the R-project web site to get information on how to install R and the solveSAPHE package on your system. Please only report and comment on solveSAPHE, not on general problems related to R.
Briefly, after installing R and if you have an Internet connection, here is the simplest way to install solveSAPHE:
- Launch R
- To install solveSAPHE (to be done only once), type the following command: install.packages("solveSAPHE")
- To load the solveSAPHE package into memory in order to use it (to be done each time R is launched), type the following command: library(solveSAPHE)
The solveSAPHE package can be downloaded from the Comprehensive R Archive Network (CRAN; see link below). The documentation is included in the package and is accessible using standard R commands. Please give due credit to the publications mentioned above and cite solveSAPHE as follows:
Munhoven G., Epitalon J.-M. solveSAPHE: SOLVEr Suite for Alkalinity-PH Equations. R package version 2.1.0. http://CRAN.R-project.org/package=solveSAPHE