[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#992999: ITP: unyt -- Python package for handling numpy arrays with units.



It would be good to clarify. There is another package I maintain in Debian, udunits, thats a C library but also provides a "canonical" units database. It would be good not to  duplicate (reuse libudunits-data in unyt etc ?)


On 26/08/2021 10:51, Ole Streicher wrote:
On 26.08.21 11:36, Alastair McKinstry wrote:
How does this interact with xarray, etc?

I don't know; the reason to package it is that it is a new requirement of the "yt" package. It was first developed within yt, and then separated. There is another attempt to use units in the "astropy" package; as far as I know they are not compatible.

A quick search however brings up

https://github.com/pydata/xarray/issues/525

with some long-lasting, unresolved discussion of the situation.

--
Alastair McKinstry, <alastair@sceal.ie>, <mckinstry@debian.org>, https://diaspora.sceal.ie/u/amckinstry
Misentropy: doubting that the Universe is becoming more disordered.


Reply to: