NRAO Home > CASA > CASA Task Reference Manual

0.1.30 flagmanager

Requires:

Synopsis
Enable list, save, restore, delete and rename flag version files.

Description

These flag version files are copies of the flag column for a measurement set. They can be restored to the data set to get back to a previous flag version. On running importvla, a flag version call ’Original’ is automatically produced.

Arguments





Inputs

vis

Name of input visibility file (MS)

allowed:

string

Default:

mode

Operation: list, save, restore, delete, rename

allowed:

string

Default:

list

versionname

Flag version name

allowed:

string

Default:

oldname

Flag version to rename

allowed:

string

Default:

comment

Short description of a versionname

allowed:

string

Default:

merge

Merge option: replace will save or over-write the flags

allowed:

string

Default:

replace

Returns
void

Example

 
 
 
        The flag version files are copies of the FLAG column of a  
        Measurement Set. They can be restored to the data set to obtain  
        a previous flag version.  On running importasdm, a flag  
        version called ’Original’ is produced by default.  It is recommended to  
        save a flagversion at the beginning or after serious editing.  
 
        Keyword arguments:  
        vis -- Name of input visibility file  
                default: none. example: vis=’ngc5921.ms’  
 
        mode -- Flag version operation  
                default: ’list’; to list existing flagtables  
 
                ’save’: will save the FLAG column from vis to a specified flag file. If the name given  
                        in versionname already exists, the task will give a warning and rename it  
                        to a name with a suffix ’.old.timestamp’. The respective entry in FLAG_VERSION_LIST  
                        will also be updated.  
 
                ’restore’: will place the specified flag file into vis  
 
                ’delete’: will delete specified flag file  
 
                ’rename’: will rename a specified flag file  
 
        versionname -- Flag version name  
                default: none; example: versionname=’original_data’  
                No imbedded blanks in the versionname  
 
        comment -- Short description of a versionname, when mode is ’save’ or ’rename’  
                default: ’’; example: comment=’Clip above 1.85’  
                comment = versionname  
 
        oldname -- When mode=’rename’, the flag file to rename  
 
        merge -- Merge operation  
                Options: ’or’,’and’, but not recommended for now.  
 


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

Copyright © 2016 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