ratt-ru / shadeMS

Rapid Measurement Set plotting with dask-ms and datashader
21 stars 6 forks source link

Use dask arrays in dask ufuncs to avoid nan chunking behaviour #89

Closed sjperkins closed 3 years ago

sjperkins commented 3 years ago

Dask ufuncs seem to produce nan chunks when given xarray DataArrays even when this shouldn't strictly happen. Use dask arrays in dask ufuncs to circumvent this.

sjperkins commented 3 years ago

/cc @o-smirnov @rubyvanrooyen

o-smirnov commented 3 years ago

Thanks! Going to supersede this with #90 (so as to unpin the dask version while we're at it), also because it's easier for me to test main repo branches inside containers.