Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1616,6 +1616,7 @@ These classes are building blocks for more complex Indexes:
indexes.CoordinateTransform
indexes.CoordinateTransformIndex
indexes.NDPointIndex
indexes.TreeAdapter

The Index base class for building custom indexes:

Expand Down
28 changes: 14 additions & 14 deletions doc/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,25 @@ What's New

.. _whats-new.2025.07.1:

v2025.07.1 (unreleased)
-----------------------
v2025.07.1 (July 10, 2025)
Comment thread
dcherian marked this conversation as resolved.
Outdated
--------------------------

This release brings a lot of improvements to flexible indexes functionality, including new classes
to ease building of new indexes with custom coordinate transforms (:py:class:`indexes.CoordinateTransformIndex`)
and tree-like index structures (:py:class:`indexes.NDPointIndex`).
See a `new gallery <https://xarray-indexes.readthedocs.io>`_ showing off the possibilities enabled by flexible indexes.

Thanks to the 7 contributors to this release:
Benoit Bovy, Deepak Cherian, Dhruva Kumar Kaushal, Dimitri Papadopoulos Orfanos, Illviljan, Justus Magin and Tom Nicholas

New Features
~~~~~~~~~~~~
- New :py:class:`xarray.indexes.NDPointIndex`, which by default uses :py:class:`scipy.spatial.KDTree` under the hood for
the selection of irregular, n-dimensional data (:pull:`10478`).
By `Benoit Bovy <https://github.com/benbovy>`_.
- Allow skipping the creation of default indexes when opening datasets (:pull:`8051`).
By `Benoit Bovy <https://github.com/benbovy>`_ and `Justus Magin <https://github.com/keewis>`_.

Breaking changes
~~~~~~~~~~~~~~~~


Deprecations
~~~~~~~~~~~~


Bug fixes
~~~~~~~~~

Expand All @@ -35,7 +38,7 @@ Bug fixes

Documentation
~~~~~~~~~~~~~

- A `new gallery <https://xarray-indexes.readthedocs.io>`_ showing off the possibilities enabled by flexible indexes.

Internal Changes
~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -63,9 +66,6 @@ New Features

- Expose :py:class:`~xarray.indexes.RangeIndex`, and :py:class:`~xarray.indexes.CoordinateTransformIndex` as public api
under the ``xarray.indexes`` namespace. By `Deepak Cherian <https://github.com/dcherian>`_.
- New :py:class:`xarray.indexes.NDPointIndex`, which by default uses :py:class:`scipy.spatial.KDTree` under the hood for
the selection of irregular, n-dimensional data (:pull:`10478`).
By `Benoit Bovy <https://github.com/benbovy>`_.
- Support zarr-python's new ``.supports_consolidated_metadata`` store property (:pull:`10457``).
by `Tom Nicholas <https://github.com/TomNicholas>`_.
- Better error messages when encoding data to be written to disk fails (:pull:`10464`).
Expand Down
3 changes: 2 additions & 1 deletion xarray/indexes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
PandasIndex,
PandasMultiIndex,
)
from xarray.indexes.nd_point_index import NDPointIndex
from xarray.indexes.nd_point_index import NDPointIndex, TreeAdapter
from xarray.indexes.range_index import RangeIndex

__all__ = [
Expand All @@ -21,4 +21,5 @@
"PandasIndex",
"PandasMultiIndex",
"RangeIndex",
"TreeAdapter",
]
Loading