In [1]:
import netCDF4 as nc
import matplotlib.pyplot as plt
%matplotlib inline
In [2]:
f = nc.Dataset('/home/vdo/Downloads/all_years.nc')
In [3]:
for n in range(4):
    fig, ax = plt.subplots()
    b =ax.pcolormesh(f.variables['deep_vosaline'][n,...])
    fig.colorbar(b, ax=ax)
In [4]:
for n in range(4):
    fig, ax = plt.subplots()
    b =ax.pcolormesh(f.variables['deep_votemper'][n,...])
    fig.colorbar(b, ax=ax)
In [5]:
for n in range(4):
    fig, ax = plt.subplots()
    b =ax.pcolormesh(f.variables['top_vosaline'][n,...])
    fig.colorbar(b, ax=ax)
In [6]:
for n in range(4):
    fig, ax = plt.subplots()
    b =ax.pcolormesh(f.variables['top_votemper'][n,...])
    fig.colorbar(b, ax=ax)
In [ ]: