From 259fc25ded667c0ccccdf9e7345944a19f57b54a Mon Sep 17 00:00:00 2001 From: Sam Gardner Date: Thu, 13 Jun 2024 11:20:34 -0600 Subject: [PATCH] fix author links, add constants file (#5) * add my name to author list * add constants container * make author GH links work --- README.md | 4 +++- notebooks/constants.py | 5 +++++ notebooks/notebook-template.ipynb | 9 ++++----- 3 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 notebooks/constants.py diff --git a/README.md b/README.md index a648afa..ba6bf09 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,9 @@ Numerical models are widely used, but gaining expertise in how they work has oft ## Authors -[JT Thielen](@jthielen), [Roger Riggin](@riotrogerriot), etc. _Acknowledge primary content authors here_ + - [JT Thielen](https://github.com/jthielen) + - [Sam Gardner](https://github.com/wx4stg) + - [Roger Riggin](https://github.com/riotrogerriot) ### Contributors diff --git a/notebooks/constants.py b/notebooks/constants.py new file mode 100644 index 0000000..da109ce --- /dev/null +++ b/notebooks/constants.py @@ -0,0 +1,5 @@ +#!/usr/bin/env python3 + +R_d = 8.314462618 / 28.96546e-3 # R / Md, (J/(mol*K)) / (kg/mol) = J/(kg*K) +c_p = 1.4 * R_d / (1.4 - 1) # J/(kg*K) +gravity = 9.80665 # m/(s^(2)) diff --git a/notebooks/notebook-template.ipynb b/notebooks/notebook-template.ipynb index dad9f26..d737332 100644 --- a/notebooks/notebook-template.ipynb +++ b/notebooks/notebook-template.ipynb @@ -26,6 +26,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ + "# Basic Atmospheric Science Modeling Cookbook\n", "---" ] }, @@ -95,15 +96,13 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Your first content section" + "## Model equations setup" ] }, { "cell_type": "markdown", "metadata": {}, - "source": [ - "This is where you begin your first section of material, loosely tied to your objectives stated up front. Tie together your notebook as a narrative, with interspersed Markdown text, images, and more as necessary," - ] + "source": [] }, { "cell_type": "code", @@ -295,7 +294,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.8" + "version": "3.11.9" }, "nbdime-conflicts": { "local_diff": [