ratt-ru / dask-ms

Implementation of a dask/xarray dataset backed by a CASA MS

Home Page:https://dask-ms.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make xarray a default dependency

JSKenyon opened this issue · comments

Description

I believe that the time may have come to make xarray a core dependency rather than an extra. At present, it is optional as dask-ms implements its own stripped down Dataset. Unfortunately, this is introducing more and more maintenance as these stripped down Dataset objects do not implement a host of xarray.Dataset functionality. This means that writing tests can become frustrating as you have to write the tests anticipating two different Dataset implementations (or skip the tests entirely in the absence of xarray, somewhat defeating the point of writing tests). I am personally of the opinion that the xarray.Dataset representation should be fundamental to dask-ms, even if it is less lightweight.

The purpose of this issue is discussion - does anyone object?

From offline discussion with Simon I now know that xova relies on the daskms.Dataset. I will continue to think about this as we don't want to break anything.