Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix double cell in advanced_indexing #249

Merged
merged 3 commits into from
Feb 26, 2024

Conversation

HoWol76
Copy link
Contributor

@HoWol76 HoWol76 commented Feb 26, 2024

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.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@dcherian
Copy link
Contributor

Wonderful, thank you!

@dcherian dcherian enabled auto-merge (squash) February 26, 2024 23:56
@dcherian dcherian merged commit 639e476 into xarray-contrib:main Feb 26, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants