Learn R Programming

⚠️There's a newer version (3.3.3) of this package.Take me there.

seacarb (version 3.0.11)

Seawater Carbonate Chemistry

Description

Calculates parameters of the seawater carbonate system and assists the design of ocean acidification perturbation experiments.

Copy Link

Version

Install

install.packages('seacarb')

Monthly Downloads

831

Version

3.0.11

License

GPL (>= 2)

Maintainer

Jean-Pierre Gattuso

Last Published

October 19th, 2015

Functions in seacarb (3.0.11)

Om

Carbonate saturation state for magnesian calcites
K1

First dissociation constant of carbonic acid (mol/kg)
f2pCO2

Converts the CO2 fugacity to CO2 partial pressure
K3p

Third dissociation constant of phosphoric acid (mol/kg)
K2p

Second dissociation constant of phosphoric acid (mol/kg)
Ksi

Dissociation constant of Si(OH)4
buffesm

Buffer capacities of the seawater carbonate system as defined by Egleston et al. (2010)
carb

Parameters of the seawater carbonate system
bjerrum

Bjerrum plot
Kb

Dissociation constant of boric acid (mol/kg)
Kn

Dissociation constant of ammonium (mol/kg)
seacarb_test_P0

Test data file (at P=0) to test the use of the carb function
Kw

Ion product of water (mol2/kg2)
pgas

pgas
Pcoeffs

Coefficients used for pressure-correcting the equilibrium constants
Khs

Dissociation constant of hydrogen sulfide (mol/kg)
x2pCO2

Converts mole fraction to partial pressure of CO2
K0

Henry's constant mol/(kg/atm)
bor

Total boron concentration (mol/kg)
kfg

variable for internal use
K1p

First dissociation constant of phosphoric acid (mol/kg)
p2xCO2

Converts partial pressure of CO2 to mole fraction of CO2
Ks

Stability constant of hydrogen sulfate (mol/kg)
theta

Potential temperature of seawater
oa

Perturbation of the seawater carbonate system
pH

Potentiometric pH
pHinsi

pH at in situ temperature
rho

Density of seawater (kg/m3)
Pcorrect

Pressure correction of equilibrium constants
amp

pH value of the AMP buffer
seacarb_test_P300

Test data file (at P=300) to test the use of the carb function
carbb

Parameters of the seawater carbonate system
p2fCO2

Converts pCO2 (partial pressure in CO2) into fCO2 (fugacity of CO2)
tris

pH value of the TRIS buffer
p2d

Converts pressure in dbar to depth in meters
Kspa

Solubility product of aragonite (mol/kg)
buffer

Buffer parameters of the seawater carbonate system
d2p

Converts depth in meters to pressure in dbar
pTA

pTA
vapress

Computes vapor pressure of seawater
pCa

pCa
pHslope

Slope of the calibration curve of a pH electrode
pmix

pmix
pHconv

Conversion of pH
speciation

ionic forms as a function of pH
alkalinity

Example data file for function at
Kspc

Solubility product of calcite (mol/kg)
at

Calculates total alkalinity from potentiometric titration data
psi

Molar ratio of CO2 released vs CaCO3 precipitated
K2

Second dissociation constant of carbonic acid (mol/kg)
Kf

Equilibrium constant of hydrogen fluoride (mol/kg)
kconv

Conversion factors to change the pH scale of dissociation constants
ppH

ppH
carbm

Parameters of the seawater carbonate system, in case of artificial addition of boron
carbex

Parameters of the seawater carbonate system [EXPERIMENTAL VERSION]