Skip to content

Commit

Permalink
fix double cell in advanced_indexing (#249)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
HoWol76 and pre-commit-ci[bot] authored Feb 26, 2024
1 parent caf9db7 commit 639e476
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions intermediate/indexing/advanced-indexing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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": {},
Expand Down

0 comments on commit 639e476

Please sign in to comment.