Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting multiple indexes per DataArray / Dataset #19

Open
benbovy opened this issue Oct 28, 2020 · 0 comments
Open

Allow setting multiple indexes per DataArray / Dataset #19

benbovy opened this issue Oct 28, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@benbovy
Copy link
Member

benbovy commented Oct 28, 2020

Currently we can only set one index (from a set of coordinates) per DataArray / Dataset object, using .xoak.set_index().

I wonder if there could be cases where we have in the same DataArray / Dataset two or more independent sets of coordinates for which we want to set an index. If yes, we could simply use a mapping of "coordinate set -> index" internally in the accessor, instead of only one index attribute.

@benbovy benbovy added the enhancement New feature or request label Dec 15, 2020
@benbovy benbovy added this to the 0.2.0 milestone Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant