[daip] UVFLG

Leonia Kogan lkogan at aoc.nrao.edu
Thu Oct 6 21:35:45 EDT 2005


Hm, It works with my data.

Can you TASAV your data and create the FITS file of the tasaved data.
I'll debug UVFLG with these data.

Leonia

Jim Ulvestad wrote:

> I did 'System idle
>
> as you suggest and it didn't work.
>
> Jim
>
> Leonia Kogan wrote:
>
>> Jim,
>>
>> I think the problem is small/capital leters.
>>
>> Type REASON = ' System idle  without the 'sign at the end of the line
>> Then the reason will appear with the right sequence of small/capital 
>> leter and UVFLG will work (I hope)
>>
>> Leonia
>> Jim Ulvestad wrote:
>>
>>> I've gone ahead and changed the FG table by cheating and using TABED.
>>> The original flag table that I can't change is FG 1 in the following 
>>> data set.
>>> Note that the reason that shows up in the flag table is System idle, 
>>> not all
>>> upper case. I have tried running UVFLG with the mixed upper and lower
>>> case and with all lower case.
>>>
>>> The rows I tried to change in the FG table are rows 352, 393, 745, 
>>> 837, and 1178.
>>> (In FG 2, note that PFLAG is 0000 and not 1111 for these rows, because
>>> I changed them using TABED.)
>>>
>>> Flag table 1 can be found at /DATA/COYOTE_1/FITS/BU30A.FGTABLE.
>>>
>>> AIPS 1: Image=MULTI     (UV)         Filename=BU030A      .FXPOL .   1
>>> AIPS 1: Telescope=VLBA               Receiver=VLBA
>>> AIPS 1: Observer=BU030               User #=  145
>>> AIPS 1: Observ. date=26-FEB-2005     Map date=06-SEP-2005
>>> AIPS 1: # visibilities    918247     Sort order  TB
>>> AIPS 1: Rand axes: UU-L-SIN  VV-L-SIN  WW-L-SIN  TIME1  BASELINE
>>> AIPS 1:            SOURCE  FREQSEL  INTTIM  GATEID  CORR-ID  WEIGHT
>>> AIPS 1:            SCALE
>>> AIPS 1: 
>>> ----------------------------------------------------------------
>>> AIPS 1: Type    Pixels   Coord value     at Pixel     Coord incr   
>>> Rotat
>>> AIPS 1: COMPLEX      1   1.0000000E+00       1.00  1.0000000E+00    
>>> 0.00
>>> AIPS 1: STOKES       2  -1.0000000E+00       1.00 -1.0000000E+00    
>>> 0.00
>>> AIPS 1: FREQ        32   4.9714900E+09       0.56  2.5000000E+05    
>>> 0.00
>>> AIPS 1: IF           4   1.0000000E+00       1.00  1.0000000E+00    
>>> 0.00
>>> AIPS 1: RA           1    00 00 00.000       1.00       0.000000    
>>> 0.00
>>> AIPS 1: DEC          1    00 00 00.000       1.00       0.000000    
>>> 0.00
>>> AIPS 1: 
>>> ----------------------------------------------------------------
>>> AIPS 1: Coordinate equinox 2000.00
>>> AIPS 1: Maximum version number of extension files of type CL is   8
>>> AIPS 1: Maximum version number of extension files of type NX is   1
>>> AIPS 1: Maximum version number of extension files of type IM is   1
>>> AIPS 1: Maximum version number of extension files of type CT is   1
>>> AIPS 1: Maximum version number of extension files of type MC is   1
>>> AIPS 1: Maximum version number of extension files of type OB is   1
>>> AIPS 1: Maximum version number of extension files of type GC is   1
>>> AIPS 1: Maximum version number of extension files of type WX is   1
>>> AIPS 1: Maximum version number of extension files of type TY is   1
>>> AIPS 1: Maximum version number of extension files of type PC is   1
>>> AIPS 1: Maximum version number of extension files of type FQ is   1
>>> AIPS 1: Maximum version number of extension files of type AN is   1
>>> AIPS 1: Maximum version number of extension files of type SU is   1
>>> AIPS 1: Maximum version number of extension files of type CQ is   1
>>> AIPS 1: Maximum version number of extension files of type FG is   3
>>> AIPS 1: Maximum version number of extension files of type HI is   1
>>> AIPS 1: Maximum version number of extension files of type SN is   6
>>> AIPS 1: Maximum version number of extension files of type PL is   6
>>> AIPS 1: Keyword = 'OLDRFQ  '  value =  4.97149000D+09
>>> AIPS 1: Keyword = 'SUBARRAY'  value =            1
>>>
>>> AIPS 1: UVFLG:  Task to Flag selected UV data on disk.
>>> AIPS 1: Adverbs     Values                 Comments
>>> AIPS 1: 
>>> ----------------------------------------------------------------
>>> AIPS 1: INNAME     'BU030A      '          UV data (name).
>>> AIPS 1: INCLASS    'FXPOL '                UV data (class).
>>> AIPS 1: INSEQ         1                    UV data (seq. #).  0 => high
>>> AIPS 1: INDISK        2                    Disk unit #.  0 => any
>>> AIPS 1: INFILE     *all ' '                Text file name.
>>> AIPS 1: SOURCES    *all ' '                Sources selected/deselected
>>> AIPS 1: SUBARRAY      0                    Subarray number 0=>all.
>>> AIPS 1: SELBAND      -1                    Bandwidth to flag (kHz)
>>> AIPS 1: SELFREQ      -1                    Frequency to flag (MHz)
>>> AIPS 1: FREQID       -1                    Freq. ID to flag. -1=>all.
>>> AIPS 1:                                    0=> first Freq. ID.
>>> AIPS 1: TIMERANG   *all 0                  Time: start day,hr,min,sec
>>> AIPS 1:                                          stop day,hr,min,sec.
>>> AIPS 1: BCHAN         0                    First frequency channel
>>> AIPS 1: ECHAN         0                    Last channel 0=>all
>>> AIPS 1: BIF           0                    First IF 0=>1
>>> AIPS 1: EIF           0                    Last IF 0=>all
>>> AIPS 1: ANTENNAS     12        *rest 0     Antennas
>>> AIPS 1: BASELINE   *all 0                  Baselines with ANTENNAS
>>> AIPS 1: STOKES     '    '                  Stokes' parameters
>>> AIPS 1: FLAGVER       1                    Flag table version number
>>> AIPS 1:                                       Used w single-source too
>>> AIPS 1: APARM      *all 0                  Clip on ampl. and weight
>>> AIPS 1:                                    (single source data only)
>>> AIPS 1:                                    1:lower limit of amplitude
>>> AIPS 1:                                    2:upper limit of amplitude
>>> AIPS 1:                                      0 => use defaults
>>> AIPS 1:                                      sign is significant!
>>> AIPS 1:                                    3:limit of weight
>>> AIPS 1:                                    The data with ampl. outside
>>> AIPS 1:                                    of a given range or  weight
>>> AIPS 1:                                    less the given value are
>>> AIPS 1:                                    flagged (unflagged)
>>> AIPS 1:                                         Elevation flagging
>>> AIPS 1:                                    4:elevation lower cutoff deg
>>> AIPS 1:                                    5:elevation upper cutoff deg
>>> AIPS 1:                                    6:Factor of suppression of
>>> AIPS 1:                                      spurious fringes caused by
>>> AIPS 1:                                      pulse cal when fringe
>>> AIPS 1:                                      rate close to zero.
>>> AIPS 1:                                      It must be >1
>>> AIPS 1:                                      0 => do not flag due to
>>> AIPS 1:                                        this reason
>>> AIPS 1:                                    7:>0 => Print source, time,
>>> AIPS 1:                                       baseline,  U,V of 
>>> expected
>>> AIPS 1:                                       zero fringe rate (U=0)
>>> AIPS 1:                                      0 => do not print
>>> AIPS 1:                                    APARM=0 => flagging(unflag.)
>>> AIPS 1:                                    does not depend on APARM
>>> AIPS 1: OPCODE     'REAS'                  'FLAG','UFLG' or 'REAS'
>>> AIPS 1: REASON     'System idle                 Reason (24 char.)
>>> AIPS 1:              '
>>> AIPS 1: BDROP         0                     First vis. no. to flag
>>> AIPS 1:                                     (not with flag tables)
>>> AIPS 1: EDROP         0                     Last  vis. no. to flag
>>> AIPS 1:                                     (not with flag tables)
>>> AIPS 1: DOHIST        1                     > 0 -> add to history
>>>
>>>
>>>
>>> Leonia Kogan wrote:
>>>
>>>> As I understand, UVFLG (opcode='reas) should unflag  all rows at 
>>>> the given FG table which
>>>> include the 'reason' coincided (at all 24 characters) with the 
>>>> given REASON.
>>>>
>>>> All other parameters including  an antenna numbers are not used.
>>>>
>>>> Can you send me:
>>>>
>>>> List of input parameters
>>>> imh of the UV data,
>>>> and the FG table print out
>>>>
>>>> Leonia
>>>>
>>>>
>>>>
>>>> Jim Ulvestad wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> The unflag option in UVFLG (opcode 'reas') doesn't appear to be 
>>>>> very robust.
>>>>> Claire tells me that it only works for data that were already flagged
>>>>> in UVFLG, which is certainly my experience--I can't unflag data in
>>>>> a flag table delivered from the VLBA correlator, using an antenna
>>>>> number and a reason, with basically all other inputs defaulting.
>>>>> There is no indication in the help file that I need to set other 
>>>>> parameters,
>>>>> such as TIMERANG.  If this is known behavior, perhaps it ought to be
>>>>> in the help file.  If it's not known behavior, perhaps it is a bug 
>>>>> or an
>>>>> incompetent user.  (I got a PI letter from the analysts that said 
>>>>> an hour of
>>>>> data was improperly flagged and should be unflagged, but 
>>>>> apparently it
>>>>> isn't so easy!!!)
>>>>>
>>>>> Thanks again,
>>>>>
>>>>> Jim
>>>>>
>>>>> _______________________________________________
>>>>> Daip mailing list
>>>>> Daip at listmgr.cv.nrao.edu
>>>>> http://listmgr.cv.nrao.edu/mailman/listinfo/daip
>>>>>
>>>
>>> _______________________________________________
>>> Daip mailing list
>>> Daip at listmgr.cv.nrao.edu
>>> http://listmgr.cv.nrao.edu/mailman/listinfo/daip
>>>
>




More information about the Daip mailing list