Skip to content

Commit

Permalink
Blog post with new cookbook roundup (#484)
Browse files Browse the repository at this point in the history
* Blog post with new cookbook roundup

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add Wavelet cookbook

* change photo scaling

* update number of new cookbooks

* text tweaks

* Mention citeability

* Update new-cookbooks.md

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Orhan Eroglu <[email protected]>
  • Loading branch information
3 people authored Jan 11, 2025
1 parent 5ca1254 commit 9e5e8ba
Show file tree
Hide file tree
Showing 6 changed files with 196 additions and 0 deletions.
Binary file added portal/_static/images/posts/IMG_5686.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added portal/_static/images/posts/IMG_5854.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added portal/_static/images/posts/IMG_6055.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added portal/_static/images/posts/IMG_6546.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions portal/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@
<span style="font-size: 2.6rem;">An education and training hub for the geoscientific Python community</span>

<br><br>
<a href="posts/new-cookbooks.html" role="button" class="btn btn-light btn-lg" style="display: flex; align-items: center; font-weight: 600; text-decoration: none; ">
Round-up of new Cookbooks from our 2024 Cook-off hackathon!
</a>
<br>

<a href="posts/fundraiser.html" role="button" class="btn btn-light btn-lg" style="display: flex; align-items: center; font-weight: 600; text-decoration: none; background-color: #ccc; border: rgba(var(--spt-color-dark), 1);">
Donate to support Project Pythia!
</a>
<br>

[Project Pythia](about) is the education working group for [Pangeo](https://pangeo.io)
and is an educational resource for the entire geoscience community.
Expand Down
191 changes: 191 additions & 0 deletions portal/posts/new-cookbooks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
---
blogpost: true
date: Jan 10, 2025
author: Brian Rose
tags: cook-off
---

# Hello world, new Cookbooks!

The Project Pythia team is excited to announce the publication of new community-contributed Cookbooks from our successful [2024 Pythia Cook-Off hackathon](https://projectpythia.org/pythia-cookoff-2024/), which was held June 11 - 14 2024, at the NSF NCAR's Mesa Lab in Boulder, Colorado and online.

[Cookbooks](https://cookbooks.projectpythia.org) are geoscience-flavored collections of tutorials, recipes, and reproducible example workflows for Python-based data analysis and visualization. Cookbooks are supported by a rich computational infrastructure enabling collaborative authoring, automated health-checking, and interactive use. Cookbooks undergo a review process, are citable by DOI, and are tested and maintained by the Project Pythia community.

It's time to celebrate the Cook-off projects that have made it across the finish line. *[Watch this space!](https://cookbooks.projectpythia.org)* There are several more exciting Cookbooks still in development.

## Cookbook round-up

Here you can find brief descriptions and links to the new (and significantly updated) books on the [Pythia Cookbook Gallery](https://cookbooks.projectpythia.org). Try also filtering the [gallery](https://cookbooks.projectpythia.org) with the new "events" dropdown menu!


### [EOFs Cookbook](https://projectpythia.org/eofs-cookbook/)

<img src="https://projectpythia.org/eofs-cookbook/_images/nh-slp-eofs.png" alt="EOF cookbook thumbnail">

**Authors:** [Robert Ford](https://github.com/r-ford)

[![DOI](https://zenodo.org/badge/656765685.svg)](https://zenodo.org/badge/latestdoi/656765685)

This Cookbook covers Empirical Orthogonal Function (EOF) analysis and its application to climate data. EOF analysis is an essential tool for studying the variability of the atmosphere-ocean system. Meteorological and oceanographic data is noisy and multidimensional, but an EOF analysis allows us to pull out patterns from the data that might otherwise be difficult to find. The goal of this cookbook is to provide background and context to the analysis alongside practical examples of carrying out the analysis using Python packages.

**Contributors:**
<a href="https://github.com/ProjectPythia/eofs-cookbook/graphs/contributors">
<img src="https://contrib.rocks/image?repo=ProjectPythia/eofs-cookbook" />
</a>


### [Ocean Biogeochemistry Cookbook](https://projectpythia.org/ocean-bgc-cookbook/)

<img class="modal-img" src="https://raw.githubusercontent.com/ProjectPythia/ocean-bgc-cookbook/main/coccolithophore_kristen_krumhardt.png"/>

**Authors:** [Lev Romashkov](https://github.com/rmshkv) and [Kristen Krumhardt](https://github.com/kristenkrumhardt)

<a class="reference external" href="https://zenodo.org/badge/latestdoi/739552419"><img alt="DOI" src="https://zenodo.org/badge/739552419.svg"/></a>

This Cookbook covers working with various sources of ocean biogeochemistry data, including Community Earth System Model (CESM) output and observational data. It provides a brief introduction to some metrics important to ocean biogeochemistry, from physical quantities like temperature to biological quantities like plankton biomass. It also demonstrates some of the data science techniques used to work with this information, and provides an introduction to the relationship between modeled and observational estimates.

**Contributors:**
<a href="https://github.com/rmshkv/ocean-bgc-cookbook/graphs/contributors">
<img src="https://contrib.rocks/image?repo=rmshkv/ocean-bgc-cookbook" />
</a>


### [Investigating interhemispheric precipitation changes over the past millennium](https://projectpythia.org/paleoPCA-cookbook/)

<img class="modal-img" src="https://github.com/LinkedEarth/Logos/blob/master/LinkedEarth/LinkedEarth_medium.png?raw=true" alt="LinkedEarth Logo" width="500">

**Authors:** [Deborah Khider](https://github.com/khider), [Hari Sundar](https://github.com/sriharisundar), and [Varun Ratnakar](https://github.com/varunratnakar)

[![DOI](https://zenodo.org/badge/813352705.svg)](https://zenodo.org/badge/latestdoi/813352705)

This Cookbook covers paleoclimate model-data comparison using spatio-temporal pattern obtained using Principal Component Analysis (PCA).

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)](https://doi.org/10.1073/pnas.2120015119) used PCA analysis to compare model and data output. Here, we use a similar approach with the [CESM Last Millennium simulation](https://www2.cesm.ucar.edu/models/cesm1.2/) and proxy records stored on the [LiPDverse](https://lipdverse.org). This repository contains paleoclimate datasets that have been curated by the community and are archived in a standard format, facilitating analysis.


**Contributors:**
<a href="https://github.com/ProjectPythia/paleoPCA-Cookbook/graphs/contributors">
<img src="https://contrib.rocks/image?repo=ProjectPythia/paleoPCA-Cookbook" />
</a>


### [ESGF Cookbook](https://projectpythia.org/esgf-cookbook/)

<img class="modal-img" src="https://projectpythia.org/esgf-cookbook/_images/esgf2-us.png" alt="thumbnail" width="300"/>

**Authors:** [Max Grover](@mgrover1), [Nathan Collier](@nocollier), [Carsten Ehbrecht](@cehbrecht), [Jacqueline Nugent](@jacnugent), and [Gerardo Rivera Tello](@griverat)

[![DOI](https://zenodo.org/badge/721319801.svg)](https://doi.org/10.5281/zenodo.11663067)

This Cookbook covers how to access and analyze datasets that can be accessed from Earth System Grid Federation (ESGF) cyberinfrastructure.

This cookbook focuses on highlighting analysis recipes, as well as data acccess methods, all accesible within the Python programming language. This cookbook also spans beyond the scope of a single Climate Model Intercomparison Project (ex. CMIP6), expanding to other experiments/datasets such as CMIP5 and obs4MIPs.

**Contributors:**
<a href="https://github.com/ProjectPythia/esgf-cookbook/graphs/contributors">
<img src="https://contrib.rocks/image?repo=ProjectPythia/esgf-cookbook" />
</a>

### [Radar Cookbook](https://projectpythia.org/radar-cookbook/)

<img class="modal-img" src="https://projectpythia.org/radar-cookbook/_images/thumbnail.png" alt="radar thumbnail" width="300"/>

**Authors:** [Max Grover](https://github.com/mgrover1), [Zachary Sherman](https://github.com/zssherman), [Milind Sharma](https://github.com/gewitterblitz), [Alfonso Ladino](https://github.com/aladinor), [Crystal Camron](https://github.com/crystalclearwx), and [Takashi Unuma](https://github.com/TakashiUNUMA)

[![DOI](https://zenodo.org/badge/479066261.svg)](https://zenodo.org/badge/latestdoi/479066261)

Pythia's very first cookbook continues to grow!

This cookbook provides the essential materials to learning how to work with weather radar data using Python. Most of the curriculum is focused around the Python ARM Toolkit. Once you go through this material, you will have the skills to read in radar data, apply data corrections, and visualize your data, building off of the core foundational Python material covered in the Foundations Book

The Example Workflows section contains a growing collection of real-world case studies.

**Contributors:**
<a href="https://github.com/ProjectPythia/radar-cookbook/graphs/contributors">
<img src="https://contrib.rocks/image?repo=ProjectPythia/radar-cookbook" />
</a>


### [ARCO ERA-5 Interactive Visualization Cookbook](https://projectpythia.org/ERA5_interactive-cookbook/)

<img class="modal-img" src="https://projectpythia.org/ERA5_interactive-cookbook/_images/thumbnail.png
" alt="ERA5 thumbnail" width="300"/>

**Authors:** [Kevin Tyle](https://github.com/ktyle), [Michael Barletta](https://github.com/Michael-Barletta), [Negin Sobhani](https://github.com/negin513), [Nicholas Cote](https://github.com/ncote) , [Harsha Hampapura](https://github.com/hrhampapura) , and [Philip Chmielowiec](https://github.com/philip2c)

[![DOI](https://zenodo.org/badge/657280462.svg)](https://zenodo.org/badge/latestdoi/657280462)

This Cookbook covers accessing, regridding, and visualizing the [ECMWF Reanalysis version 5](https://www.ecmwf.int/en/forecasts/dataset/ecmwf-reanalysis-v5) (aka **ERA-5**) dataset in a [Analysis Ready, Cloud Optimized](https://www.frontiersin.org/articles/10.3389/fclim.2021.782909/full) (aka **ARCO**) format.

The ERA-5 represents the current state-of-the-art meteorological reanalysis, extending from well back into the 20th century to the present. While the data is freely-available for download by archival centers such as [Copernicus](https://www.copernicus.eu/en) and [RDA](https://rda.ucar.edu/), the data format and directory structure are typically not well-suited for interactive exploration. Specifically, parameters of interest are stored in individual files, for a limited period of time.

A team at Google Cloud and Research has made interactive exploration much more tenable by representing the data in [Zarr](https://zarr.readthedocs.io/en/stable/) format.

This Cookbook demonstrates how to do the following:

1. Access parameters of interest from the Zarr store on Google Cloud
2. Regrid from model native (Gaussian) to lat-lon (Cartesian) coordinates
3. Plot a map at a specific time using Matplotlib and Cartopy
4. Create interactive visualizations, leveraging the [Holoviz](https://holoviz.org) ecosystem


**Contributors:**
<a href="https://github.com/ProjectPythia/ERA5_interactive-cookbook/graphs/contributors">
<img src="https://contrib.rocks/image?repo=ProjectPythia/ERA5_interactive-cookbook" />
</a>

### [Wavelet Cookbook](https://projectpythia.org/wavelet-cookbook/)

<img class="modal-img" src="https://projectpythia.org/wavelet-cookbook/_images/thumbnail.png
" alt="Wavelet thumbnail" width="300"/>

**Authors:** [Cora Schneck](https://github.com/cyschneck)

[![DOI](https://zenodo.org/badge/815311051.svg)](https://zenodo.org/badge/latestdoi/815311051)

This Cookbook covers how to work with wavelets in Python. Wavelets are a powerful tool to analyze time-series data. When data frequencies vary over time, wavelets can be applied to analysis trends and overcome the time/frequency limitations of Fourier Transforms

**Contributors:**
<a href="https://github.com/ProjectPythia/wavelet-cookbook/graphs/contributors">
<img src="https://contrib.rocks/image?repo=ProjectPythia/wavelet-cookbook" />
</a>


## The 2024 Cook-off

### In pictures

<img src="../_static/images/posts/IMG_5686.jpeg" alt="2024 Cookoff group photo" width=900>
<br>
<img src="../_static/images/posts/IMG_5854.jpeg" alt="Breakout group" width=250>
<img src="../_static/images/posts/IMG_6546.jpg" alt="Cookoff attendees at Mesa Lab" width=250>
<img src="../_static/images/posts/IMG_6055.jpeg" alt="Virtual presentation" width=250>

### By the numbers

- Number of attendees: 92 (49 in-person, 43 remote)
- Number of attendees receiving travel support from Project Pythia: 16
- Career stage:
- 14% undergrad
- 29% graduate
- 14% postdoc
- 43% faculty or staff
- Gender of attendees:
- 59% men
- 30% women
- 11% other
- Number of individual project breakout groups: 9
- New cookbooks published to the [Pythia Gallery](https://cookbooks.projectpythia.org): 5 _(as of this writing)_
- Heavily revised cookbooks: 2

## Want to get involved?

<a role="button" class="btn btn-light btn-lg" style="display: flex; align-items: center; font-weight: 600; text-decoration: none; ">
SAVE THE DATE! Project Pythia is hosting our next Cookbook Cook-off hackathon event at the NSF NCAR's Mesa Lab, August 5-8 2025.
</a>

Do you have some feedback or ideaa for a new Cookbook project? Unsure how to get started? We'd love to hear from you at any of our [open meetings](https://projectpythia.org/#monthly-pythia-meetings), through the [Pangeo Discourse](https://discourse.pangeo.io/c/education/project-pythia/), or via any of our social media. Join us at our next Cook-off 2025!

Take a look at our [guide for Cookbook contributors](https://projectpythia.org/cookbook-guide.html).

0 comments on commit 9e5e8ba

Please sign in to comment.