https://github.com/alexlipp/unmixer
Unmixing the geochemistry of river sediments
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 1 DOI reference(s) in README -
✓Academic publication links
Links to: wiley.com, zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.0%) to scientific vocabulary
Keywords
Repository
Unmixing the geochemistry of river sediments
Basic Info
Statistics
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Unmixing fluvial sedimentary geochemistry
This repository contains supporting code and data for the publication "Unmixing river sediments for the elemental geochemistry of their source regions" (Under review; preprint).
This repository is archived at point of submission at Zenodo -
This repository contains 11 files.
Minimum working example script
inversion_mwe.ipynb is a 'Jupyter Notebook' which contains an annotated minimum working example for the inversion procedure described in the manuscript written in python. A compiled version of this .ipynb is given as inversion_mwe.html that displays the code and the outputs, and can be opened in any browser.
Additional Scripts
Alongside the above notebook that describes the procedure utilised in the manuscript I have also provided two modified versions, not discussed in the manuscript but potentially of general interest.
First, fast_inversion_mwe.ipynb, which is broadly the same as the published version but significantly faster (> 10x). This speed-up is achieved by using a faster optimisation algorithm (Powell's method) and starting the inversion closer to the optimal solution. I strongly suggest using this faster version in further work.
Second, a multivariate extension of the univariate example is provided in multivariate_inversion_mwe.ipynb. Instead of solving each element individually, multiple specified elements are all inverted simultaneously, all whilst obeying the constraints of compositional data, i.e. strictly positive variables that sum to a closure value (e.g. 100 %, 1000000 mg/kg etc). Whilst mathematically neat and self-contained, it is actually (at present...) computationally less efficient than running each element in parallel as it is quadratic w.r.t to the number of elements inverted. Making this multivariate implementation more efficient is left as an exercise to the reader...
Data
topo.dat is a 2D array of giving the elevations in metres for our study area. This was generated by downsampling the SRTM1s dataset to a grid of 200x200 m resolution.
geochem.dat contains the geochemical concentration for a range of elements (in mg/kg) in sediments gathered from our 67 sample sites. See also Lipp et al. 2020.
fitted_samp_locs.dat contains the location (on the model grid) for the fitted sample sites.
samples.dat gives further metadata for the samples as well as their full (projected) localities.
Supporting Information
The supporting information containing results for all elements is provided in supp_info.pdf.
Owner
- Name: Alex Lipp
- Login: AlexLipp
- Kind: user
- Location: Oxford, UK
- Company: Merton College, Oxford
- Website: https://alexlipp.github.io/
- Twitter: alexglipp
- Repositories: 4
- Profile: https://github.com/AlexLipp
Earth & Environmental Scientist at the University of Oxford
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Alex Lipp | a****x@l****k | 13 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 2 years ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0