You can run this notebook in a live session Binder or view it on Github.

Blank template

Use this notebook from Binder to test an issue or reproduce a bug report

[1]:
import xarray as xr
import numpy as np
import pandas as pd

ds = xr.tutorial.load_dataset("air_temperature")
da = ds["air"]
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
/build/python-xarray-G8o5tX/python-xarray-2022.06.0~rc1/xarray/tutorial.py in open_dataset(name, cache, cache_dir, engine, **kws)
    113     try:
--> 114         import pooch
    115     except ImportError as e:

ModuleNotFoundError: No module named 'pooch'

The above exception was the direct cause of the following exception:

ImportError                               Traceback (most recent call last)
/tmp/ipykernel_10989/2965999759.py in <module>
      3 import pandas as pd
      4
----> 5 ds = xr.tutorial.load_dataset("air_temperature")
      6 da = ds["air"]

/build/python-xarray-G8o5tX/python-xarray-2022.06.0~rc1/xarray/tutorial.py in load_dataset(*args, **kwargs)
    223     open_dataset
    224     """
--> 225     with open_dataset(*args, **kwargs) as ds:
    226         return ds.load()
    227

/build/python-xarray-G8o5tX/python-xarray-2022.06.0~rc1/xarray/tutorial.py in open_dataset(name, cache, cache_dir, engine, **kws)
    114         import pooch
    115     except ImportError as e:
--> 116         raise ImportError(
    117             "tutorial.open_dataset depends on pooch to download and manage datasets."
    118             " To proceed please install pooch."

ImportError: tutorial.open_dataset depends on pooch to download and manage datasets. To proceed please install pooch.
[ ]: