Skip to content

Commit

Permalink
keep indexes in lat lon selection to dodge pydata#9475
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNicholas committed Oct 6, 2024
1 parent 35ab311 commit 6db4a0b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions doc/user-guide/hierarchical-data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -788,12 +788,10 @@ We can also still perform all the same operations on the whole tree:
.. ipython:: python
:okexcept:
dt.sel(lat=75, lon=300)
dt.sel(lat=[75], lon=[300])
dt.std(dim="time")
(TODO: The first one repeats coordinates in the result due to https://github.com/pydata/xarray/issues/9475)

(TODO: The second one fails due to https://github.com/pydata/xarray/issues/8949)

.. _overriding-inherited-coordinates:
Expand Down

0 comments on commit 6db4a0b

Please sign in to comment.