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

Fix bug when running with Kerchunk #297

Merged
merged 1 commit into from
Sep 4, 2023
Merged

Fix bug when running with Kerchunk #297

merged 1 commit into from
Sep 4, 2023

Conversation

tomwhite
Copy link
Member

@tomwhite tomwhite commented Sep 4, 2023

This change allows Cubed to read a kerchunk-ed dataset. See cubed-dev/cubed-xarray#7

Without this fix the code will attempt to materialize the data instance variable of Xarray Variable types, when hasattr(arr, "data") is called. This change makes the check for Cubed arrays in Xarray DataArrays explicit.

@tomwhite tomwhite merged commit a753b92 into main Sep 4, 2023
6 checks passed
@tomwhite tomwhite deleted the kerchunk-fix branch September 4, 2023 13:39
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.

1 participant