diff --git a/.gitignore b/.gitignore index 2a16344..e5a410c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .ipynb_checkpoints/Coral_thermometer_calibration-checkpoint.ipynb -./virtual_documents +/.virtual_documents .ipynb_checkpoints/DataExploration-checkpoint.ipynb .DS_Store /.ipynb_checkpoints +/paleobook/_build \ No newline at end of file diff --git a/BayesianCalibration.ipynb b/paleobook/BayesianCalibration.ipynb similarity index 100% rename from BayesianCalibration.ipynb rename to paleobook/BayesianCalibration.ipynb diff --git a/Calibration.ipynb b/paleobook/Calibration.ipynb similarity index 100% rename from Calibration.ipynb rename to paleobook/Calibration.ipynb diff --git a/DataExploration.ipynb b/paleobook/DataExploration.ipynb similarity index 100% rename from DataExploration.ipynb rename to paleobook/DataExploration.ipynb diff --git a/paleobook/_config.yml b/paleobook/_config.yml new file mode 100644 index 0000000..fa2820e --- /dev/null +++ b/paleobook/_config.yml @@ -0,0 +1,28 @@ +# Book settings +# Learn more at https://jupyterbook.org/customize/config.html + +title: Coral Sr/Ca Calibration - An Example from Dry Tortugas +author: Deborah Khider +logo: coral_logo.jpg + +# Patterns to skip when building the book. Can be glob-style (e.g. "*skip.ipynb") +exclude_patterns : [_build, Thumbs.db, .DS_Store, "**.ipynb_checkpoints"] +# Auto-exclude files not in the toc +only_build_toc_files : true + +# Force re-execution of notebooks on each build. +# See https://jupyterbook.org/content/execute.html +execute: + execute_notebooks: off + +# Information about where the book exists on the web +repository: + url: https://github.com/khider/dry-tortugas-calibration-fun # Online location of your book + branch: main # Which branch of the repository should be used when creating links (optional) + +# Add GitHub buttons to your book +# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository +html: + use_issues_button: true + use_repository_button: true + use_multitoc_numbering : true # Continuous numbering across parts/chapters \ No newline at end of file diff --git a/paleobook/_toc.yml b/paleobook/_toc.yml new file mode 100644 index 0000000..8ffbc06 --- /dev/null +++ b/paleobook/_toc.yml @@ -0,0 +1,13 @@ +# Table of contents +# Learn more at https://jupyterbook.org/customize/toc.html + +format: jb-book +root: intro +parts: + - caption: Getting Started + chapters: + - file: DataExploration.ipynb + - caption: Calibration + chapters: + - file: Calibration.ipynb + - file: BayesianCalibration.ipynb diff --git a/paleobook/coral_logo.jpg b/paleobook/coral_logo.jpg new file mode 100644 index 0000000..7172256 Binary files /dev/null and b/paleobook/coral_logo.jpg differ diff --git a/environment.yml b/paleobook/environment.yml similarity index 100% rename from environment.yml rename to paleobook/environment.yml diff --git a/paleobook/intro.md b/paleobook/intro.md new file mode 100644 index 0000000..fa1fb0f --- /dev/null +++ b/paleobook/intro.md @@ -0,0 +1,38 @@ +[![PyPI](https://img.shields.io/badge/python-3.11-yellow.svg)]() +[![license](https://img.shields.io/github/license/khider/dry-tortugas-calibration-fun.svg)]() + + +# Coral Sr/Ca calibration - An example from Dry Tortugas + + +This Jupyter Book covers the calibration of coral Sr/Ca to sea surface temperature using data from Dry Tortugas (DeLong et al., 2011). The book illustrates the frequentist and Bayesian approach to the task. + +## Author + +[Deborah Khider](https://github.com/khider) + +## Contributor + + + + + +## Structure + +This Book is broken down into three chapters: +- Data exploration of the Sr/Ca data from three cores and nearby sea surface temperature data +- Calibration uses ordinary and weighted least square regression +- Bayesian calibration presents a Bayesian alternative to OLS. + +## Data Reference +DeLong, K.L., J.A. Flannery, C.R. Maupin, R.Z. Poore, and T.M. Quinn. 2011. A coral Sr/Ca calibration and replication study of two massive corals from the Gulf of Mexico. Palaeogeography, Palaeoclimatology, Palaeoecology, 307(1-4), 117-128. doi: 10.1016/j.palaeo.2011.05.005 + +Dataset citation: DeLong, K.L.; Flannery, J.A.; Maupin, C.R.; Poore, R.Z.; Quinn, T.M. (2011-09-14): NOAA/WDS Paleoclimatology - Dry Tortugas Siderastrea and Montastraea Coral Sr/Ca Data, 1992-2008. [indicate subset used]. NOAA National Centers for Environmental Information. https://doi.org/10.25921/n674-8145. Accessed 2024-09-05. + +## License + +All notebooks herein are provided under an [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) license. + +## Citation + +We needn't tell you that making research tools accessible requires time and effort. If you find any of these resources useful and use them in your own research, please do us the kindness of one or more citations. Notebooks in this collection are registered on Zenodo, and associated with a digital object identifier (DOI). A ready-to-use citation is provided in this GitHub repository in APA and BibTex (in the About section on the right panel, click on "Cite this repository"). If you use Pyleoclim, please cite them as well. It will make us (and NSF!) very happy to hear that these investments spawned more research. \ No newline at end of file diff --git a/paleobook/meta_data/chapter_meta.yaml b/paleobook/meta_data/chapter_meta.yaml new file mode 100644 index 0000000..ea83dc9 --- /dev/null +++ b/paleobook/meta_data/chapter_meta.yaml @@ -0,0 +1,43 @@ +shortname: calibration +type: Paleobook +thumbnail: coral_logo.jpg +parts: + - caption: Getting Started + chapters: + - shortname: Data Exploration + filename: DataExploration + thumbnail: dataexp.png + tags: + domains: + - paleoceanography + - Sr/Ca + - coral + - calibration + packages: + - matplotlib + - pyleoclim + - pandas + - caption: Science Bits - Calibration + chapters: + - shortname: Calibration - OLS + filename: Calibration + thumbnail: table.png + tags: + domains: + - Statistics + - Calibration + - Paleocenography + packages: + - statsmodel + - Great Tables + - shortname: Bayesian Calibration + filename: BayesianCalibration + thumbnail: bayes.png + tags: + domains: + - Bayesian Statistics + - Calibration + - Paleocenography + packages: + - pymc + - arviz \ No newline at end of file diff --git a/paleobook/thumbnails/bayes.png b/paleobook/thumbnails/bayes.png new file mode 100644 index 0000000..624fb54 Binary files /dev/null and b/paleobook/thumbnails/bayes.png differ diff --git a/paleobook/thumbnails/coral_logo.jpg b/paleobook/thumbnails/coral_logo.jpg new file mode 100644 index 0000000..7172256 Binary files /dev/null and b/paleobook/thumbnails/coral_logo.jpg differ diff --git a/paleobook/thumbnails/dataexp.png b/paleobook/thumbnails/dataexp.png new file mode 100644 index 0000000..2e52c57 Binary files /dev/null and b/paleobook/thumbnails/dataexp.png differ diff --git a/paleobook/thumbnails/table.png b/paleobook/thumbnails/table.png new file mode 100644 index 0000000..edcc932 Binary files /dev/null and b/paleobook/thumbnails/table.png differ