print("---------- Exercise 3 script ----------")

print("Question 1:")
from map_data import *
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt

fig = plt.figure()
m = Basemap(projection='cyl', llcrnrlat=-90, urcrnrlat=90, llcrnrlon=-180, urcrnrlon=180, resolution='c')
m.drawcoastlines()
im1 = m.pcolormesh(lons, lats, tas, shading='flat', cmap=plt.cm.jet, latlon=True)

plt.savefig("data/tas1.png")
plt.show()

print("Question 2:")
from map_data import *
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
fig = plt.figure()
plt.title('Change in Surface Air Temperature from MOHC HadGEM2-ES')
m = Basemap(projection='cyl', llcrnrlat=-90, urcrnrlat=90, llcrnrlon=-180, urcrnrlon=180, resolution='c')

m.drawcoastlines()
m.drawparallels(np.arange(-90.,99.,30.))
m.drawmeridians(np.arange(-180.,180.,60.))
im1 = m.pcolormesh(lons, lats, tas, shading='flat', cmap=plt.cm.jet, latlon=True)
cb = m.colorbar(im1, "bottom", size="5%", pad="2%")

plt.savefig("data/tas2.png")
plt.show()

5d040788c856fcc66b6f9b83abb54dc5c19c92b8
<mask token>

print('---------- Exercise 3 script ----------')
print('Question 1:')
<mask token>
m.drawcoastlines()
<mask token>
plt.savefig('data/tas1.png')
plt.show()
print('Question 2:')
<mask token>
plt.title('Change in Surface Air Temperature from MOHC HadGEM2-ES')
<mask token>
m.drawcoastlines()
m.drawparallels(np.arange(-90.0, 99.0, 30.0))
m.drawmeridians(np.arange(-180.0, 180.0, 60.0))
<mask token>
plt.savefig('data/tas2.png')
plt.show()

print('---------- Exercise 3 script ----------')
print('Question 1:')
<mask token>
fig = plt.figure()
m = Basemap(projection='cyl', llcrnrlat=-90, urcrnrlat=90, llcrnrlon=-180,
    urcrnrlon=180, resolution='c')
m.drawcoastlines()
im1 = m.pcolormesh(lons, lats, tas, shading='flat', cmap=plt.cm.jet, latlon
    =True)
plt.savefig('data/tas1.png')
plt.show()
print('Question 2:')
<mask token>
fig = plt.figure()
plt.title('Change in Surface Air Temperature from MOHC HadGEM2-ES')
m = Basemap(projection='cyl', llcrnrlat=-90, urcrnrlat=90, llcrnrlon=-180,
    urcrnrlon=180, resolution='c')
m.drawcoastlines()
m.drawparallels(np.arange(-90.0, 99.0, 30.0))
m.drawmeridians(np.arange(-180.0, 180.0, 60.0))
im1 = m.pcolormesh(lons, lats, tas, shading='flat', cmap=plt.cm.jet, latlon
    =True)
cb = m.colorbar(im1, 'bottom', size='5%', pad='2%')
plt.savefig('data/tas2.png')
plt.show()

print('---------- Exercise 3 script ----------')
print('Question 1:')
from map_data import *
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
fig = plt.figure()
m = Basemap(projection='cyl', llcrnrlat=-90, urcrnrlat=90, llcrnrlon=-180,
    urcrnrlon=180, resolution='c')
m.drawcoastlines()
im1 = m.pcolormesh(lons, lats, tas, shading='flat', cmap=plt.cm.jet, latlon
    =True)
plt.savefig('data/tas1.png')
plt.show()
print('Question 2:')
from map_data import *
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
fig = plt.figure()
plt.title('Change in Surface Air Temperature from MOHC HadGEM2-ES')
m = Basemap(projection='cyl', llcrnrlat=-90, urcrnrlat=90, llcrnrlon=-180,
    urcrnrlon=180, resolution='c')
m.drawcoastlines()
m.drawparallels(np.arange(-90.0, 99.0, 30.0))
m.drawmeridians(np.arange(-180.0, 180.0, 60.0))
im1 = m.pcolormesh(lons, lats, tas, shading='flat', cmap=plt.cm.jet, latlon
    =True)
cb = m.colorbar(im1, 'bottom', size='5%', pad='2%')
plt.savefig('data/tas2.png')
plt.show()

print("---------- Exercise 3 script ----------")

print("Question 1:")
from map_data import *
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt

fig = plt.figure()
m = Basemap(projection='cyl', llcrnrlat=-90, urcrnrlat=90, llcrnrlon=-180, urcrnrlon=180, resolution='c')
m.drawcoastlines()
im1 = m.pcolormesh(lons, lats, tas, shading='flat', cmap=plt.cm.jet, latlon=True)

plt.savefig("data/tas1.png")
plt.show()

print("Question 2:")
from map_data import *
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
fig = plt.figure()
plt.title('Change in Surface Air Temperature from MOHC HadGEM2-ES')
m = Basemap(projection='cyl', llcrnrlat=-90, urcrnrlat=90, llcrnrlon=-180, urcrnrlon=180, resolution='c')

m.drawcoastlines()
m.drawparallels(np.arange(-90.,99.,30.))
m.drawmeridians(np.arange(-180.,180.,60.))
im1 = m.pcolormesh(lons, lats, tas, shading='flat', cmap=plt.cm.jet, latlon=True)
cb = m.colorbar(im1, "bottom", size="5%", pad="2%")

plt.savefig("data/tas2.png")
plt.show()
