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-7Xb3Mc/python-xarray-2022.06.0/xarray/tutorial.py in open_dataset(name, cache, cache_dir, engine, **kws)
    123     try:
--> 124         import pooch
    125     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_233974/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-7Xb3Mc/python-xarray-2022.06.0/xarray/tutorial.py in load_dataset(*args, **kwargs)
    261     load_dataset
    262     """
--> 263     with open_dataset(*args, **kwargs) as ds:
    264         return ds.load()
    265

/build/python-xarray-7Xb3Mc/python-xarray-2022.06.0/xarray/tutorial.py in open_dataset(name, cache, cache_dir, engine, **kws)
    124         import pooch
    125     except ImportError as e:
--> 126         raise ImportError(
    127             "tutorial.open_dataset depends on pooch to download and manage datasets."
    128             " To proceed please install pooch."

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