In order to assist in developing data-source agnostic utilities, it would be useful to support xds_to_storage as the complement of xds_from_storage. Practically, this would only support round trips to the same format i.e. casa to casa, or zarr to zarr. The advantage of having this functionality is that software written with dask-ms could avoid some complexity when dealing with outputs.
An important caveat - the intention would not be to support creating new output datasets either. The goal is simply to read/write to/from a dataset in a way which is format agnostic.
Description
In order to assist in developing data-source agnostic utilities, it would be useful to support
xds_to_storage
as the complement ofxds_from_storage
. Practically, this would only support round trips to the same format i.e. casa to casa, or zarr to zarr. The advantage of having this functionality is that software written with dask-ms could avoid some complexity when dealing with outputs.