cngi.conversion.read_table
¶
-
read_table
(infile, subtable=None, timecols=None, ignorecols=None)[source]¶ Read generic casacore table format to xarray Dataset
- Parameters
infile (str) – Input table filename
subtable (str) – Name of the subtable to process. If None, main table will be used
timecols (list) – list of strings specifying column names to convert to datetime format from casacore time. Default is None
ignorecols (list) – list of column names to ignore. This is useful if a particular column is causing errors. Default is None
- Returns
New xarray Dataset of table data contents. One element in list per DDI plus the metadata global.
- Return type
New xarray.core.dataset.Dataset