In [1]:
%matplotlib inline
In [2]:
import numpy as np
import matplotlib.pyplot as plt

# Data from https://www.dropbox.com/s/xma4w540qa83sa6/data.txt
data= np.genfromtxt('/downloads/data.txt', usemask=True, missing_values='0.000000000000000000e+00')
lev = np.arange(0.5,8.6,1)
lon, lat = np.meshgrid(np.linspace(-180, 180, 360), np.linspace(-90, 90, 180))
In [3]:
import cartopy.crs as ccrs
ax = plt.axes(projection=ccrs.Robinson())
plt.contourf(lon, lat, data[::-1], levels=lev, transform=ccrs.PlateCarree())
ax.coastlines()
plt.show()