Skip to content

Calculate d13C for all carbonate species given d13C-DIC, concentrations, and pH.

Notifications You must be signed in to change notification settings

paukes/d13carbulate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

d13carbulate

This package calculates the δ13C values for all dissolved carbonate species within a water sample (CO2(aq), HCO3-, and CO32-) from pH, total DIC concentration, water temperature, and concentrations of the carbonate species. Check out the other package carbulate to calculate concentrations for all dissolved carbonate species (from DIC, pH, and water temperature).

Installation

library(devtools)
devtools::install_github("biogeochem/d13carbulate")

Parameters

d13carbulate(dat, temp_col_C, d13C_DIC_col, DIC_col_mg.L, CO3_col_uM, HCO3_col_uM, CO2_col_uM)

dat - Your dataframe with values
temp_col_C - Name of column with your measured water temperature (in Celsius)
d13C_DIC_col Name of column with your d13C of DIC (per mille PDB)
DIC_col_mg.L Name of column that contains your measured dissolved inorganic carbon concentration (mg C/L)
CO3_col_uM - Name of column that contains your measured/calculated carbonate concentrations (umol C/L)
HCO3_col_uM - Name of column that contains your measured/calculated bicarbonate concentrations (umol C/L)
CO2_col_uM - Name of column that contains your measured/calculated dissolved carbon dioxide concentrations (umol C/L)

Example

This is how you would input this function to add the carbonate species to the dataframe water.dat:

water.dat <- d13carbulate(water.dat, 'Temp_C', 'd13C_DIC_permille', 'DIC_mgC.L', 'calc_CO3_uM', 'calc_HCO3_uM', 'calc_CO2_uM')

About

Calculate d13C for all carbonate species given d13C-DIC, concentrations, and pH.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%