From aa0e01f3f6d3052c106934f8183c93cf5de37a60 Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:12:38 -0400 Subject: [PATCH] fix imports in notebooks --- docs/notebooks/extendxclim.ipynb | 2 +- docs/notebooks/sdba-advanced.ipynb | 2 +- docs/notebooks/sdba.ipynb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/notebooks/extendxclim.ipynb b/docs/notebooks/extendxclim.ipynb index a07a130ae..d6ef80233 100644 --- a/docs/notebooks/extendxclim.ipynb +++ b/docs/notebooks/extendxclim.ipynb @@ -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", diff --git a/docs/notebooks/sdba-advanced.ipynb b/docs/notebooks/sdba-advanced.ipynb index 71eb91e54..642811e90 100644 --- a/docs/notebooks/sdba-advanced.ipynb +++ b/docs/notebooks/sdba-advanced.ipynb @@ -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", diff --git a/docs/notebooks/sdba.ipynb b/docs/notebooks/sdba.ipynb index 45f4a53a3..72c7df816 100644 --- a/docs/notebooks/sdba.ipynb +++ b/docs/notebooks/sdba.ipynb @@ -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",