Code
import numpy as np
print("Hello world!")
print("Output from code is shown.")Hello world!
Output from code is shown.
I’ve found myself in a few situations lately (whether talking with a sponsor or working with a new grad student) where a climate metric or policy question came up and I realized I didn’t have a simple way to show what was going on handy. I caught myself wishing for a figure and the matching equation right there on the page.
Papers are the go to place for all the details, but they can be hard to digest quickly. Textbooks cover the fundamentals really well, but they’re usually broad and not focused on the specific issues we bump into. And lectures are great, but you can’t exactly flip back to them in a meeting.
So this is me putting together something I wish existed: explanations in plain language, equations that are color-coded to match the story, figures that highlight the key idea, and a bit of code so you can poke around yourself or quickly edit1. Honestly, part of the reason I’m making this is because I also learn best when I can see the pieces side by side and mess around with them. This is as much me learning out loud as it is me teaching.
1 If I find this useful, eventually I might add interactivity to it as well. But let’s see how this goes.
My key research motivation is ultimately to enable a near-zero environmental impact aviation system. Understanding how chemicals coming out of the “tailpipe” interact with the atmosphere to result in impacts that we care about is key to solving this problem systematically. I’ll start with the climate science basics: radiative forcing, warming potentials, temperature response, etc. first, and then discuss some of the “uniqueness” of aviation’s environmental impacts.
All code used to generate the figures and numbers discussed in these notes are provided in the collapsed code blocks like this one here:
import numpy as np
print("Hello world!")
print("Output from code is shown.")Hello world!
Output from code is shown.
So if you want to follow along and write your own code to further dig into the topics, you should be able to recreate everything shown here yourself. Hovering over the code should let you copy the entire snippet to your clipboard. By default all code is collapsed, but you can toggle this behavior using the button on the top right of the screen.