Skip to content

Commit f5140eb

Browse files
author
adam
committed
py-xarray: updated to 2025.7.1
v2025.07.1 (July 09, 2025) 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>`_. Bug fixes - :py:meth:`Dataset.set_xindex` now raises a helpful error when a custom index creates extra variables that don't match the provided coordinate names, instead of silently ignoring them. The error message suggests using the factory method pattern with :py:meth:`xarray.Coordinates.from_xindex` and :py:meth:`Dataset.assign_coords` for advanced use cases (:issue:`10499`). By `Dhruva Kumar Kaushal <https://github.com/dhruvak001>`_. Documentation - A `new gallery <https://xarray-indexes.readthedocs.io>`_ showing off the possibilities enabled by flexible indexes. Internal Changes - Refactored the ``PandasIndexingAdapter`` and ``CoordinateTransformIndexingAdapter`` internal indexing classes. Coordinate variables that wrap a :py:class:`pandas.RangeIndex`, a :py:class:`pandas.MultiIndex` or a :py:class:`xarray.indexes.CoordinateTransform` are now displayed as lazy variables in the Xarray data reprs (:pull:`10355`). By `Benoit Bovy <https://github.com/benbovy>`_.
1 parent 424af9f commit f5140eb

3 files changed

Lines changed: 13 additions & 7 deletions

File tree

math/py-xarray/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# $NetBSD: Makefile,v 1.34 2025/07/03 19:18:11 wiz Exp $
1+
# $NetBSD: Makefile,v 1.35 2025/07/17 08:20:10 adam Exp $
22

3-
DISTNAME= xarray-2025.6.1
3+
DISTNAME= xarray-2025.7.1
44
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
55
CATEGORIES= math python
66
MASTER_SITES= ${MASTER_SITE_PYPI:=x/xarray/}

math/py-xarray/PLIST

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@comment $NetBSD: PLIST,v 1.18 2025/06/13 07:28:47 adam Exp $
1+
@comment $NetBSD: PLIST,v 1.19 2025/07/17 08:20:10 adam Exp $
22
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
33
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
44
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -254,6 +254,9 @@ ${PYSITELIB}/xarray/groupers.pyo
254254
${PYSITELIB}/xarray/indexes/__init__.py
255255
${PYSITELIB}/xarray/indexes/__init__.pyc
256256
${PYSITELIB}/xarray/indexes/__init__.pyo
257+
${PYSITELIB}/xarray/indexes/nd_point_index.py
258+
${PYSITELIB}/xarray/indexes/nd_point_index.pyc
259+
${PYSITELIB}/xarray/indexes/nd_point_index.pyo
257260
${PYSITELIB}/xarray/indexes/range_index.py
258261
${PYSITELIB}/xarray/indexes/range_index.pyc
259262
${PYSITELIB}/xarray/indexes/range_index.pyo
@@ -515,6 +518,9 @@ ${PYSITELIB}/xarray/tests/test_missing.pyo
515518
${PYSITELIB}/xarray/tests/test_namedarray.py
516519
${PYSITELIB}/xarray/tests/test_namedarray.pyc
517520
${PYSITELIB}/xarray/tests/test_namedarray.pyo
521+
${PYSITELIB}/xarray/tests/test_nd_point_index.py
522+
${PYSITELIB}/xarray/tests/test_nd_point_index.pyc
523+
${PYSITELIB}/xarray/tests/test_nd_point_index.pyo
518524
${PYSITELIB}/xarray/tests/test_nputils.py
519525
${PYSITELIB}/xarray/tests/test_nputils.pyc
520526
${PYSITELIB}/xarray/tests/test_nputils.pyo

math/py-xarray/distinfo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.24 2025/06/13 07:28:47 adam Exp $
1+
$NetBSD: distinfo,v 1.25 2025/07/17 08:20:10 adam Exp $
22

3-
BLAKE2s (xarray-2025.6.1.tar.gz) = bbc5e937931fa582b16021307c67ad241567da303a8c243e9b16791a9d2041f1
4-
SHA512 (xarray-2025.6.1.tar.gz) = 4fc7980f843f86c8e83015fbf9ea2c8440b046faaa1589a605cf1e2f64f9380e28e157c8afda5c0058b3fe8cfe01122ba8582f5d61b9f0eabdf7107ce6d81c0c
5-
Size (xarray-2025.6.1.tar.gz) = 3003185 bytes
3+
BLAKE2s (xarray-2025.7.1.tar.gz) = f2ae8297843b7f1e0a75fdb5847ba365219aa22c3f8ca673a380ec9731281514
4+
SHA512 (xarray-2025.7.1.tar.gz) = 446e50cfa16a3ba54124dc9417203ea96f6232e05515de38dc191b06ee417e165fd2faefaf4718eddb9620d32675abc6c2125ac7555759eb003263a70662cb7e
5+
Size (xarray-2025.7.1.tar.gz) = 3013717 bytes

0 commit comments

Comments
 (0)