diff --git a/docs/notebooks/4_ensembles.ipynb b/docs/notebooks/4_ensembles.ipynb index fe595372..97b444dd 100644 --- a/docs/notebooks/4_ensembles.ipynb +++ b/docs/notebooks/4_ensembles.ipynb @@ -41,9 +41,7 @@ "outputs": [], "source": [ "import xarray as xr\n", - "\n", - "# from xclim.testing.utils import nimbus\n", - "from xclim.testing import open_dataset\n", + "from xclim.testing.utils import nimbus\n", "\n", "import xscen as xs\n", "\n", @@ -56,9 +54,10 @@ "}\n", "\n", "for d in datasets:\n", - " # file = nimbus().fetch(datasets[d]) # There is currently a bug in xclim 0.53.2\n", - " # ds = xr.open_dataset(file).isel(lon=slice(0, 4), lat=slice(0, 4))\n", - " ds = open_dataset(datasets[d]).isel(lon=slice(0, 4), lat=slice(0, 4))\n", + " file = nimbus(repo=\"https://github.com/Ouranosinc/xclim-testdata\").fetch(\n", + " datasets[d]\n", + " )\n", + " ds = xr.open_dataset(file).isel(lon=slice(0, 4), lat=slice(0, 4))\n", " ds = xs.climatological_op(\n", " ds,\n", " op=\"mean\",\n",