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

MNT: Update enum parsing #68

Merged
merged 2 commits into from
Feb 7, 2024
Merged

MNT: Update enum parsing #68

merged 2 commits into from
Feb 7, 2024

Conversation

bzah
Copy link
Collaborator

@bzah bzah commented Feb 6, 2024

  • Include documentation when adding new features.
  • Include new tests or update existing tests when applicable.

[summarize your pull request here]

This PR modify xncml's enums parsing behavior to be aligned with what xarray does: pydata/xarray#8147

This aligns xncml enum parsing behavior with xarray's
netCDF4 backend behavior.
Copy link
Collaborator

@huard huard left a comment

Choose a reason for hiding this comment

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

Do we need to pin xarray to a specific version ?

@bzah
Copy link
Collaborator Author

bzah commented Feb 7, 2024

No need to pin xarray, the metadata added to the dtype here would just be ignored in older versions of xarray.

@bzah bzah merged commit 29a0a69 into main Feb 7, 2024
6 checks passed
@bzah bzah deleted the enh/enums branch February 7, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants