-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
I get the following warning in several contexts:
FutureWarning: the signature ``pint_xarray.index.PintIndex.equals(self, other)`` is deprecated. Please update it to ``pint_xarray.index.PintIndex.equals(self, other, *, exclude=None)`` or kindly ask the maintainers of ``{index_cls_name}`` to do it. See documentation of xarray.Index.equals() for more info.
This is the calculation that caused it:
fp["particle_locations_w"] * bc["vmr_w"] * loss_w
Here fp
, bc
, and loss_w
are quantified.
It also happens when just dequantifying, e.g. this line:
result = cast(xr.Dataset, xr.Dataset(sensitivities).pint.dequantify())
This is with:
Pint 0.24.4
pint-xarray 0.5.1
xarray 2025.6.1
Metadata
Metadata
Assignees
Labels
No labels