import numpy as np
import matplotlib.pyplot as plt
import netCDF4 as nc
%matplotlib inline
f=nc.Dataset('/data/eolson/results/MEOPAR/SS36runs/CedarRuns/t15r15DiatAlpha0/SalishSea_1h_20150220_20150410_ptrc_T_20150312-20150321.nc')
mesh=nc.Dataset('/ocean/eolson/MEOPAR/NEMO-forcing/grid/mesh_mask201702_noLPE.nc')
plt.pcolormesh(mesh.variables['tmask'][0,0,:,:])
<matplotlib.collections.QuadMesh at 0x7f3f51ff0c50>
plt.pcolormesh(np.mean(f.variables['diatoms'][:,:,200:400,100],0))
<matplotlib.collections.QuadMesh at 0x7f3f5162a588>
plt.pcolormesh(np.mean(f.variables['diatoms'][:,0,:,:],0))
plt.colorbar()
<matplotlib.colorbar.Colorbar at 0x7f3f425303c8>
plt.pcolormesh(np.mean(f.variables['flagellates'][:,0,:,:],0))
plt.colorbar()
<matplotlib.colorbar.Colorbar at 0x7f3f419f4198>