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

Add dimension_names array metadata field #162

Merged
merged 7 commits into from
Jan 23, 2023

Conversation

jbms
Copy link
Contributor

@jbms jbms commented Nov 2, 2022

No description provided.

@jstriebel
Copy link
Member

Fixes #73

docs/core/v3.0.rst Outdated Show resolved Hide resolved
docs/core/v3.0.rst Outdated Show resolved Hide resolved
@jstriebel
Copy link
Member

Crosslinking #149 (comment)

@jstriebel jstriebel self-requested a review December 15, 2022 17:13
rabernat
rabernat previously approved these changes Dec 15, 2022
jstriebel
jstriebel previously approved these changes Dec 19, 2022
Copy link
Member

@jstriebel jstriebel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@jstriebel jstriebel dismissed stale reviews from rabernat and themself via 62700ed December 19, 2022 10:13
jstriebel
jstriebel previously approved these changes Dec 19, 2022
@jstriebel
Copy link
Member

@rabernat I just resolved a merge conflict which dismissed our old reviews, and mine doesn't count anymore. Could you re-approve this one please? Thanks :-)

@shoyer
Copy link

shoyer commented Dec 19, 2022

I don't mean to hold things up with bike-shedding, but did we reach concensus on using "" vs null for missing dimension names?

@jbms
Copy link
Contributor Author

jbms commented Dec 19, 2022

I don't mean to hold things up with bike-shedding, but did we reach concensus on using "" vs null for missing dimension names?

Is your intention to allow the empty string as a valid dimension name distinct from null, and not meaning an unlabeled dimension?

@shoyer
Copy link

shoyer commented Dec 19, 2022

I don't mean to hold things up with bike-shedding, but did we reach concensus on using "" vs null for missing dimension names?

Is your intention to allow the empty string as a valid dimension name distinct from null, and not meaning an unlabeled dimension?

My thinking was that null instead of a string would indicate missing dimension names, with no special meaning for empty strings.

I prefer null because it's less ambiguous from a typing perspective -- if somebody writes code that doesn't anticipate partially missing dimension names, it will fail noisily rather than silently.

@jstriebel
Copy link
Member

@jbms As discussed last week, I changed this here to use null objects for unnamed dimensions, as requested by @shoyer. I believe this is ready to be merged now. My approval does not count anymore since I did some changes, @joshmoore could you approve this one?

@rabernat
Copy link
Contributor

I got you @jstriebel! 🚀

@rabernat rabernat merged commit 1a7f861 into zarr-developers:main Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants