Data Input / OutputΒΆ

Most CNGI functions operate on xarray Datasets while the data is stored on disk in Zarr format. These functions allow the transition back and forth between the two.

To access these functions, use your favorite variation of: import cngi.dio

describe_vis

Summarize the contents of a zarr format Visibility directory on disk

read_image

Read xarray zarr format image from disk

read_vis

Read zarr format Visibility data from disk to xarray Dataset

write_image

Write image dataset to xarray zarr format on disk

write_vis

Write xarray Visibility Dataset to zarr format on disk