paleopca-cookbook
This cookbook covers paleoclimate model-data comparison using spatio-temporal pattern obtained using Principal Component Analysis (PCA)
Science Score: 67.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 2 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.8%) to scientific vocabulary
Repository
This cookbook covers paleoclimate model-data comparison using spatio-temporal pattern obtained using Principal Component Analysis (PCA)
Basic Info
- Host: GitHub
- Owner: ProjectPythia
- License: apache-2.0
- Language: Jupyter Notebook
- Default Branch: main
- Homepage: https://projectpythia.org/paleoPCA-cookbook/
- Size: 32.1 MB
Statistics
- Stars: 3
- Watchers: 1
- Forks: 5
- Open Issues: 5
- Releases: 4
Metadata Files
README.md

Investigating interhemispheric precipitation changes over the past millennium
This Project Pythia Cookbook covers paleoclimate model-data comparison using spatio-temporal pattern obtained using Principal Component Analysis (PCA).
Motivation
Paleoclimate observations obtained from tree rings or the geochemical composition of speleothems, ice and sediments provide an out-of-sample validation of climate models. However, comparing the output of climate models directly with the paleoclimate observations is difficult: (1) they are often expressed in different quantities (i.e., temperature vs ring width), (2) paleoclimate observations have large time uncertainties, (3) paleoclimate observations often incorporate more than one environmental signal (i.e., temperature AND moisture).
Recently, Steinman et al. (2022) used PCA analysis to compare model and data output. Here, we use a similar approach with the CESM Last Millennium simulation and proxy records stored on the LiPDverse. This repository contains paleoclimate datasets that have been curated by the community and are archived in a standard format, facilitating analysis.
Authors
Deborah Khider, Hari Sundar, Varun Ratnakar
Contributors
Structure
This Cookbook is broken down into three main sections. The first section performs the PCA analysis on the output of the CESM LME simulation. The second section performs the same analysis on paleoclimate observations. The last section compares the two analyses.
PCA analysis on proxy observations
The section shows the query used to obtain relevant proxy datasets from a graphDB mirroring the LiPDverse data, filtering for records that cover at least 1500 of the last 2000 years with a resolution better than 60 years, and running PCA.
PCA analysis on the CESM Last Millennium Analysis¶
The section walks through fetching the data from JetStream2, calculating the precipitation d18O and running PCA.
Model Data Comparison
Visualizing the output of the PCA analyses.
Running the Notebooks
You can either run the notebook using Binder or on your local machine.
Running on Binder
The simplest way to interact with a Jupyter Notebook is through
Binder, which enables the execution of a
Jupyter Book in the cloud. The details of how this works are not
important for now. All you need to know is how to launch a Pythia
Cookbooks chapter via Binder. Simply navigate your mouse to
the top right corner of the book chapter you are viewing and click
on the rocket ship icon, (see figure below), and be sure to select
“launch Binder”. After a moment you should be presented with a
notebook that you can interact with. I.e. you’ll be able to execute
and even change the example programs. You’ll see that the code cells
have no output at first, until you execute them by pressing
{kbd}Shift+{kbd}Enter. Complete details on how to interact with
a live Jupyter notebook are described in Getting Started with
Jupyter.
Running on Your Own Machine
If you are interested in running this material locally on your computer, you will need to follow this workflow:
- Clone the
https://github.com/ProjectPythia/paleoPCA-Cookbookrepository:
bash
git clone https://github.com/ProjectPythia/paleoPCA-Cookbook.git
- Move into the
paleoPCA-Cookbookdirectorybash cd paleoPCA-Cookbook - Create and activate your conda environment from the
environment.ymlfilebash conda env create -f environment.yml conda activate paleoPCA-Cookbook - Move into the
notebooksdirectory and start up Jupyterlabbash cd notebooks/ jupyter lab
Owner
- Name: Project Pythia
- Login: ProjectPythia
- Kind: organization
- Email: projectpythia@ucar.edu
- Location: United States of America
- Website: projectpythia.org
- Twitter: Project_Pythia
- Repositories: 21
- Profile: https://github.com/ProjectPythia
Community learning resource for Python-based computing in the geosciences
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this cookbook, please cite it as below."
authors:
- family-names: Khider
given-names: Deborah
orcid: https://orcid.org/0000-0001-7501-8430
affiliation: University of Southern California
- family-names: Sundar
given-names: Srihari
orcid: https://orcid.org/0000-0002-0556-3967
affiliation: National Renewable Energy Lab (NREL)
- family-names: Ratnakar
given-names: Varun
orcid: https://orcid.org/0000-0001-9381-705X
affiliation: University of Southern California
title: "Investigating interhemispheric precipitation changes over the past millennium"
url: "https://projectpythia.org/paleoPCA-Cookbook/"
abstract: "This cookbook covers paleoclimate model-data comparison using spatio-temporal pattern obtained using Principal Component Analysis (PCA)."
GitHub Events
Total
- Create event: 3
- Release event: 1
- Issues event: 5
- Delete event: 1
- Issue comment event: 16
- Push event: 43
- Pull request event: 15
- Fork event: 2
Last Year
- Create event: 3
- Release event: 1
- Issues event: 5
- Delete event: 1
- Issue comment event: 16
- Push event: 43
- Pull request event: 15
- Fork event: 2
Dependencies
- actions/checkout v4 composite
- jacobtomlinson/gha-find-replace v3 composite
- stefanzweifel/git-auto-commit-action v5 composite