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

dask: Fix for cached elements from size-0 arrays #510

Merged

Conversation

davidhassell
Copy link
Collaborator

During cf.read, prevents cached data elements from being gleaned from size-0 arrays. Allows read_writeTest.test_read_broken_bounds to pass.

Copy link
Member

@sadielbartholomew sadielbartholomew left a comment

Choose a reason for hiding this comment

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

Justified change, with a nice clear comment to broadcast as such, confirmed as working for me locally (test_read_write.py now passes fully so we can mark that as passing now on #428!). Lovely, please merge.

@davidhassell davidhassell merged commit 89522bc into NCAS-CMS:lama-to-dask Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dask Relating to the use of Dask low priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants