NRAO Home > CASA > CASA Task Reference Manual

0.1.107 sdflagmanagerold

Requires:

Synopsis
ASAP SD task to manipulate flag version files

Description

Task sdflagmanagerold enables users to save the current flag information (both channel and row flags) in the given SD dataset out to a separate ’flag version file’. In the current implementation, sdflagmanagerold calls flagmanager internally, so these flag version files are copies of the flag columns for a measurement set actually. They can be restored to the data set to obtain a previous flag version. Users can also list, delete and rename flag version files using sdflagmanagerold. It is wise to save a flagversion at the beginning or after serious editing.

Arguments





Inputs

infile

name of input SD dataset (ASAP scantable)

allowed:

string

Default:

mode

operation mode

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

 
Keyword arguments:  
infile -- name of input SD dataset  
        default: ’’  
        example: infile=’ngc5921.asap’  
mode -- Flag version operation  
        default: ’list’;   to list existing flagtables  
                 ’save’    to copy flag columns of infile to a flag file  
                 ’restore’ to place the specified flag file into infile  
                 ’delete’  to delete the specified flag file  
                 ’rename’  to rename the specified flag file  
    >>> mode expandable parameters  
        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