cngi.vis.apply_flags

apply_flags(mxds, vis, flags='FLAG')[source]

Apply flag variables to other data in Visibility Dataset

Parameters
  • mxds (xarray.core.dataset.Dataset) – input multi-xarray Dataset with global data

  • vis (str) – visibility partition in the mxds to use

  • flags (list or str) – data var name or list of names to use as flags. Default ‘FLAG’ uses the FLAG field

Returns

output multi-xarray Dataset with global data

Return type

xarray.core.dataset.Dataset