Gridded Datasets I#
GeoViews is designed to make full use of multidimensional gridded datasets stored in netCDF or other common formats, via the xarray and iris interfaces in HoloViews. This notebook will demonstrate how to load data using both of these data backends, along with some of their individual quirks. The data used in this notebook was originally shipped as part of the
SciTools/iris-sample-data repository, but a smaller netCDF file is included as part of the GeoViews so that it can be used with xarray as well.
import iris import numpy as np import xarray as xr import holoviews as hv import geoviews as gv import geoviews.feature as gf from cartopy import crs from geoviews import opts gv.extension('matplotlib') gv.output(size=150)