Science Score: 57.0%

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

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 5 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.7%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

ShellChron

Basic Info
  • Host: GitHub
  • Owner: nielsjdewinter
  • License: mit
  • Language: R
  • Default Branch: main
  • Size: 3.23 MB
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 3
  • Open Issues: 3
  • Releases: 3
Created over 5 years ago · Last pushed over 3 years ago
Metadata Files
Readme Changelog License Citation

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
#  collapse = TRUE,
#  comment = "#>",
#  fig.path = "man/figures/README-",
#  out.width = "100%"
)
```

# ShellChron


[![Travis build status](https://travis-ci.com/nielsjdewinter/ShellChron.svg?branch=master)](https://travis-ci.com/nielsjdewinter/ShellChron)


The ShellChron package contains all formulae and documentation required to run the ShellChron model.
The ShellChron model uses stable oxygen isotope records (d18O) from seasonal paleo-archives to create an age model for the archive.

In short, ShellChron feeds a temperature sinusoid (Figure 1; see details in "temperature_curve()" function) and a skewed growth rate sinusoid (Figure 2; see details in "growth_rate_curve()" function) to a d18O model (see details in "d18O_model()" function).
The resulting modeled d18O is then compared with the user-provided d18O data and the parameters of the temperature and growth rate functions are optimized using the SCEUA algorithm (see [Duan et al., 1992](https://doi.org/10.1029/91WR02985)) to match the d18O data.
As a result, the timing of each data point with reference to the seasonal cycle is exported, from which an age model for the entire record can be constructed.

![Figure 1: Temperature sinusoid](man/figures/README-SSTcurve.png)
![Figure 2: Growth rate sinusoid](man/figures/README-GRcurve.png)

The model builds on previous work by [Judd et al. 2018](https://doi.org/10.1016/j.palaeo.2017.09.034) and expands on this previous model in several key ways:

1. ShellChron allows SCEUA optimization to be carried out in a sliding window through the data and recognizes year transitions (see "cumulative_day()" formula) to produce seamless age models through multiple years. Overlapping windows are used to estimate the reproducibility of model results.
2. ShellChron provides the option to take uncertainties on the input data ("D_err" and "d18Oc_err") into account in error estimation (see "mc_err_orth()" and "export_results() functions), providing realistic errors on the age estimation which were previously unsupported.
3. ShellChron supports different empirical formulae for converting temperature and d18O of the precipitation fluid into d18O records, providing compatibility with records consisting of various mineralogies (e.g. calcite and aragonite).
4. ShellChron offers more dynamic input options for data on the variable that is not modeled (usually d18O of precipitation fluid), circumventing the (often false) assumption that this variable remains constant throughout the year and preventing fixed values for this variable hardcoded in the model.
5. ShellChron achieves more efficient SCEUA modeling by pre-guessing the parameters of temperature and growth rate sinusoids using a sinusoidal regression (see "sinreg()" formula). This is an essential feature that allows ShellChron to process more optimization windows while retaining competitive processing time (see Figure 3).

![Figure 3: Timing of whole model run at various data resolutions](man/figures/README-Timing.png)

**NOTE**: To run optimally, ShellChron requires sampling distance data to be provided in micrometers (see "data_import()" function). The optimal structure of the input CSV should be as follows (see description in "Virtual_shell" example):

**column 1: D** Sampling distance, in micrometers along the virtual record.

**column 2: d18Oc** stable oxygen isotope value, in permille VPDB.

**column 3: YEARMARKER** Vector of zeroes with "1" marking year transitions.

**column 4: D_err** Sampling distance uncertainty, in micrometers.

**column 5: d18Oc_err** stable oxygen isotope value uncertainty, in permille.

When you use ShellChron, please cite [de Winter, 2022](https://gmd.copernicus.org/articles/15/1247/2022/):

**de Winter, N.J. (2022) "ShellChron 0.4.0: a new tool for constructing chronologies in accretionary carbonate archives from stable oxygen isotope profiles" Geoscientific Model Development 15, 1247-1267, DOI: 10.5194/gmd-15-1247-2022**

## Installation

You can install the released version of ShellChron from [CRAN](https://CRAN.R-project.org) with:

``` r
install.packages("ShellChron")
```

And the development version from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("nielsjdewinter/ShellChron")
```
## Example

This is a basic example which shows you how to solve a common problem:

```{r example}
library(ShellChron)
## Full model run
# WARNING: Running the full ShellChron model (even on small example data) always takes some time (usually in the order of 30-60 minutes)
# example <- wrap_function(path = getwd(),
#  file_name = system.file("extdata", "Virtual_shell.csv",
#  package = "ShellChron"),
#  "calcite",
#  1,
#  365,
#  d18Ow = 0,
#  t_maxtemp = 182.5,
#  MC = 1000,
#  plot = FALSE,
#  plot_export = FALSE,
#  export_raw = FALSE)"

# Quick demo on how to create an SST curve
# Set parameters
T_amp <- 20
T_per <- 365
T_pha <- 150
T_av <- 15
T_par <- c(T_amp, T_per, T_pha, T_av)
SST <- temperature_curve(T_par, 1, 1) # Run the function

Owner

  • Name: Niels J. de Winter
  • Login: nielsjdewinter
  • Kind: user
  • Location: Amsterdam, the Netherlands
  • Company: Vrije Universiteit Amsterdam

Assistant professor Marine Geology and Paleoclimatology

Citation (CITATION.cff)

cff-version: 0.4.0
message: "If you use this software, please cite the following scientific paper."
authors:
- family-names: "de Winter"
  given-names: "Niels Jonathan"  
  orcid: "https://orcid.org/0000-0002-1453-5407"
title: "ShellChron"
version: 0.4.0
date-released: 2021-09-02
url: "https://github.com/nielsjdewinter/ShellChron"
preferred-citation:
  type: article
  authors:
  - family-names: "de Winter"
    given-names: "Niels Jonathan"  
    orcid: "https://orcid.org/0000-0002-1453-5407"
  journal: "Geoscientific Model Development"
  month: 6
  title: "ShellChron 0.4.0: A new tool for constructing chronologies in accretionary carbonate archives from stable oxygen isotope profiles"
  volume: 16
  year: 2022

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 77
  • Total Committers: 3
  • Avg Commits per committer: 25.667
  • Development Distribution Score (DDS): 0.104
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Niels J de Winter n****r@l****l 69
Niklas Hausmann 6****o 5
Niels J. de Winter 3****r 3
Committer Domains (Top 20 + Academic)
live.nl: 1

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 9
  • Total pull requests: 1
  • Average time to close issues: 4 months
  • Average time to close pull requests: 3 days
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.22
  • Average comments per pull request: 2.0
  • Merged pull requests: 1
  • 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
Top Authors
Issue Authors
  • nielsjdewinter (9)
Pull Request Authors
  • Niklas-palaeo (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 236 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
cran.r-project.org: ShellChron

Builds Chronologies from Oxygen Isotope Profiles in Shells

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 236 Last month
Rankings
Forks count: 17.8%
Stargazers count: 26.2%
Dependent packages count: 29.8%
Average: 35.0%
Dependent repos count: 35.5%
Downloads: 65.8%
Maintainers (1)
Last synced: 8 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • dplyr * imports
  • ggplot2 >= 3.2.1 imports
  • ggpubr >= 0.4.0 imports
  • magrittr * imports
  • rtop >= 0.5.14 imports
  • scales >= 1.1.0 imports
  • tidyr >= 1.1.1 imports
  • zoo >= 1.8.7 imports
  • knitr * suggests
  • rmarkdown * suggests