ATMS 391: Homework Week 7
Problem 1
Load the August weather data for Chicago (from Week 3 exercise 2) into a Pandas DataFrame within your iPython notebook.
(a) Print a table showing the mean, minimum, maximum, and standard deviation for temperature, dewpoint, pressure in the file.
(b) Plot a histogram, PDF, and CDF of temperature observations.
(c) What are the 1, 25, 50 (median), 75, and 99th percentile values of temperature?
Problem 2
Load in the GISTEMP global temperature anomaly dataset from Week 5(a).
(a) Calculate the mean and standard deviation of the temperature anomalies at each grid point between 1900 and 2014. Plot these values on a map using pcolormesh
. Include a colorbar.
(b) Calculate a histogram, PDF, and CDF of temperature anomalies for each 10 degree latitude band (-90 to -80, -80 to -70, etc.). Color each line with a different line color or style, and include a legend.
(c - extra credit) Calculate the 10th and 90th percentile of temperature anomalies at each point, and plot them on a map using pcolormesh
. Include a colorbar.