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)
This web page was generated from a Jupyter notebook and not all interactivity will work on this website. Right click to download and run locally for full Python-backed interactivity.

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