[daip] Flagging with VPLOT

Andrew Biggs abiggs at eso.org
Thu Sep 1 09:33:11 EDT 2011


Hi there. I'm trying to flag some GMRT data using VPLOT, but this is failing with the following error message:

localh> VPLOT1: Task VPLOT  (release of 31DEC11) begins
localh> VPLOT1: Copied FG file from vol/cno/vers  2    3   5 to  2    3   6
localh> VPLOT1: Averaging from channel    1- 128
localh> VPLOT1: ZOPEN: LUN = 30 ALREADY OPENED IN FTAB
localh> VPLOT1: TABINI: I/O ERROR FROM ISTAB ON AN
localh> VPLOT1: UVGET: SUBARRAY  1 ERROR   3 OPENING AN TABLE
localh> VPLOT1: SCALVB: ERROR  3 INIT VIS FILE
localh> VPLOT1: Appears to have ended successfully
localh> VPLOT1: pc016987 31DEC11 TST: Cpu=      0.8  Real=      2  IO=       173

I only get this if I set APARM(1) = 1 - otherwise VPLOT works very well. I tried restarting AIPS, but this didn't help. I've attached my inputs below - sorry for the bad formatting.

By the way, it seems that the ability to flag data points per baseline/IF/pol based on the deviation of a single data point from a nearby average in sigma units is only offered by VPLOT. Is this correct? FLAGR offers similar functionality, but not this specific one which I personally would find very useful.

Thanks,

Andy

AIPS 1: VPLOT     Plots data from a u,v data base, model from a CC file
AIPS 1: Adverbs     Values                 Comments
AIPS 1: ----------------------------------------------------------------
AIPS 1: USERID        0                    File owner number - ignored
AIPS 1: INNAME     'EGS_N3'                Input UV file name (name)
AIPS 1: INCLASS    'UVDATA'                Input UV file name (class)
AIPS 1: INSEQ         1                    Input UV file name (seq. #)
AIPS 1: INDISK        2                    Input UV file disk unit #
AIPS 1: IN2NAME    ' '                     Input CC file name (name)
AIPS 1: IN2CLASS   ' '                     Input CC file name (class)
AIPS 1: IN2SEQ        0                    Input CC file name (seq. #)
AIPS 1: IN2DISK       0                    Input CC file disk unit #
AIPS 1: IN2VERS       0                    Input CC file version #
AIPS 1: NCOMP      *all 0                  # comps to use for model.
AIPS 1:                                    1 value per field
AIPS 1:                                    total 200000 CCs maximum
AIPS 1: FLUX          0                    Lowest CC component used.
AIPS 1: NMAPS         0                    # clean maps (fields).
AIPS 1:                                    0 => no model
AIPS 1:                                    >0 => model at samples
AIPS 1:                                    <0 => model smoothly
AIPS 1:                                    Data selection:
AIPS 1: SOURCES    '1400+621'              Source list
AIPS 1:            *rest ' '
AIPS 1: QUAL         -1                    Source qualifier -1=>all
AIPS 1: CALCODE    ' '                     Calibrator code '    '=>all
AIPS 1: SELBAND      -1                    Bandwidth to select (kHz)
AIPS 1: SELFREQ      -1                    Frequency to select (MHz)
AIPS 1: FREQID       -1                    Freq. ID to select.
AIPS 1: BCHAN         1                    Lowest channel number 0=>1
AIPS 1: ECHAN       128                    Highest channel number
AIPS 1: AVGCHAN       1                    > 0 => average BCHAN-ECHAN
AIPS 1: BIF           1                    Lowest IF number 0=>1
AIPS 1: EIF           2                    Highest IF number 0=>high
AIPS 1: AVGIF         0                    > 0 => average IFs
AIPS 1: CROWDED       3                    Plot chans/IFs together or
AIPS 1:                                    separately?  0 separate,
AIPS 1:                                    3 all together, 1 & 2 partly
AIPS 1: DO3COL        1                    Plot separate IFs in separate
AIPS 1:                                    colors.
AIPS 1: XINC          1                    Plot every XINC'th visibility
AIPS 1:                                    0 => 1
AIPS 1: UVRANGE       0           0        Range of projected spacings
AIPS 1:                                    (thousands of wavelengths)
AIPS 1: TIMERANG      0          23        Time: start day,hr,min,sec
AIPS 1:               0           0              stop day,hr,min,sec.
AIPS 1:               0          23          30           0
AIPS 1: STOKES     'RRLL'                  Stokes' parameters
AIPS 1: ANTENNAS     27        *rest 0     Antennas to be plotted
AIPS 1: BASELINE      1           2        Baselines with ANTENNAS
AIPS 1:               3           4        See explanation.
AIPS 1:               5        *rest 0
AIPS 1: DOCALIB       1                    > 0 calibrate data & weights
AIPS 1:                                    > 99 do NOT calibrate weights
AIPS 1: GAINUSE       0                    CL (or SN) table to apply
AIPS 1: DOPOL        -1                    If >0 correct polarization.
AIPS 1: PDVER         0                    PD table to apply (DOPOL>0)
AIPS 1: BLVER        -1                    BL table to apply.
AIPS 1: FLAGVER       0                    Flag table version
AIPS 1:                                    See explanation.
AIPS 1: ** press RETURN for more, enter Q or next line to quit print **
#
AIPS 1: DOBAND        3                    If >0 apply bandpass cal.
AIPS 1:                                    Method used depends on value
AIPS 1:                                    of DOBAND (see HELP file).
AIPS 1: BPVER         0                    Bandpass table version
AIPS 1: SMOOTH     *all 0                  Smoothing function. See
AIPS 1: SUBARRAY      0                    Subarray number 0=>1.
AIPS 1:                                    -1 => all, but beware!
AIPS 1: DOEBAR       -1                    If > 0, plot error bars,
AIPS 1:                                    else don't
AIPS 1: SOLINT        0.5                  Time over which to average
AIPS 1:                                    data before plotting (mins)
AIPS 1:                                    =0 => no averaging
AIPS 1:                                    >0 SOLINT=MIN(SOLINT, SCAN)
AIPS 1:                                    <0 SOLINT=ABS(SOLINT)
AIPS 1:                                       average through scans
AIPS 1: OPTYPE     ' '                     'AUTO' => autocorrelation
AIPS 1:                                     else  =>crosscorrelation
AIPS 1: OPCODE     ' '                     Type of plot:
AIPS 1:                                    'IFRA' => ratio BIF and EIF
AIPS 1:                                     else  => plot requested IF
AIPS 1: APARM         1           5        Control parameters
AIPS 1:            *rest 0                 1 : > 0 => edit bad
AIPS 1:                                        amplitude points.
AIPS 1:                                        BPARM(2)=0, or 1
AIPS 1:                                        = 0 => do not edit
AIPS 1:                                        bad amplitude points.
AIPS 1:                                        Number of averaged points
AIPS 1:                                        for each baseline has to
AIPS 1:                                        be more than 10.
AIPS 1:                                    2 : number of sigmas outside
AIPS 1:                                        of which bad points are
AIPS 1:                                        clipped (See HELP); 0=>3.
AIPS 1:                                    3 : > 0 plot min/max range
AIPS 1:                                        with average
AIPS 1:                                        = 0 do not plot min/max
AIPS 1:                                        lines
AIPS 1:                                    4 : = 0 min/max over selected
AIPS 1:                                        IFs after averaging
AIPS 1:                                        selected CHs
AIPS 1:                                        > 0 min/max over all
AIPS 1:                                        selected CH/IFs
AIPS 1:                                    5 : > 0 scalar average
AIPS 1:                                        = 0 vector average
AIPS 1:                                    6 : used with APARM(1)>0
AIPS 1:                                        >0 flag the bad points
AIPS 1:                                           for all channels
AIPS 1:                                        =0 flag the bad points
AIPS 1:                                           only for the selected
AIPS 1:                                           channels
AIPS 1:                                    7 : est total plot points
AIPS 1:                                    8 : > 0 mark scan boundaries
AIPS 1: BPARM         0           1        Control parameters
AIPS 1:            *rest 0                 1 : X-axis type code 0 -> 12
AIPS 1:                                    2 : Y-axis type code 0 -> 1
AIPS 1:                                        <0 => both AMP & PHASE
AIPS 1:                                        1=> amplitude (Jy)
AIPS 1:                                        2=> phase (degrees)
AIPS 1:                                        3=> uv dist. (klambda)
AIPS 1:                                        4=> uv p.a. (deg N->E)
AIPS 1:                                        5=> time (IAT days)
AIPS 1: ** press RETURN for more, enter Q or next line to quit print **
#
AIPS 1:                                        6=> u (klambda)
AIPS 1:                                        7=> v (klambda)
AIPS 1:                                        8=> w (klambda)
AIPS 1:                                        9=> Re(Vis) (Jy)
AIPS 1:                                        10=> Im(Vis) (Jy)
AIPS 1:                                        11=> time (GST)
AIPS 1:                                        12=> time (IAT hours)
AIPS 1:                                        13=> source number
AIPS 1:                                        14=> freqid
AIPS 1:                                        15=> integration time
AIPS 1:                                        16=> weight
AIPS 1:                                        17=> rms (SOLINT > 0)
AIPS 1:                                        18=> HA (hours)
AIPS 1:                                        19=> elevation (deg)
AIPS 1:                                        20=> parallactic angle
AIPS 1:                                        21=> azimuth (deg)
AIPS 1:                                        22=> log(amplitude)
AIPS 1:                                    3 : >0.0 => fixed scale
AIPS 1:                                        <0.0 => fixed range
AIPS 1:                                         0.0 => sep. scales
AIPS 1:                                    4 : Xmin (fixed scale)
AIPS 1:                                    5 : Xmax (fixed scale)
AIPS 1:                                    6 : Ymin (fixed scale)
AIPS 1:                                    7 : Ymax (fixed scale)
AIPS 1:                                    8 : PHmin (fixed scale)
AIPS 1:                                    9 : PHmax (fixed scale)
AIPS 1:                                    10:  > 0 -> plot models for
AIPS 1:                                        baselines with no data
AIPS 1: ALIAS      *all 0                  Antenna alias selection
AIPS 1:                                    If ALIAS(1) is non-zero, any
AIPS 1:                                    antennas matching ALIAS(2-30)
AIPS 1:                                    are treated as if they were
AIPS 1:                                    actually ALIAS(1)
AIPS 1: REFANT        0                    > 0 -> use REFANT for hour
AIPS 1:                                    angle, elevation, et al.
AIPS 1: NPLOTS       10                    Max number of plots per page.
AIPS 1:                                    0 => 3; If bparm(2)<0 =>
AIPS 1:                                    Max number of pairs of plots.
AIPS 1: POLPLOT    ' '                     Option to display various
AIPS 1:                                    ratios of polarizations:
AIPS 1:                                    'RL/RR', 'RL/LL', 'LR/RR',
AIPS 1:                                    'LR/LL', 'RR/LL' 'LL/RR';
AIPS 1:                                    'Q/I', 'U/I', 'V/I'.
AIPS 1:                                    other = plot data directly
AIPS 1: SYMBOL        0                    Symbol to use when plotting.
AIPS 1:                                    0 => X (FACTOR >= 0)
AIPS 1:                                      => none (FACTOR < 0)
AIPS 1:                                    1 - 23, standard types
AIPS 1: FACTOR        0                    Scale symbol by FACTOR
AIPS 1:                                    < 0 => connect with lines
AIPS 1: LTYPE         3                    Type of labeling: 1 border,
AIPS 1:                                    2 no ticks, 3 - 6 standard,
AIPS 1:                                    7 - 10 only tick labels
AIPS 1:                                    <0 -> no date/time
AIPS 1: DOTV          1                    > 0 Do plot on the TV, else
AIPS 1:                                    make a plot file
AIPS 1: GRCHAN        0                    Graphics channel 0 => 1.
AIPS 1: XYRATIO       0                    X/Y ratio 0 -> fit TV or 1 PL




More information about the Daip mailing list