Replies: 6 comments 8 replies
-
Amazing - I'm very happy that this is starting to happen. It always felt a bit "off" how xarray was implementing different duck array backends. Having this be a usable middle-layer will be quite amazing, especially for use in probabilistic programming + pytorch. Regarding |
Beta Was this translation helpful? Give feedback.
-
is there consideration of non-explicit coordinate "labelling"? i.e just an extent of a dimension (min, max edge to edge) and not degenerate rectilinear coord arrays and their various entropy-issues. It could be a transform per dimension (offset,scale,[shear relative to other dim/s) which generalizes to nd, or just a special case extent for always regular grids. 🙏 |
Beta Was this translation helpful? Give feedback.
-
Are there considerations to allow more than one dimension with the same name? E.g. for a variance covariance matrix? |
Beta Was this translation helpful? Give feedback.
-
Have there been any discussions about (not) including See our summary: https://scipp.github.io/reference/developer/adr/0016-do-not-support-attrs.html I think this was obviously a controversial decision since it impacts our users, and we are not at the point yet where I could claim that we have completed a successful transition. |
Beta Was this translation helpful? Give feedback.
-
A recent message on the Xarray mailing list about using Xarray as a low level library makes me wonder: would it be worth exposing somewhere a simpler version of I don't think it would be easy moving all I/O backend logic along with NamedArray if eventually it gets factored out in a separate package. Would it be easier to refactor that into another |
Beta Was this translation helpful? Give feedback.
-
I already mentioned it in data-apis/array-api#698 (comment), but what I think that would be nice to have is a NamedArray (or more generally a MetadataArray?) that wraps arrays following the array API standard and its fully-compliant with the array API standard, adding named dimensions/coordinates (and maybe additional metadata) on top. Apparently, this will not be the case for the proposal here, because it will broadcast by dimension name (which I think is a mistake for many use cases). |
Beta Was this translation helpful? Give feedback.
-
A place to collect community feedback on the NamedArray design doc
Beta Was this translation helpful? Give feedback.
All reactions