Learn R Programming

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

seacarb (version 3.0.13)

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

1,050

Version

3.0.13

License

GPL (>= 2)

Maintainer

Jean-Pierre Gattuso

Last Published

April 2nd, 2016

Functions in seacarb (3.0.13)

K1

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

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

Slope of the calibration curve of a pH electrode
pHinsi

pH at in situ temperature
pH

Potentiometric pH
p2d

Converts pressure in dbar to depth in meters
vapress

Computes vapor pressure of seawater
rho

Density of seawater (kg/m3)
kfg

variable for internal use
pgas

pgas
Kw

Ion product of water (mol2/kg2)
seacarb_test_P300

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

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

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

Coefficients used for pressure-correcting the equilibrium constants
Ksi

Dissociation constant of Si(OH)4
bjerrum

Bjerrum plot
Kb

Dissociation constant of boric acid (mol/kg)
pmix

pmix
buffer

Buffer parameters of the seawater carbonate system
buffesm

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

pH value of the AMP buffer
alkalinity

Example data file for function at
bor

Total boron concentration (mol/kg)
d2p

Converts depth in meters to pressure in dbar
K2p

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

Molar ratio of CO2 released vs CaCO3 precipitated
Kf

Equilibrium constant of hydrogen fluoride (mol/kg)
theta

Potential temperature of seawater
Ks

Stability constant of hydrogen sulfate (mol/kg)
pHconv

Conversion of pH
Kn

Dissociation constant of ammonium (mol/kg)
Kspa

Solubility product of aragonite (mol/kg)
carbb

Parameters of the seawater carbonate system
oa

Perturbation of the seawater carbonate system
Pcorrect

Pressure correction of equilibrium constants
pCa

pCa
f2pCO2

Converts the CO2 fugacity to CO2 partial pressure
Kspc

Solubility product of calcite (mol/kg)
p2fCO2

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

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

Dissociation constant of hydrogen sulfide (mol/kg)
kconv

Conversion factors to change the pH scale of dissociation constants
tris

pH value of the TRIS buffer
at

Calculates total alkalinity from potentiometric titration data
ppH

ppH
Om

Carbonate saturation state for magnesian calcites
K0

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

Converts partial pressure of CO2 to mole fraction of CO2
speciation

ionic forms as a function of pH
pTA

pTA
carb

Parameters of the seawater carbonate system
x2pCO2

Converts mole fraction to partial pressure of CO2