NRAO Home > CASA > CASA Cookbook and User Reference Manual
3.5.2.3 List flags — action=’list’

The ’list’ option will give a listing of the flagging commands. This choice opens the sub-parameters:

action              =     ’list’        #  Action to perform in MS and/or in inpfile  
                                        # (apply/unapply/list/plot/clear/extract)  
savepars            =       True        #  Save flag commands to the MS or to a file  
     outfile        =         ’’        #  Name of output file to save commands

This action lists the commands on the screen without applying them. One can save the flagging script to an file specified in the outfile parameter when savepars=True. If outfile is empty, it will save the commands to the MS given in vis.

The format of the listing output depends on the source of the flagging commands. A set of flagging commands specified through inpmode=’file’ or ’cmd’ will be listed directly. The flagging commands extracted through inpmode=’table’ will reflect the columns in the table:

        ’Row’, ’Timerange’, ’Reason’, ’Type’, ’Applied’, ’Lev’, ’Sev’, ’Command’

while commands from inpmode=’xml’ will be shown with the SDM XML table fields:

        ’Key’, ’FlagID’, ’Antenna’, ’Reason’, ’Timerange’


More information about CASA may be found at the CASA web page

Copyright © 2010 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search