dask: Fix for cached elements from size-0 arrays by davidhassell · Pull Request #510 · NCAS-CMS/cf-python

@davidhassell

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

@davidhassell

sadielbartholomew

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.