This is code for problems from the excellent Principles of Planetary Climate. The datasets can be found here.