Skip to content

Commit

Permalink
fix imports in notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Aug 28, 2024
1 parent f652b75 commit aa0e01f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/notebooks/extendxclim.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@
"metadata": {},
"outputs": [],
"source": [
"from xclim.testing.helpers import open_dataset\n",
"from xclim.testing import open_dataset\n",
"\n",
"ds = open_dataset(\"ERA5/daily_surface_cancities_1990-1993.nc\")\n",
"with xr.set_options(keep_attrs=True):\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/sdba-advanced.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@
"\n",
"import xclim.sdba as sdba\n",
"from xclim.core.units import convert_units_to\n",
"from xclim.testing.helpers import open_dataset\n",
"from xclim.testing import open_dataset\n",
"\n",
"group = sdba.Grouper(\"time.dayofyear\", window=31)\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/sdba.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@
"import numpy as np\n",
"\n",
"from xclim.core.units import convert_units_to\n",
"from xclim.testing.helpers import open_dataset\n",
"from xclim.testing import open_dataset\n",
"\n",
"dref = open_dataset(\"sdba/ahccd_1950-2013.nc\", drop_variables=[\"lat\", \"lon\"]).sel(\n",
" time=slice(\"1981\", \"2010\")\n",
Expand Down

0 comments on commit aa0e01f

Please sign in to comment.