From 639e47609747f556caa4cb4e0356cefed03e83c3 Mon Sep 17 00:00:00 2001 From: HoWol76 Date: Tue, 27 Feb 2024 10:58:02 +1100 Subject: [PATCH] fix double cell in advanced_indexing (#249) * fix double cell in advanced_indexing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- intermediate/indexing/advanced-indexing.ipynb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/intermediate/indexing/advanced-indexing.ipynb b/intermediate/indexing/advanced-indexing.ipynb index 7caf8d09..2665b5dd 100644 --- a/intermediate/indexing/advanced-indexing.ipynb +++ b/intermediate/indexing/advanced-indexing.ipynb @@ -107,18 +107,6 @@ "da.sel(lat=target_lat, lon=target_lon, method=\"nearest\") # -- orthogonal indexing" ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "target_lat = xr.DataArray([31, 41, 42, 42], dims=\"degrees_north\")\n", - "target_lon = xr.DataArray([200, 201, 202, 205], dims=\"degrees_east\")\n", - "\n", - "da.sel(lat=target_lat, lon=target_lon, method=\"nearest\") # -- orthogonal indexing" - ] - }, { "cell_type": "markdown", "metadata": {},