ENV / ATM 415: Climate Laboratory, Spring 2016

Assignment 3

Out: Tuesday February 23, 2016

Due: Thursday March 3, 2016 at 10:15 am.


About this document

This file is a Jupyter notebook (also formerly called IPython notebook).

Each cell contains either a block of Python code, or some formatted text.

To open this document, you should launch your Jupyter notebook server by typing

jupyter notebook

from your command line (or use the ipython-notebook button on the Anaconda launcher).

Basic navigation

To select a particular cell for editing, just double-click on it.

There is a pull-down menu at the top of the window, used for setting the content of each cell. A text cell like this one will say Markdown.


In [1]:
#  This is an example of a Python code cell.
#  Note that I can include text as long as I use the # symbol (Python comment)

#  Results of my code will display below the input

print 3+5


8

Go ahead and edit the Python code cell above to do something different. To evaluate whatever is in the cell, just press shift-enter.

Notice that you are free to jump around and evaluate cells in any order you want. The effect is exactly like typing each cell into a Python console in the order that you evaluate them.

Your assignment

Answer all questions below, using the example code as a guide.

You will submit your work as a single notebook file. You can use this file as a template, or create a new, empty notebook. Select Markdown for cells that contain your written answers to the questions below.

Save your notebook as

[your last name]_Assignment03.ipynb

(so for example, my submission would be Rose_Assignment03.ipynb).

The easiest way to do this is just click on the title text at the top of the window. Currently it says Assignment03. When you click on it, you get a prompt for a new notebook name.

Try to make sure your notebook runs from start to finish without error. Do this:

  • Save your work
  • From the Kernel menu, select Restart (this will wipe out any variables stored in memory).
  • From the Cell menu, select Run All. This will run each cell in your notebook in order.
  • Did it reach the end without error, and with the results you expected?
    • Yes: Good.
    • No: Find and fix the errors. (remember that the Python interpreter only knows what has already been defined in previous cells. The order of evaluation matters)
  • Save your work and submit your notebook file by email to brose@albany.edu


In [2]:
#  We usually want to begin every notebook by setting up our tools:

# graphics in the notebook, rather than in separate windows
%matplotlib inline  

#  Some standard imports
import numpy as np
import matplotlib.pyplot as plt


/Users/Brian/anaconda/lib/python2.7/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')

In [3]:
#  We need the custom climlab package for this assignment
import climlab

Question 1

(Primer Section 3.8, Review question 1)

List 10 questions that a strictly zero-dimensional climate model cannot answer. For at least five of the 10 questions, add your explanation of why.

Your answer here...


Question 2

(Primer Section 3.8, Review question 2)

The similarities between the first two EBMs (those of Budyko and Sellers) are fairly obvious -- what are they? Now list at least differences bewteen these very early EBMs.

Your answer here...


Question 3

Using the function climlab.solar.insolation.daily_insolation(), calculate the incoming solar radiation (insolation) at three different latitudes:

  • the equator
  • 45ºN
  • the North Pole.

Use present-day orbital parameters.

a) Make a well-labeled graph that shows all three insolation curves on the same plot. The x axis of your graph should be days of the calendar year (beginning January 1), and the y axis should be insolation in W/m2. Include a legend showing which curve corresponds to which latitude.

b) Comment on the very different shapes of these three curves.


In [4]:
#  This is a code cell. 
# Use the '+' button on the toolbar above to add new cells. 
#  Use the arrow buttons to reorder cells.

This is a text cell.


Question 4

Make the same graph using the orbital parameters of 10,000 years ago (just after the end of the last ice age). Compare with your graph from Question 1 to answer these questions:

a) Was the insolation at northern high latitudes at summer solstice weaker or stronger 10,000 years ago compared to present conditions?

b) Was the summer season longer or shorter at high northern latitudes? To see this, look at the length of time between polar sunrise and polar sunset.

c) What other differences do you notice?


Question 5

a) Calculate the annual average insolation for an array of latitudes ranging from the South Pole to the North Pole.

There is more than one way to do this. You loop through a list of days of the year, add up the insolation, and divide by the number of days. Or you can use a shortcut like np.mean().

Present your results as a well-labeled graph of annual average insolation as a function of latitude. You may use either present-day, or any other orbital parameters, but make sure you explain clearly what you using.

b) Recall that the equilibrium temperature in our zero-dimensional EBM is

$$ T_{eq} = \left( \frac{(1-\alpha) ~ Q}{\tau~ \sigma} \right)^{\frac{1}{4}} $$

Suppose that this model applies independently at every latitude, where $Q$ is the annual average insolation at that latitude (i.e. ignore exchanges of energy between adjacent latitude bands). Using the annual mean $Q$ you computed in part (a), make a graph of $T_{eq}$ as a function of latitude. Make sure to state clearly any assumptions you make about the parameter values $\alpha, \tau$.

c) What are typical annual-average surface temperature values at the South Pole, North Pole, and equator on Earth? Make sure to state your sources for these numbers. How do these compare to the equilibrium temperatures you computed in part (b)? Discuss some possible shortcomings of the simple model you used in part (b).


Bonus question (for fun and extra credit)

Repeat question 4 and 5 for a planet with zero eccentricity and 90º obliquity.

Speculate on what the seasonal cycle of temperature might look like at different locations on this planet.

90º obliquity means the planet’s rotation axis is parallel with the earth-sun plane, as if the planet were lying on its side. In our solar system, the planet Uranus has an obliquity close to 90º, as do many of the newly discovered extra-solar planets.


In [ ]: