Analyzing Global CH4 Emissions with Jupyter Book

github repo

This repository contains a comprehensive Jupyter Book project analyzing global methane (CH4) emissions from rice paddies. It includes data exploration, replication of academic papers, hypothesis testing, and geospatial analysis to better understand methane emission estimates and their discrepancies.

Features

  • Data exploration and visualization of methane emissions data.
  • Replication and testing of the University of Malaysia's methane emissions paper.
  • Hypothesis testing on emission data distributions.
  • Geospatial merging and mapping of methane emission data.
  • Automated build pipeline for the Jupyter Book site.

Tech Stack

  • Primary language: Jupyter Notebooks (Python)
  • Key libraries: pandas, geopandas, matplotlib, scipy, folium
  • Build tools: Jupyter Book, Python subprocess for automation

Getting Started

Prerequisites

  • Python 3.x
  • pip package manager

Installation

  1. Clone the repository:
git clone https://github.com/justin-napolitano/ch4-emissions.git
cd ch4-emissions
  1. Install dependencies:
pip install -r requirements.txt

Build and Run

The project uses a Python build script to automate dependency installation and Jupyter Book build:

python python_build.py

Alternatively, you can manually build the Jupyter Book:

jupyter-book build jupyter-book

Open the generated HTML files in the jupyter-book/_build/html directory to view the reports.

Project Structure

ch4-emissions/
β”œβ”€β”€ data/                 # Raw and processed data files
β”œβ”€β”€ jupyter-book/         # Jupyter Book source files
β”‚   β”œβ”€β”€ notebooks/        # Analysis notebooks
β”‚   β”œβ”€β”€ _config.yml       # Jupyter Book configuration
β”‚   β”œβ”€β”€ _toc.yml          # Table of contents
β”‚   └── index.md          # Book introduction
β”œβ”€β”€ python_build.py       # Build and deployment automation script
β”œβ”€β”€ website/              # Website related files (assumed)

Future Work / Roadmap

  • Add detailed documentation and descriptions for each notebook.
  • Expand the geospatial analysis with more datasets.
  • Improve automation scripts for deployment.
  • Integrate more robust testing and validation of emission models.
hjkl / arrows Β· / search Β· :family Β· :tag Β· :datefrom Β· :dateto Β· ~/entries/slug Β· Ctrl+N/Ctrl+P for suggestions Β· Ctrl+C/Ctrl+G to cancel
entries 201/201 Β· entry -/-
:readyentries 201/201 Β· entry -/-