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

fixing kwargs behaviour when opening datatree stored in zarr #328

Closed
wants to merge 10 commits into from

Conversation

aladinor
Copy link

@aladinor aladinor commented Apr 4, 2024

Copy link
Collaborator

@TomNicholas TomNicholas left a comment

Choose a reason for hiding this comment

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

Thanks for this @aladinor !

Would it be easy to add a test that checks the .chunks are as you expect them to be?

Comment on lines +111 to +117
v int64 8B 1

Data in nodes at position '/a/b' do not match:

Differing data variables:
L w int64 5
R w int64 6"""
L w int64 8B 5
R w int64 8B 6"""
Copy link
Collaborator

Choose a reason for hiding this comment

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

This difference is due to a newer version of xarray - v2024.2.0. Technically I guess we should pin to that version to match this change?

@TomNicholas
Copy link
Collaborator

Test looks great @aladinor - I think the error is just because dask is not installed in the test environment.

@aladinor
Copy link
Author

aladinor commented Apr 5, 2024

Thanks @TomNicholas. Should we include it? do you think we can merge without passing the checks?

@TomNicholas
Copy link
Collaborator

Just try adding it to the environment.yml file and see if the automated checks pass.

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.

open_datatree() from zarr creates issues with kwargs
2 participants