ms_to_zarr_numba

ms_to_zarr_numba(infile, outfile=None, ddi=None, compressor=None)[source]

Convert legacy format MS to xarray Visibility Dataset compatible zarr format

This function requires CASA6 casatools module.

Parameters
  • infile (str) – Input MS filename

  • outfile (str) – Output zarr filename. If None, will use infile name with .vis.zarr extension

  • ddi (int) – Specific ddi to convert. Leave as None to convert entire MS

  • compressor (blosc) – The blosc compressor to use when saving the converted data to disk using zarr. If None the zstd compression algorithm used with compression level 2.