amc.checkFieldTable(vis)There is a companion function which will check multiple measurement sets as listed in a file:
amc.checkFieldTables(file, verbose=True)verbose: set to False to only show measurements sets with offending field names.
CASA <5>: amc.checkFieldTable('uid___A002_X5f10e4_X501.ms') Out[5]: {'3c279': array([1, 3], dtype=int32)}-- ToddHunter - 2013-07-11