https://github.com/alexlipp/crustal-comp

Supplementary code and data for the publication: 'The Composition and Weathering of the Continents over Geologic Time'

https://github.com/alexlipp/crustal-comp

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org, wiley.com, zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Supplementary code and data for the publication: 'The Composition and Weathering of the Continents over Geologic Time'

Basic Info
  • Host: GitHub
  • Owner: AlexLipp
  • License: gpl-3.0
  • Language: HTML
  • Default Branch: master
  • Homepage:
  • Size: 15 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created almost 6 years ago · Last pushed over 5 years ago

https://github.com/AlexLipp/crustal-comp/blob/master/

# Code and data for 'The composition and weathering of the continents over geologic time' 

This repository contains the code and data required to reproduce the results in the paper [*'The composition and weathering of the continents over geologic time'.*](https://eartharxiv.org/qhtb6/). It is archived at the point of submission at [![DOI](https://zenodo.org/badge/279322730.svg)](https://zenodo.org/badge/latestdoi/279322730)


## Code 

The document `data_analysis.html` is an [R-markdown document](https://rmarkdown.rstudio.com/) which performs all data analysis described in the paper. This file can be viewed in any browser. 
The same document is also given in the raw `.Rmd` form, which can be opened in [R-studio](https://www.rstudio.com/). This was written in `R` v3.4.4

The script `invert_coeffs_grad.py` is a `python` script which calculates the weathering and provenance coefficients for a given set of major-element compositions, incorporating a cation exchange correction. This was written in `python` v3.6.9.

The script `SGP_query.sql` is the `SQL` command used to query the Sedimentary Geochemistry and Paleoenvironments project database.

`macrostrat_mafic.json` and `macrostrat_felsic.json` are the [MacroStrat](https://macrostrat.org/) API calls to extract the igneous rock data used to generate Figure S5 in the manuscript.

## Data 

### Main input data files 

The Sedimentary Geochemistry and Paleoenvironments Project sedimentary major-element data is given in `SGP_final.csv`. Data from [Lipp et al. 2020](https://agupubs.onlinelibrary.wiley.com/doi/full/10.1029/2019GC008758) is given in `sedimentary_rocks_PCA_paper.csv`. 

References for SGP data are given in `SGP_references.csv`. See [`github.com/alexLipp/weathering-and-provenance`](github.com/alexLipp/weathering-and-provenance) for references for data from Lipp et al. 2020.

### Intermediate results

The cleaned data, calculated  and  coefficients, as well as the fitted compositions are given in: `SGP_data_cleaned_comps.csv`,`SGP_data_cleaned_coeffs.csv` & `SGP_data_cleaned_fit.csv`. Composite samples and their coefficients/fitted compositions are given in:  `mixture_comps.csv`,`mixture_coeffs.csv` & `mixture_fit.csv`

### Output Data

The smoothed weathering time series and the bootstrap uncertainty bounds is given in the file `weathering_time_series.csv`. The $\psi$ and $\omega$ coefficients for every sample, with their SGP sample ID, interpreted Age and stratigraphic formation is given in the file `omega_psi_metadata.csv`. 

### Additional data

Additional data `.csv` files for igneous rocks are used to calculate the pristine omega value for recreating protolith compositions as well as identifying a suitable cutoff value of CaO wt% to exclude carbonate contamination. See [Lipp et al. 2020](https://agupubs.onlinelibrary.wiley.com/doi/full/10.1029/2019GC008758) and [`github.com/alexLipp/weathering-and-provenance`](github.com/alexLipp/weathering-and-provenance) for details. 

Owner

  • Name: Alex Lipp
  • Login: AlexLipp
  • Kind: user
  • Location: Oxford, UK
  • Company: Merton College, Oxford

Earth & Environmental Scientist at the University of Oxford

GitHub Events

Total
Last Year