[daip] CLCAL bug with opcode 'CALP'

Jim Ulvestad julvesta at aoc.nrao.edu
Tue Jul 9 21:23:15 EDT 2002


Hi all,

Have been trying to run VLBAPCOR to do a phase-cal
correction on a scan in a VLBI experiment.  There
is one antenna missing PCAL data, antenna 10.
When I run VLBAPCOR with opcode 'CALP' and 
antenna 10 (i.e., telling it to do a manual phase
cal on antenna 10), the FRING fails because of
no valid data.  It appears that antenna 10 has not
been passed through to the CL table that results
from the CLCAL step.

When I try the same thing on the previous scan,
where antennas 1 and 2 are missing PCAL data,
things work fine.  CALP works, antennas 1 and
2 are passed through, and the FRING runs properly.

Note that if I run POSSM on the data when antenna 10
has no phase cal, it is actually there and showing
strong fringes, so my problem is not that I'm missing
data on the relevant scan.

My tentative conclusion is that CALP is not picking
up the highest numbered antenna in the antennas
table.  Here are inputs to VLBAPCOR:

(i) This works:

AIPS 1: VLBAPCOR: Procedure to correct instrumental phases
AIPS 1: Adverbs     Values                 Comments
AIPS 1: ----------------------------------------------------------------
AIPS 1: INNAME     'BU021C      '          Input UV file name (name)
AIPS 1: INCLASS    'X BAND'                Input UV file name (class)
AIPS 1: INSEQ         1                    Input UV file name (seq. #)
AIPS 1: INDISK        1                    Input UV file disk unit #
AIPS 1: TIMERANG      1           5        Time range of a calibrator
AIPS 1:               0           0         1-4 = start day,hr,min,sec
AIPS 1:               1           5         5-8 = end   day,hr,min,sec
AIPS 1:               4           0        MUST BE SPECIFIED
AIPS 1: REFANT        5                    Ref. antenna, 0=>the first
AIPS 1: SUBARRAY      0                    Subarray;  0 => all.
AIPS 1: CALSOUR    'J1642+3948      '      Calibrator source name;
AIPS 1:            *rest ' '               blank => any
AIPS 1: GAINUSE       5                    CL table to use; 0=>highest
AIPS 1:                                    ADVERBS FOR ANTENNAS NOT
AIPS 1:                                    CONTAINED IN PC TABLE:
AIPS 1: OPCODE     'CALP'                  'CALP' if you are missing PC
AIPS 1:                                    information for any antenna;
AIPS 1:                                    otherwise ' '
AIPS 1: ANTENNAS      1           2        antennas for which manual
AIPS 1:            *rest 0                 phase corrections should be
AIPS 1:                                    obtained (i.e. they are
AIPS 1:                                    missing from the PC table or
AIPS 1:                                    are the pcals in PC table are
AIPS 1:                                    incorrect).
AIPS 1:

The next set doesn't work.  Note that I have changed the time, the
calsource, and the number of the antenna that is missing PCAL info.

AIPS 1: VLBAPCOR: Procedure to correct instrumental phases
AIPS 1: Adverbs     Values                 Comments
AIPS 1: ----------------------------------------------------------------
AIPS 1: INNAME     'BU021C      '          Input UV file name (name)
AIPS 1: INCLASS    'X BAND'                Input UV file name (class)
AIPS 1: INSEQ         1                    Input UV file name (seq. #)
AIPS 1: INDISK        1                    Input UV file disk unit #
AIPS 1: TIMERANG      1           5        Time range of a calibrator
AIPS 1:               3           0         1-4 = start day,hr,min,sec
AIPS 1:               1           5         5-8 = end   day,hr,min,sec
AIPS 1:               8           0        MUST BE SPECIFIED
AIPS 1: REFANT        5                    Ref. antenna, 0=>the first
AIPS 1: SUBARRAY      0                    Subarray;  0 => all.
AIPS 1: CALSOUR    'J1310+3220      '      Calibrator source name;
AIPS 1:            *rest ' '               blank => any
AIPS 1: GAINUSE       5                    CL table to use; 0=>highest
AIPS 1:                                    ADVERBS FOR ANTENNAS NOT
AIPS 1:                                    CONTAINED IN PC TABLE:
AIPS 1: OPCODE     'CALP'                  'CALP' if you are missing PC
AIPS 1:                                    information for any antenna;
AIPS 1:                                    otherwise ' '
AIPS 1: ANTENNAS     10        *rest 0     antennas for which manual
AIPS 1:                                    phase corrections should be
AIPS 1:                                    obtained (i.e. they are
AIPS 1:                                    missing from the PC table or
AIPS 1:                                    are the pcals in PC table are
AIPS 1:                                    incorrect).
AIPS 1:

Resulting messages:

coyote> PCCOR1: Task PCCOR  (release of 31DEC02) begins
coyote> PCCOR1: Writing to SN table   3
coyote> PCCOR1: Antenna 10 is not corrected: no PCAL  at the selected
scan
coyote> PCCOR1: Appears to have ended successfully
coyote> PCCOR1: coyote       31DEC02 TST: Cpu=       3.5  Real=       4
coyote> SNCOR1: Task SNCOR  (release of 31DEC02) begins
coyote> SNCOR1:      5 Records modified
coyote> SNCOR1: Appears to have ended successfully
coyote> SNCOR1: coyote       31DEC02 TST: Cpu=       0.0  Real=       0
coyote> SNCOR1: Task SNCOR  (release of 31DEC02) begins
coyote> SNCOR1:      5 Records modified
coyote> SNCOR1: Appears to have ended successfully
coyote> SNCOR1: coyote       31DEC02 TST: Cpu=       0.0  Real=       1
coyote> CLCAL1: Task CLCAL  (release of 31DEC02) begins
coyote> CLCAL1: You are using a non-standard program
coyote> CLCAL1: Using interpolation mode 2PT
coyote> CLCAL1: Processing SN table    3
coyote> CLCAL1: SN2CL: Applying SN tables to CL table   5, writing CL
table  6
coyote> CLCAL1: Appears to have ended successfully
coyote> CLCAL1: coyote       31DEC02 TST: Cpu=       0.1  Real=       0
coyote> FRING1: Task FRING  (release of 31DEC02) begins
coyote> FRING1: You are using a non-standard program
coyote> FRING1: Selecting, editing and calibrating the data
coyote> FRING1:  WARNING: NO DATA SELECTED
coyote> FRING1: Purports to die of UNNATURAL causes
coyote> FRING1: coyote       31DEC02 TST: Cpu=       0.3  Real=       0



More information about the Daip mailing list