10. Who needs spectral bands? We do. Some baby steps…#
This notebook is part of The Climate Laboratory by Brian E. J. Rose, University at Albany.
1. What if CO\(_2\) actually behaved like a Grey Gas?#
Suppose that CO\(_2\) actually behaved as a grey gas. In other words, no spectral dependence in absorptivity.
If we then double the CO2 concentration in the atmosphere, we double the number of absorbers. This should imply that we also double the absorption cross-section \(\kappa\). Following the notation from our lecture on grey-gas radiative transfer, we have:
This would imply that we double the optical thickness of every layer:
And since the absorptivity / emissivity of each layer is
the modified absorptivity is
or simply
(Note that \(\epsilon^\prime = 2 \epsilon\) for very thin layers, for which \(\epsilon\) is small).
What does our 2-layer analytical model then say about the radiative forcing?#
Recall that we tuned the two-layer grey gas model with
to get the observed OLR with observed temperatures.
# Applying the above formula
eps = 0.586
print('Doubling a grey gas absorber would change the absorptivity from {:.3} to {:.3}'.format(eps, 2*eps - eps**2))
Doubling a grey gas absorber would change the absorptivity from 0.586 to 0.829
If CO2 behaved like a grey gas, doubling it would cause a huge increase in the absorptivity of each layer!
We previously worked out that the radiative forcing in this model (with the observed lapse rate) is about +2.6 W m\(^{-2}\) for a 2% increase in \(\epsilon\).
forcing_rate = 2.6 / 0.02 # W/m2 forcing per fractional increase in epsilon
Our hypothetical doubling of “grey CO\(_2\)” yields an increase from 0.586 to 0.829, or more than 40%:
fractional_increase = (0.829 - 0.586) / 0.586
So roughly speaking, this should yield a radiative forcing 20 times larger than +2.6 W m\(^{-2}\):
radiative_forcing = forcing_rate * fractional_increase # W/m2
print(radiative_forcing)
53.907849829351534
Our hypothetical doubling of “grey CO\(_2\)” gives a radiative forcing greater than 50 W m\(^{-2}\).
This is an absolutely enormous number. Assuming a net climate feedback of -1.3 W m\(^{-2}\) K\(^{-1}\) (consistent with the CMIP5 model ensemble) would then give us a truly astronomical equilibrium climate sensitivity of 41 K:
lambda_net = -1.3 # W/m2/K
ecs = radiative_forcing / -(lambda_net) # K
print(ecs)
41.467576791808874
Conclusions:#
If CO2 did behave like a grey gas, we would be toast*!
The Grey Gas model is insufficient for understanding radiative forcing and feedback.
* Phrase borrowed with great respect from R. Pierrehumbert (2010), Principles of Planetary Climate, Cambridge University Press., which is easily to best textbook that exists on this subject.
2. Another look at observed spectra#
It’s time to move away from the Grey Gas approximation and look more carefully at the actual observed spectra of solar and terrestrial radiation.
Observed solar spectra#
The following figure shows observed spectra of solar radiation at TOA and at the surface, along with the theoretical Planck function for a blackbody at 5525 K.
This figure shows the solar radiation spectrum for direct light at both the top of the Earth’s atmosphere and at sea level. The sun produces light with a distribution similar to what would be expected from a 5525 K (5250 °C) blackbody, which is approximately the sun’s surface temperature. As light passes through the atmosphere, some is absorbed by gases with specific absorption bands. Additional light is redistributed by Raleigh scattering, which is responsible for the atmosphere’s blue color. These curves are based on the American Society for Testing and Materials (ASTM) Terrestrial Reference Spectra, which are standards adopted by the photovoltaics industry to ensure consistent test conditions and are similar to the light that could be expected in North America. Regions for ultraviolet, visible and infrared light are indicated.
Source: http://commons.wikimedia.org/wiki/File:Solar_spectrum_en.svg
The figure shows that that the incident beam at TOA has the shape of a blackbody radiator.
By the time the beam arrives at the surface, it is strongly depleted at specific wavelengths.
Absorption by O\(_3\) (ozone) depletes almost the entire ultraviolet spectrum.
Weaker absorption features, mostly due to H\(_2\)O, deplete some parts of the near-infrared.
Note that the depletion in the visible band is mostly due to scattering, which depletes the direct beam but contributes diffuse radiation (so we can still see when it’s cloudy!)
Observed terrestrial spectra#
This figure shows the Planck function for Earth’s surface temperature compared with the spectrum observed from space.
Source: David Bice, Penn State University. https://www.e-education.psu.edu/earth103/node/1006
Careful: I’m pretty sure what is plotted here is not the total observed spectrum, but rather the part of the emissions from the surface that actual make it out to space.
As we now, the terrestrial beam from the surface is depleted by absorption by many greenhouse gases, but principally CO\(_2\) and H\(_2\)O.
However there is a spectral band centered on 10 \(\mu\)m in which the greenhouse effect is very weak. This is the so-called window region in the spectrum.
Since absorption is so strong across most of the rest of the infrared spectrum, this window region is a key determinant of the overall greenhouse effect.
One very big shortcoming of the Grey Gas model: it ignores the window region#
We would therefore like to start using a model that includes enough spectral information that it represents
the mostly strong CO2 absorption outside the window region
the weak absorption inside the window region
3. Water vapor changes under global warming#
Another big shortcoming of the Grey Gas model is that it cannot represent the water vapor feedback.
We have seen above that H\(_2\)O is an important absorber in both longwave and shortwave spectra.
We also know that the water vapor load in the atmosphere increases as the climate warms. The primary reason is that the saturation vapor pressure increases strongly with temperature.
Evidence from CESM simulations#
Let’s take at changes in the mean water vapor fields in the CESM model after a doubling of CO\(_2\)
%matplotlib inline
import numpy as np
import matplotlib.pyplot as plt
import xarray as xr
from numpy import cos, deg2rad, log
# Open handles to the data files
# These files are climatologies calculated over the final years of each simulation
datapath = "http://thredds.atmos.albany.edu:8080/thredds/dodsC/CESMA/"
ctrl = xr.open_dataset(datapath + 'som_1850_f19/clim/som_1850_f19.cam.h0.clim.nc', decode_times=False)
co2 = xr.open_dataset(datapath + 'som_1850_2xCO2/clim/som_1850_2xCO2.cam.h0.clim.nc', decode_times=False)
# Plot cross-sections of the following anomalies under 2xCO2:
# - Temperature
# - Specific humidity
# - Relative humidity
fig, axes = plt.subplots(1,3, figsize=(16,6))
ax = axes[0]
CS = ax.contourf(ctrl.lat, ctrl.lev, (co2['T'] - ctrl['T']).mean(dim=('time','lon')),
levels=np.arange(-11,12,1), cmap=plt.cm.seismic)
ax.set_title('Temperature (K)')
fig.colorbar(CS, orientation='horizontal', ax=ax)
ax = axes[1]
CS = ax.contourf(ctrl.lat, ctrl.lev, (co2['Q'] - ctrl['Q']).mean(dim=('time','lon'))*1000,
levels=np.arange(-3,3.25,0.25), cmap=plt.cm.seismic)
ax.set_title('Specific humidity (g/kg)')
fig.colorbar(CS, orientation='horizontal', ax=ax)
ax = axes[2]
CS = ax.contourf(ctrl.lat, ctrl.lev, (co2['RELHUM'] - ctrl['RELHUM']).mean(dim=('time','lon')),
levels=np.arange(-11,12,1), cmap=plt.cm.seismic)
ax.set_title('Relative humidity (%)')
fig.colorbar(CS, orientation='horizontal', ax=ax)
for ax in axes:
ax.invert_yaxis()
ax.set_xticks([-90, -60, -30, 0, 30, 60, 90]);
ax.set_xlabel('Latitude')
ax.set_ylabel('Pressure')
fig.suptitle('Anomalies for 2xCO2 in CESM slab ocean simulations', fontsize=16);
What do you see here?#
Where does the largest warming occur?
Where does the largest moistening occur?
In fact the specific humidity anomaly has roughly the same shape of the specific humidity field itself – it is largest where the temperature is highest. This is a consequence of the Clausius-Clapeyron relation.
The relative humidity anomaly is
overall rather small (just a few percent)
Largest in places cold places where the specific humidity is very small.
The smallness of the relative humidity change is a rather remarkable result.
This is not something we can derive from first principles. It is an emergent property of the GCMs. However it is a very robust feature of global warming simulations.
4. A simple water vapor parameterization#
A credible climate model needs a water vapor feedback#
If relative humidity is nearly constant under global warming, and water vapor is a greenhouse gas, this implies a positive feedback that will amplify the warming for a given radiative forcing.
Thus far our simple models have ignored this process, and we have not been able to use them to assess the climate sensitivity.
To proceed towards more realistic models, we have two options:
Simulate all the evaporation, condensation and transport processes that determine the time-mean water vapor field (as is done in the CESM).
Parameterize the dependence of water vapor on temperature by insisting that relative humidity stays constant as the climate changes.
We will now explore this second option, so that we can continue to think of the global energy budget under climate change as a process occurring in a single column.
Manabe’s constant relative humidity parameterization#
We are going to adopt a parameterization first used in a very famous paper by Manabe and Wetherald [1967], The thermal equilibrium of the atmosphere with a given distribution of relative humidity.
This paper was the first to give a really credible calculation of climate sensitivity to a doubling of CO2 by accounting for the known spectral properties of CO2 and H2O absorption, as well as the water vapor feedback!
The parameterization is very simple:
We assume that the relative humidity \(r\) is a linear function of pressure \(p\):
where \(p_s = 1000\) hPa is the surface pressure, and \(r_s\) is a prescribed surface value of relative humidity. Manabe and Wetherald set \(r_s = 0.77\), but we should consider this a tunable parameter in our parameterization.
Since this formula gives a negative number above 20 hPa, we also assume that the specific humidity has a minimum value of \(0.005\) g/kg (a typical stratospheric value).
This formula is implemented in climlab.radiation.ManabeWaterVapor()
Using this parameterization, the surface and tropospheric specific humidity will always increase as the temperature increases.
5. Modeling spectral bands with the climlab.BandRCModel
process#
Here is a brief introduction to the climlab.BandRCModel
process.
This is a model that divides the spectrum into 7 distinct bands: three shortwave and four longwave.
As we will see, the process works much like the familiar climlab.RadiativeConvectiveModel
.
About the spectra#
Shortwave#
The shortwave is divided into three channels:
Channel 0 is the Hartley and Huggins band (extreme UV, 200 - 340 nm, 1% of total flux, strong ozone absorption)
Channel 1 is Chappuis band (450 - 800 nm, 27% of total flux, moderate ozone absorption)
Channel 2 is remaining radiation (72% of total flux, largely in the visible range, no ozone absorption)
Longwave#
The longwave is divided into four bands:
Band 0 is the window region (between 8.5 and 11 \(\mu\)m), 17% of total flux.
Band 1 is the CO2 absorption channel (the band of strong absorption by CO2 around 15 \(\mu\)m), 15% of total flux
Band 2 is a weak water vapor absorption channel, 35% of total flux
Band 3 is a strong water vapor absorption channel, 33% of total flux
The longwave decomposition is not as easily related to specific wavelengths, as in reality there is a lot of overlap between H\(_2\)O and CO\(_2\) absorption features (as well as absorption by other greenhouse gases such as CH\(_4\) and N\(_2\)O that we are not representing).
Example usage of the spectral model#
import climlab
from climlab import constants as const
First try a model with all default parameters. Usage is very similar to the familiar RadiativeConvectiveModel
.
col1 = climlab.BandRCModel()
col1
<climlab.model.column.BandRCModel at 0x15d7256d0>
Check out the list of subprocesses.
We now have a process called H2O
, in addition to things we’ve seen before.
The state variables are still just temperatures:
col1.state
AttrDict({'Ts': Field([288.]), 'Tatm': Field([200. , 202.68965517, 205.37931034, 208.06896552,
210.75862069, 213.44827586, 216.13793103, 218.82758621,
221.51724138, 224.20689655, 226.89655172, 229.5862069 ,
232.27586207, 234.96551724, 237.65517241, 240.34482759,
243.03448276, 245.72413793, 248.4137931 , 251.10344828,
253.79310345, 256.48275862, 259.17241379, 261.86206897,
264.55172414, 267.24137931, 269.93103448, 272.62068966,
275.31034483, 278. ])})
But the model has a new input field for specific humidity:
col1.q
Field([5.00000000e-06, 5.00000000e-06, 5.00000000e-06, 5.00000000e-06,
5.87957411e-06, 8.55682965e-06, 1.22193649e-05, 1.71932832e-05,
2.38916443e-05, 3.28354282e-05, 4.46774859e-05, 6.02302082e-05,
8.04974602e-05, 1.06711275e-04, 1.40373783e-04, 1.83304857e-04,
2.37695932e-04, 3.06170488e-04, 3.91851633e-04, 4.98437246e-04,
6.30283118e-04, 7.92494475e-04, 9.91026303e-04, 1.23279279e-03,
1.52578624e-03, 1.87920573e-03, 2.30359570e-03, 2.81099479e-03,
3.41509495e-03, 4.13141097e-03])
The H2O
process sets the specific humidity field at every timestep to a specified profile, determined by air temperatures. More on that below. For now, let’s compute a radiative equilibrium state.
col1.integrate_years(2)
Integrating for 730 steps, 730.4844 days, or 2 years.
Total elapsed time is 1.9986737567564754 years.
# Check for energy balance
col1.ASR - col1.OLR
Field([-0.00148377])
fig, ax = plt.subplots()
ax.plot(col1.Tatm, col1.lev, 'c-', label='default')
ax.plot(col1.Ts, climlab.constants.ps, 'co', markersize=16)
ax.invert_yaxis()
ax.set_xlabel('Temperature (K)', fontsize=16)
ax.set_ylabel('Pressure (hPa)', fontsize=16 )
ax.set_title('Temperature profiles', fontsize = 18)
ax.grid()
By default this model has convective adjustment. We can set the adjusted lapse rate by passing a parameter when we create the model.
The model currently has no ozone (so there is no stratosphere). Not very realistic!
About the radiatively active gases#
The Band model is aware of three different absorbing gases: O3 (ozone), CO2, and H2O (water vapor). The abundances of these gases are stored in a dictionary of arrays as follows:
col1.absorber_vmr
{'CO2': Field([0.00038, 0.00038, 0.00038, 0.00038, 0.00038, 0.00038, 0.00038,
0.00038, 0.00038, 0.00038, 0.00038, 0.00038, 0.00038, 0.00038,
0.00038, 0.00038, 0.00038, 0.00038, 0.00038, 0.00038, 0.00038,
0.00038, 0.00038, 0.00038, 0.00038, 0.00038, 0.00038, 0.00038,
0.00038, 0.00038]),
'O3': Field([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,
0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.]),
'H2O': Field([5.00000000e-06, 5.00000000e-06, 5.00000000e-06, 5.00000000e-06,
5.00000000e-06, 5.00000000e-06, 6.38590233e-06, 9.08848690e-06,
1.33273826e-05, 2.34389689e-05, 3.84220914e-05, 5.95564299e-05,
8.82144990e-05, 1.25843839e-04, 1.73951159e-04, 2.34088411e-04,
3.07840683e-04, 3.96815735e-04, 5.02635028e-04, 6.26926041e-04,
7.71315753e-04, 9.37425100e-04, 1.12686431e-03, 1.34122899e-03,
1.58209684e-03, 1.85102493e-03, 2.14954752e-03, 2.47917415e-03,
2.84138824e-03, 3.23764591e-03])}
Ozone and CO2 are both specified in the model. The default, as you see above, is zero ozone, and constant (well-mixed) CO2 at a volume mixing ratio of 3.8E-4 or 380 ppm.
Water vapor is handled differently: it is determined by the model at each timestep. We make the following assumptions, following a classic paper on radiative-convective equilibrium by Manabe and Wetherald (J. Atmos. Sci. 1967):
the relative humidity just above the surface is fixed at 77% (can be changed of course… see the parameter
col1.relative_humidity
water vapor drops off linearly with pressure
there is a small specified amount of water vapor in the stratosphere.
Putting in some ozone#
We need to provide some ozone data to the model in order to simulate a stratosphere. We will read in some ozone data just as we did in the previous lecture on grey-gas modeling in climlab.
ozone = xr.open_dataset( datapath + 'som_input/ozone_1.9x2.5_L26_2000clim_c091112.nc')
# Take global (area-weighted) and annual average
weight_ozone = cos(deg2rad(ozone.lat)) / cos(deg2rad(ozone.lat)).mean(dim='lat')
O3_global = (ozone.O3 * weight_ozone).mean(dim=('lat','lon','time'))
O3_global
<xarray.DataArray (lev: 26)> array([7.82792878e-06, 8.64150529e-06, 7.58940028e-06, 5.24567145e-06, 3.17761574e-06, 1.82320006e-06, 9.80756960e-07, 6.22870516e-07, 4.47620550e-07, 3.34481169e-07, 2.62570302e-07, 2.07898125e-07, 1.57074555e-07, 1.12425545e-07, 8.06004999e-08, 6.27826498e-08, 5.42990561e-08, 4.99506089e-08, 4.60075681e-08, 4.22977789e-08, 3.80559071e-08, 3.38768568e-08, 3.12171619e-08, 2.97807119e-08, 2.87980968e-08, 2.75429934e-08]) Coordinates: * lev (lev) float64 3.545 7.389 13.97 23.94 ... 867.2 929.6 970.6 992.6
- lev: 26
- 7.828e-06 8.642e-06 7.589e-06 ... 2.978e-08 2.88e-08 2.754e-08
array([7.82792878e-06, 8.64150529e-06, 7.58940028e-06, 5.24567145e-06, 3.17761574e-06, 1.82320006e-06, 9.80756960e-07, 6.22870516e-07, 4.47620550e-07, 3.34481169e-07, 2.62570302e-07, 2.07898125e-07, 1.57074555e-07, 1.12425545e-07, 8.06004999e-08, 6.27826498e-08, 5.42990561e-08, 4.99506089e-08, 4.60075681e-08, 4.22977789e-08, 3.80559071e-08, 3.38768568e-08, 3.12171619e-08, 2.97807119e-08, 2.87980968e-08, 2.75429934e-08])
- lev(lev)float643.545 7.389 13.97 ... 970.6 992.6
- long_name :
- hybrid level at midpoints (1000*(A+B))
- units :
- level
- positive :
- down
- standard_name :
- atmosphere_hybrid_sigma_pressure_coordinate
- formula_terms :
- a: hyam b: hybm p0: P0 ps: PS
array([ 3.544638, 7.388814, 13.967214, 23.944625, 37.23029 , 53.114605, 70.05915 , 85.439115, 100.514695, 118.250335, 139.115395, 163.66207 , 192.539935, 226.513265, 266.481155, 313.501265, 368.81798 , 433.895225, 510.455255, 600.5242 , 696.79629 , 787.70206 , 867.16076 , 929.648875, 970.55483 , 992.5561 ])
fig, ax = plt.subplots()
ax.plot( O3_global*1E6, ozone.lev)
ax.invert_yaxis()
ax.set_xlabel('Ozone (ppm)', fontsize=16)
ax.set_ylabel('Pressure (hPa)', fontsize=16 )
ax.set_title('Global, annual mean ozone concentration', fontsize = 16);
We are going to create another instance of the model, this time using the same vertical coordinates as the ozone data.
# Create the column with appropriate vertical coordinate, surface albedo and convective adjustment
col2 = climlab.BandRCModel(lev=ozone.lev)
col2
<climlab.model.column.BandRCModel at 0x167ad0ac0>
# Set the ozone mixing ratio
col2.absorber_vmr['O3'] = O3_global.values
# Run the model out to equilibrium!
col2.integrate_years(2.)
Integrating for 730 steps, 730.4844 days, or 2.0 years.
Total elapsed time is 1.9986737567564754 years.
fig, ax = plt.subplots()
ax.plot( col1.Tatm, np.log(col1.lev/1000), 'c-', label='RCE' )
ax.plot( col1.Ts, 0, 'co', markersize=16 )
ax.plot(col2.Tatm, np.log(col2.lev/1000), 'r-', label='RCE O3' )
ax.plot(col2.Ts, 0, 'ro', markersize=16 )
ax.invert_yaxis()
ax.set_xlabel('Temperature (K)', fontsize=16)
ax.set_ylabel('log(Pressure)', fontsize=16 )
ax.set_title('Temperature profiles', fontsize = 18)
ax.grid(); ax.legend()
<matplotlib.legend.Legend at 0x167b14a30>
Once we include ozone we get a well-defined stratosphere.
Things to consider / try:
Here we used the global annual mean Q = 341.3 W m\(^{-2}\). We might want to consider latitudinal or seasonal variations in Q.
We also used the global annual mean ozone profile! Ozone varies tremendously in latitude and by season. That information is all contained in the ozone data file we opened above. We might explore the effects of those variations.
We can calculate climate sensitivity in this model by doubling the CO2 concentration and re-running out to the new equilibrium. Does the amount of ozone affect the climate sensitivity? (example below)
An important shortcoming of the model: there are no clouds! (that would be the next step in the hierarchy of column models)
Clouds would act both in the shortwave (increasing the albedo, cooling the climate) and in the longwave (greenhouse effect, warming the climate). Which effect is stronger depends on the vertical structure of the clouds (high or low clouds) and their optical properties (e.g. thin cirrus clouds are nearly transparent to solar radiation but are good longwave absorbers).
col3 = climlab.process_like(col2)
col3
<climlab.model.column.BandRCModel at 0x1677e76a0>
# Let's double CO2.
col3.absorber_vmr['CO2'] *= 2.
col3.compute_diagnostics()
print( 'The radiative forcing for doubling CO2 is %f W/m2.' % (col2.diagnostics['OLR'] - col3.diagnostics['OLR']))
The radiative forcing for doubling CO2 is 1.390262 W/m2.
col3.integrate_years(3)
Integrating for 1095 steps, 1095.7266 days, or 3 years.
Total elapsed time is 4.996684391891189 years.
col3.ASR - col3.OLR
Field([4.25509398e-07])
print( 'The Equilibrium Climate Sensitivity is %f K.' % (col3.Ts - col2.Ts))
The Equilibrium Climate Sensitivity is 2.790202 K.
# An example with no ozone
col4 = climlab.process_like(col1)
col4
<climlab.model.column.BandRCModel at 0x167b1c130>
col4.absorber_vmr['CO2'] *= 2.
col4.compute_diagnostics()
print('The radiative forcing for doubling CO2 is %f W/m2.' % (col1.OLR - col4.OLR))
The radiative forcing for doubling CO2 is 4.421081 W/m2.
col4.integrate_years(3.)
col4.ASR - col4.OLR
Integrating for 1095 steps, 1095.7266 days, or 3.0 years.
Total elapsed time is 4.996684391891189 years.
Field([-5.25654883e-07])
print('The Equilibrium Climate Sensitivity is %f K.' % (col4.Ts - col1.Ts))
The Equilibrium Climate Sensitivity is 3.180993 K.
Interesting that the model is MORE sensitive when ozone is set to zero.
Credits#
This notebook is part of The Climate Laboratory, an open-source textbook developed and maintained by Brian E. J. Rose, University at Albany.
It is licensed for free and open consumption under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.
Development of these notes and the climlab software is partially supported by the National Science Foundation under award AGS-1455071 to Brian Rose. Any opinions, findings, conclusions or recommendations expressed here are mine and do not necessarily reflect the views of the National Science Foundation.