Xarray Quadmesh#

Download this notebook from GitHub (right-click to download).


import xarray as xr
import cartopy.crs as ccrs
import geoviews as gv

gv.extension('matplotlib')
gv.output(fig='svg', size=300)

Define data#

tiles = gv.tile_sources.EsriImagery
rasm = xr.tutorial.open_dataset('rasm').load()
qmeshes = gv.Dataset(rasm.Tair[::4, ::3, ::3]).to(gv.QuadMesh, groupby='time')

Plot#

tiles.opts(zoom=1) * qmeshes.opts(projection=ccrs.GOOGLE_MERCATOR)