Brian E. J. Rose, University at Albany
This document uses the interactive IPython notebook
format (now also called Jupyter
). The notes can be accessed in several different ways:
github
at https://github.com/brian-rose/ClimateModeling_coursewareMany of these notes make use of the climlab
package, available at https://github.com/brian-rose/climlab
We will make our first attempt at quantifying the greenhouse effect in the simplest possible greenhouse model: a single layer of atmosphere that is able to absorb and emit longwave radiation.
from IPython.display import Image
Image('../images/MarshallPlumbFig2.6.png')
Figure reproduced from Marshall and Plumb (2008): Atmosphere, Ocean, and Climate Dynamics
We can now use the concept of energy balance to ask what the temperature need to be in order to balance the energy budgets at the surface and the atmosphere, i.e. the radiative equilibrium temperatures.
The presence of the atmosphere above means there is an additional source term: downwelling infrared radiation from the atmosphere.
We call this the back radiation.
which means that $$ T_s = 2^\frac{1}{4} T_a \approx 1.2 T_a $$
So we have just determined that, in order to have a purely radiative equilibrium, we must have $T_s > T_a$.
The surface must be warmer than the atmosphere.
Now plug this into the surface equation to find
$$ \frac{1}{2} \sigma T_s^4 = (1-\alpha) Q $$and use the definition of the emission temperature $T_e$ to write
$$ (1-\alpha) Q = \sigma T_e^4 $$In fact, in this model, $T_e$ is identical to the atmospheric temperature $T_a$, since all the OLR originates from this layer.
Solve for the surface temperature: $$ T_s = 2^\frac{1}{4} T_e $$
Putting in observed numbers, $T_e = 255$ K gives a surface temperature of $$T_s = 303 ~\text{K}$$
This model is one small step closer to reality: surface is warmer than atmosphere, emissions to space generated in the atmosphere, atmosphere heated from below and helping to keep surface warm.
BUT our model now overpredicts the surface temperature by about 15ºC (or K).
Ideas about why?
Basically we just need to read our list of assumptions above and realize that none of them are very good approximations:
Let's generalize the above model just a little bit to build a slighly more realistic model of longwave radiative transfer.
We will address two shortcomings of our single-layer model:
Relaxing these two assumptions gives us what turns out to be a very useful prototype model for understanding how the greenhouse effect works.
Note that this last assumption is appropriate is the absorption is actually carried out by a gas that is well-mixed in the atmosphere.
Out of our two most important absorbers:
But we will ignore this aspect of reality for now.
In order to build our model, we need to introduce one additional piece of physics known as Kirchoff's Law: $$ \text{absorptivity} = \text{emissivity} $$
So if a layer of atmosphere at temperature $T$ absorbs a fraction $\epsilon$ of incident longwave radiation, it must emit $$ \epsilon ~\sigma ~T^4 $$ both up and down.
Image('../images/2layerAtm_sketch.png', retina=True)
Let's denote the emissions from each layer as \begin{align} E_s &= \sigma T_s^4 \ E_0 &= \epsilon \sigma T_0^4 \ E_1 &= \epsilon \sigma T_1^4 \end{align} recognizing that $E_0$ and $E_1$ contribute to both the upwelling and downwelling beams.
Since we have assumed the atmosphere is transparent to shortwave, the incident beam $Q$ passes unchanged from the top to the surface, where a fraction $\alpha$ is reflected upward out to space.
Let $U$ be the upwelling flux of longwave radiation.
The upward flux from the surface to layer 0 is $$ U_0 = E_s $$ (just the emission from the suface).
Following this beam upward, we can write the upward flux from layer 0 to layer 1 as the sum of the transmitted component that originated below layer 0 and the new emissions from layer 0: $$ U_1 = (1-\epsilon) U_0 + E_0 $$
Continuing to follow the same beam, the upwelling flux above layer 1 is $$ U_2 = (1-\epsilon) U_1 + E_1 $$
Since there is no more atmosphere above layer 1, this upwelling flux is our Outgoing Longwave Radiation for this model:
\begin{align} OLR &= U_2 \\ &= (1-\epsilon) \bigg((1-\epsilon) \Big( \sigma T_s^4 \Big) + \epsilon \sigma T_0^4 \bigg) + \epsilon T_1^4 \\ &= (1-\epsilon)^2 \sigma T_s^4 + \epsilon(1-\epsilon) \sigma T_0^4 + \epsilon T_1^4 \end{align}Notice that the three terms in the OLR represent the contributions to the total OLR that originate from each of the three levels.
Let $D$ be the downwelling longwave beam. Since there is no longwave radiation coming in from space, we begin with $$ D_2 = 0$$
Between layer 1 and layer 0 the beam contains emissions from layer 1: $$ D_1 = E_1 = \epsilon \sigma T_1^4$$ ( in general we can write $D_1 = (1-\epsilon)D_2 + E_1$ if we are dealing with a non-zero $D_2$)
Finally between layer 0 and the surface the beam contains a transmitted component and the emissions from layer 0: $$ D_0 = (1-\epsilon) D_1 + E_0 = \epsilon(1-\epsilon) \sigma T_1^4 + \epsilon \sigma T_0^4$$
This $D_0$ is what we call the back radiation, i.e. the longwave radiation from the atmosphere to the surface.
In building our new model we have introduced exactly one parameter, the absorptivity $\epsilon$. We need to choose a value for $\epsilon$.
We will tune our model so that it reproduces the observed global mean OLR given observed global mean temperatures.
To get appropriate temperatures for $T_s, T_0, T_1$, let's revisit the global, annual mean lapse rate plot from NCEP Reanalysis data from the previous lecture.
First, we set $$T_s = 288 \text{ K} $$
From the lapse rate plot, an average temperature for the layer between 1000 and 500 hPa is
$$ T_0 = 275 \text{ K}$$Defining an average temperature for the layer between 500 and 0 hPa is more ambiguous because of the lapse rate reversal at the tropopause. We will choose
$$ T_1 = 230 \text{ K}$$From the graph, this is approximately the observed global mean temperature at 275 hPa or about 10 km.
From the observed global energy budget we set
$$ OLR = 239 \text{ W m}^{-2} $$We wrote down the expression for OLR as a function of temperatures and absorptivity in our model above. We just need to equate this to the observed value and solve a quadratic equation for $\epsilon$.
We will use the symbolic math packaged called sympy
to help us out here.
import sympy
sympy.init_printing()
epsilon, T_s, T_0, T_1, sigma = sympy.symbols('epsilon, T_s, T_0, T_1, sigma')
# Define the contributions to OLR originating from each level
OLR_s = (1-epsilon)**2 *sigma*T_s**4
OLR_0 = epsilon*(1-epsilon)*sigma*T_0**4
OLR_1 = epsilon*sigma*T_1**4
OLR = OLR_s + OLR_0 + OLR_1
print 'The expression for OLR is'
OLR
Subsitute in the numerical values we are interested in:
OLR2 = OLR.subs([(sigma, 5.67E-8), (T_s, 288.), (T_0, 275.), (T_1, 230.)])
OLR2
Now use the sympy.solve
function to solve the quadratic equation for $\epsilon$:
sympy.solve(OLR2 - 239., epsilon)
There are two roots, but the second one is unphysical since we must have $0 < \epsilon < 1$.
We conclude that our tuned value is
$$ \epsilon = 0.58$$This is the absorptivity that guarantees that our model reproduces the observed OLR given the observed tempertures.
Even in this very simple greenhouse model, there is no single level at which the OLR is generated.
The three terms in our formula for OLR tell us the contributions from each level.
Let's make a row vector of these three terms:
OLRterms = sympy.transpose(sympy.Matrix([OLR_s, OLR_0, OLR_1]))
OLRterms
Now evaluate these expressions for our tuned temperature and absorptivity:
tuned = [(T_s, 288), (T_0, 275), (T_1, 230), (epsilon, 0.58), (sigma, 5.67E-8)]
OLRtuned = OLRterms.subs(tuned)
OLRtuned
So we are getting about 69 W m$^{-2}$ from the surface, 79 W m$^{-2}$ from layer 0, and 92 W m$^{-2}$ from the top layer.
In terms of fractional contributions to the total OLR, we have (limiting the output to two decimal places):
sympy.N(OLRtuned / 239., 2)
Notice that the largest single contribution is coming from the top layer. This is in spite of that the emissions from this layer are weak, because it is so cold.
Comparing to observations, the actual contribution to OLR from the surface is about 22 W m$^{-2}$ (or about 9% of the total), not 69 W m$^{-2}$. So we certainly don't have all the details worked out yet!
As we will see later, to really understand what sets that observed 22 W m$^{-2}$, we will need to start thinking about the spectral dependence of the longwave absorptivity.
Adding some extra greenhouse absorbers will mean that a greater fraction of incident longwave radiation is absorbed in each layer.
Thus $\epsilon$ must increase as we add greenhouse gases.
Suppose we have $\epsilon$ initially, and the absorptivity increases to $\epsilon_2 = \epsilon + \delta_\epsilon$.
Suppose further that this increase happens abruptly so that there is no time for the temperatures to respond to this change. We hold the temperatures fixed in the column and ask how the radiative fluxes change.
Do you expect the OLR to increase or decrease?
Let's use our two-layer leaky greenhouse model to investigate the answer.
The components of the OLR before the perturbation are
OLRterms
After the perturbation we have
delta_epsilon = sympy.symbols('delta_epsilon')
OLRterms_pert = OLRterms.subs(epsilon, epsilon+delta_epsilon)
OLRterms_pert
Let's take the difference
deltaOLR = OLRterms_pert - OLRterms
deltaOLR
To make things simpler, we will neglect the terms in $\delta_\epsilon^2$. This is perfectly reasonably because we are dealing with small perturbations where $\delta_\epsilon << \epsilon$.
Telling sympy
to set the quadratic terms to zero gives us
deltaOLR_linear = sympy.expand(deltaOLR).subs(delta_epsilon**2, 0)
deltaOLR_linear
Recall that the three terms are the contributions to the OLR from the three different levels. In this case, the changes in those contributions after adding more absorbers.
Now let's divide through by $\delta_\epsilon$ to get the normalized change in OLR per unit change in absorptivity:
deltaOLR_per_deltaepsilon = sympy.simplify(deltaOLR_linear / delta_epsilon)
deltaOLR_per_deltaepsilon
Now look at the sign of each term. Recall that $0 < \epsilon < 1$. Which terms in the OLR go up and which go down?
THIS IS VERY IMPORTANT, SO STOP AND THINK ABOUT IT.
The contribution from the surface must decrease, while the contribution from the top layer must increase.
When we add absorbers, the average level of emission goes up!
In this model, only the longwave flux can change, so we define the radiative forcing as
$$ R = - \delta OLR $$(with the minus sign so that $R$ is positive when the climate system is gaining extra energy).
We just worked out that whenever we add some extra absorbers, the emissions to space (on average) will originate from higher levels in the atmosphere.
What does this mean for OLR? Will it increase or decrease?
To get the answer, we just have to sum up the three contributions we wrote above:
R = -sum(deltaOLR_per_deltaepsilon)
R
Is this a positive or negative number? The key point is this:
It depends on the temperatures, i.e. on the lapse rate.
Stop and think about this question:
If the surface and atmosphere are all at the same temperature, does the OLR go up or down when $\epsilon$ increases (i.e. we add more absorbers)?
Understanding this question is key to understanding how the greenhouse effect works.
We will just set $T_s = T_0 = T_1$ in the above expression for the radiative forcing.
R.subs([(T_0, T_s), (T_1, T_s)])
which then simplifies to
sympy.simplify(R.subs([(T_0, T_s), (T_1, T_s)]))
For an isothermal atmosphere, there is no change in OLR when we add extra greenhouse absorbers. Hence, no radiative forcing and no greenhouse effect.
Why?
The level of emission still must go up. But since the temperature at the upper level is the same as everywhere else, the emissions are exactly the same.
For a more realistic example of radiative forcing due to an increase in greenhouse absorbers, we can substitute in our tuned values for temperature and $\epsilon$.
We'll express the answer in W m$^{-2}$ for a 1% increase in $\epsilon$.
The three components of the OLR change are
deltaOLR_per_deltaepsilon.subs(tuned) * 0.01
And the net radiative forcing is
R.subs(tuned) * 0.01
So in our example, the OLR decreases by 2.2 W m$^{-2}$, or equivalently, the radiative forcing is +2.2 W m$^{-2}$.
What we have just calculated is this:
Given the observed lapse rates, a small increase in absorbers will cause a small decrease in OLR.
The greenhouse effect thus gets stronger, and energy will begin to accumulate in the system -- which will eventually cause temperatures to increase as the system adjusts to a new equilibrium.
In the previous section we made no assumptions about the processes that actually set the temperatures. We used the model to calculate radiative fluxes, given observed temperatures. We stressed the importance of knowing the lapse rates in order to know how an increase in emission level would affect the OLR, and thus determine the radiative forcing.
A key question in climate dynamics is therefore this:
What sets the lapse rate?
It turns out that lots of different physical processes contribute to setting the lapse rate. Understanding how these processes acts together and how they change as the climate changes is one of the key reasons for which we need more complex climate models.
For now, we will use our prototype greenhouse model to do the most basic lapse rate calculation: the radiative equilibrium temperature.
We assume that
E_s = sigma*T_s**4
E_0 = epsilon*sigma*T_0**4
E_1 = epsilon*sigma*T_1**4
E = sympy.Matrix([E_s, E_0, E_1])
E
U = sympy.Matrix([E_s, (1-epsilon)*E_s + E_0, (1-epsilon)*((1-epsilon)*E_s + E_0) + E_1])
U
fromspace = 0
D = sympy.Matrix([(1-epsilon)*((1-epsilon)*fromspace + E_1) + E_0, (1-epsilon)*fromspace + E_1, fromspace])
D
# Net flux, positive up
F = sympy.simplify(U - D)
F
# The absorption is then simply the flux convergence in each layer
# define a vector of absorbed radiation -- same size as emissions
A = E.copy()
# absorbed radiation at surface
A[0] = F[0]
# Get the convergence
for n in range(2):
A[n+1] = -(F[n+1]-F[n])
A = sympy.simplify(A)
A
# Solve for radiative equilibrium by setting this equal to zero
T_e = sympy.symbols('T_e')
sympy.solve(A - sympy.Matrix([sigma*T_e**4, 0, 0]),[T_s**4, T_1**4, T_0**4])
The radiative equilibrium solution is thus
\begin{align} T_s &= T_e \left( \frac{2+\epsilon}{2-\epsilon} \right)^{1/4} \\ T_1 &= T_e \left( \frac{1+\epsilon}{2-\epsilon} \right)^{1/4} \\ T_2 &= T_e \left( \frac{ 1}{2 - \epsilon} \right)^{1/4} \end{align}Plugging in $\epsilon = 0.58$ gives
\begin{align} T_s &= 296 \text{ K} \\ T_0 &= 262 \text{ K} \\ T_1 &= 234 \text{ K} \\ \end{align}Compare these to the values we derived from the observed lapse rates: \begin{align} T_s &= 288 \text{ K} \ T_0 &= 275 \text{ K} \ T_1 &= 230 \text{ K} \ \end{align}
The radiative equilibrium solution is substantially warmer at the surface and colder in the lower troposphere than reality.
This is a very general feature of radiative equilibrium, and we will see it again very soon in this course.
You are now ready to tackle Assignment 5, where you are asked to extend this grey-gas analysis to many layers.
For more than a few layers, the analytical approach we used here is no longer very useful. You will code up a numerical solution to calculate OLR given temperatures and absorptivity, and look at how the lapse rate determines radiative forcing for a given increase in absorptivity.
%install_ext http://raw.github.com/jrjohansson/version_information/master/version_information.py
%load_ext version_information
%version_information numpy, sympy, climlab
The author of this notebook is Brian E. J. Rose, University at Albany.
It was developed in support of ATM 623: Climate Modeling, a graduate-level course in the Department of Atmospheric and Envionmental Sciences, offered in Spring 2015.