xarray-contrib / xarray-tutorial

Xarray Tutorials
https://tutorial.xarray.dev/
Apache License 2.0
166 stars 106 forks source link

fix double cell in advanced_indexing #249

Closed HoWol76 closed 4 months ago

HoWol76 commented 4 months ago

In the lesson on advanced indexing, there are two cells with the exact same contents:

target_lat = xr.DataArray([31, 41, 42, 42], dims="degrees_north")
target_lon = xr.DataArray([200, 201, 202, 205], dims="degrees_east")

da.sel(lat=target_lat, lon=target_lon, method="nearest")  # -- orthogonal indexing

(Cells [4] and [5])

I suspect that this was accidental, and I deleted one of them in this pull request.

review-notebook-app[bot] commented 4 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

dcherian commented 4 months ago

Wonderful, thank you!