<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Times New Roman, Times, serif">Dear daip , <br>
      <br>
      <br>
      I have a problem with the WSRT data, please see the details below<br>
      <br>
      Through one observation we alternated between two sources.<br>
      <br>
      Which i have renamed to my prefered name to make it easy to
      identify them please see a copy of the SU table below:<br>
      <br>
      <small>Scan      Source      Qual  Calcode Sub        
        Timerange          FrqID<br>
           1 3C48            : 0000           1  0/22:12:00 -  
        0/22:41:40     1<br>
           2 PP08A           : 0000           1  0/22:46:30 -  
        0/22:46:30     1<br>
           3 PP09B           : 0000           1  0/22:46:55 -  
        0/23:01:30     1<br>
           4 PP08A           : 0000           1  0/23:01:55 -  
        0/23:16:30     1<br>
           5 PP09B           : 0000           1  0/23:16:55 -  
        0/23:31:30     1<br>
           6 PP08A           : 0000           1  0/23:31:55 -  
        0/23:46:30     1<br>
           7 PP09B           : 0000           1  0/23:46:55 -  
        1/00:01:30     1<br>
           8 PP08A           : 0000           1  1/00:01:55 -  
        1/00:16:30     1<br>
           9 PP09B           : 0000           1  1/00:16:55 -  
        1/00:31:30     1<br>
          10 PP08A           : 0000           1  1/00:31:55 -  
        1/00:46:30     1<br>
          11 PP09B           : 0000           1  1/00:46:55 -  
        1/01:01:30     1<br>
          12 PP08A           : 0000           1  1/01:01:55 -  
        1/01:16:30     1<br>
          13 PP09B           : 0000           1  1/01:16:55 -  
        1/01:31:30     1<br>
          14 PP08A           : 0000           1  1/01:31:55 -  
        1/01:46:30     1<br>
          15 PP09B           : 0000           1  1/01:46:55 -  
        1/02:01:30     1<br>
          16 PP08A           : 0000           1  1/02:01:55 -  
        1/02:16:30     1<br>
          17 PP09B           : 0000           1  1/02:16:55 -  
        1/02:31:30     1<br>
          18 PP08A           : 0000           1  1/02:31:55 -  
        1/02:46:30     1<br>
          19 PP09B           : 0000           1  1/02:46:55 -  
        1/03:01:30     1<br>
          20 PP08A           : 0000           1  1/03:01:55 -  
        1/03:16:30     1<br>
          21 PP09B           : 0000           1  1/03:16:55 -  
        1/03:31:30     1<br>
          22 PP08A           : 0000           1  1/03:31:55 -  
        1/03:46:30     1<br>
          23 PP09B           : 0000           1  1/03:46:55 -  
        1/04:01:30     1<br>
          24 PP08A           : 0000           1  1/04:01:55 -  
        1/04:16:30     1<br>
          25 PP09B           : 0000           1  1/04:16:55 -  
        1/04:31:30     1<br>
        .....<br>
      </small><br>
      <br>
      I then ran "SPLAT" to separate the PP08As from the PP09B<br>
      <br>
      Below are my splat inputs<br>
      <br>
      <small>AIPS 1: SPLAT     Split/assemble the sources in
        single/multi source file<br>
        AIPS 1: Adverbs     Values                 Comments<br>
        AIPS 1:
        ----------------------------------------------------------------<br>
        AIPS 1: INNAME     'PPOBS08_SPLT'          Input UV file name
        (name)<br>
        AIPS 1: INCLASS    'UVDATA'                Input UV file name
        (class)<br>
        AIPS 1: INSEQ         1                    Input UV file name
        (seq. #)<br>
        AIPS 1: INDISK        1                    Input UV file disk
        unit #<br>
        AIPS 1: SOURCES    'PP08A'                 Source list<br>
        AIPS 1:            *rest ' '<br>
        AIPS 1: QUAL         -1                    Source qualifier
        -1=>all<br>
        AIPS 1: CALCODE    ' '                     Calibrator code '   
        '=>all<br>
        AIPS 1: TIMERANG   *all 0                  Time range to copy<br>
        AIPS 1: STOKES     ' '                     Stokes type to pass.<br>
        AIPS 1:                                    Look HELP.<br>
        AIPS 1: SELBAND      -1                    Bandwidth to select
        (kHz)<br>
        AIPS 1: SELFREQ      -1                    Frequency to select
        (MHz)<br>
        AIPS 1: FREQID       -1                    Freq. ID to select.<br>
        AIPS 1: BIF           1                    Lowest IF number
        0=>all<br>
        AIPS 1: EIF           8                    Highest IF number
        0=>all<br>
        AIPS 1: BCHAN         0                    Lowest channel number
        0=>all<br>
        AIPS 1: ECHAN         0                    Highest channel
        number<br>
        AIPS 1: SUBARRAY      0                    Subarray, 0=>all<br>
        AIPS 1: DOCALIB       1                    > 0 calibrate data
        & weights<br>
        AIPS 1:                                    > 99 do NOT
        calibrate weights<br>
        AIPS 1: GAINUSE       2                    CL (or SN) table to
        apply<br>
        AIPS 1: DOPOL        -1                    If >0 correct
        polarization.<br>
        AIPS 1: PDVER         0                    PD table to apply
        (DOPOL>0)<br>
        AIPS 1: BLVER        -1                    BL table to apply.<br>
        AIPS 1: FLAGVER       0                    Flag table version.<br>
        AIPS 1:                                    0 => highest
        numbered table<br>
        AIPS 1:                                    <0 => no
        flagging<br>
        AIPS 1: DOBAND        3                    If >0 apply
        bandpass cal.<br>
        AIPS 1:                                    Method used depends
        on value<br>
        AIPS 1:                                    of DOBAND (see HELP
        file).<br>
        AIPS 1: BPVER         4                    Bandpass table
        version<br>
        AIPS 1: SMOOTH     *all 0                  Smoothing function.
        See<br>
        AIPS 1:                                    HELP SMOOTH for
        details.<br>
        AIPS 1: OUTNAME    'PP08A'                 Output UV file name
        (name)<br>
        AIPS 1: OUTCLASS   ' '                     Output UV file name
        (class)<br>
        AIPS 1: OUTSEQ        0                    Output UV file name
        (seq. #)<br>
        AIPS 1: OUTDISK       1                    Output UV file disk
        unit #.<br>
        AIPS 1: DOUVCOMP     -1                    1 (T) =>
        compressed data<br>
        AIPS 1: APARM      *all 0                  Control information:<br>
        AIPS 1:                                      1 = 1 => avg.
        freq. in IF<br>
        AIPS 1:                                          Use ICHANSEL.<br>
        AIPS 1:                                          CHANNEL is not
        used<br>
        AIPS 1:                                        = 2 => avg
        IF's also<br>
        AIPS 1:                                          Use ICHANSEL.<br>
        AIPS 1:                                          CHANNEL is not
        used<br>
        AIPS 1:                                        = 3 => average
        each<br>
        AIPS 1:                                          CHANNEL
        channels.<br>
        AIPS 1:                                          ICHANSEL is not
        used.<br>
        AIPS 1:                                      2 = Input avg. time
        (sec)<br>
        AIPS 1:                                      3 > 0 => Drop
        subarrays<br>
        AIPS 1:                                      5 = 0 pass only xc
        data<br>
        AIPS 1: ** press RETURN for more, enter Q or next line to quit
        print **<br>
        #<br>
        AIPS 1:                                        = 1 pass xc and
        ac data<br>
        AIPS 1:                                        = 2 pass only ac
        data<br>
        AIPS 1:                                      6 > 0 add full
        source name<br>
        AIPS 1:                                            to header<br>
        AIPS 1:                                      7 = 0 assemble all
        selected<br>
        AIPS 1:                                            sources in
        one<br>
        AIPS 1:                                            multiple
        source file.<br>
        AIPS 1:                                        > 0 split for
        single<br>
        AIPS 1:                                            source files.<br>
        AIPS 1: ICHANSEL   *all 0                  Array of channel
        start, stop,<br>
        AIPS 1:                                    and increment numbers
        and IF<br>
        AIPS 1:                                    number to be used
        when<br>
        AIPS 1:                                    averaging in
        frequency.<br>
        AIPS 1:                                    It's used if
        APARM(1)=1 or 2<br>
        AIPS 1: CHANNEL       0                    Number of chans to
        average<br>
        AIPS 1:                                    together; if APARM(1)
        = 3<br>
        AIPS 1: CHINC         1                    Increment in input
        chans for<br>
        AIPS 1:                                    output 0 ->
        CHANNEL;<br>
        AIPS 1:                                    if APARM(1) = 3<br>
        AIPS 1: SOLINT        0                    Time of averaging in
        min.<br>
        AIPS 1:                                    0 => no averaging<br>
        AIPS 1: BADDISK    *all 0   </small><br>
      <br>
      This gives me an SU table that looks like this:<br>
      <br>
      <small>kreiken   LISTR(31DEC11)    129     26-APR-2013 
        16:06:25    Page    1<br>
        File = PP08A       .SPLAT .   1 Vol = 1  Userid =  129<br>
        Freq =  1.408916275 GHz   Ncor =  2   No. vis =     82392<br>
        Scan summary listing<br>
         <br>
        Scan      Source      Qual  Calcode Sub        
        Timerange          FrqID<br>
           1 PP08A           : 0000           1  0/22:46:30 -  
        0/22:46:30     1<br>
           2 PP08A           : 0000           1  0/23:01:55 -  
        0/23:16:30     1<br>
           3 PP08A           : 0000           1  0/23:31:55 -  
        0/23:46:30     1<br>
           4 PP08A           : 0000           1  1/00:01:55 -  
        1/00:16:30     1<br>
           5 PP08A           : 0000           1  1/00:31:55 -  
        1/00:46:30     1<br>
           6 PP08A           : 0000           1  1/01:01:55 -  
        1/01:16:30     1<br>
           7 PP08A           : 0000           1  1/01:31:55 -  
        1/01:46:30     1<br>
           8 PP08A           : 0000           1  1/02:01:55 -  
        1/02:16:30     1<br>
           9 PP08A           : 0000           1  1/02:31:55 -  
        1/02:46:30     1<br>
          10 PP08A           : 0000           1  1/03:01:55 -  
        1/03:16:30     1<br>
          11 PP08A           : 0000           1  1/03:31:55 -  
        1/03:46:30     1<br>
          12 PP08A           : 0000           1  1/04:01:55 -  
        1/04:16:30     1<br>
          13 PP08A           : 0000           1  1/04:31:55 -  
        1/04:46:30     1<br>
          14 PP08A           : 0000           1  1/05:01:55 -  
        1/05:16:30     1<br>
          15 PP08A           : 0000           1  1/05:31:55 -  
        1/05:46:30     1<br>
          16 PP08A           : 0000           1  1/06:01:55 -  
        1/06:16:30     1<br>
          17 PP08A           : 0000           1  1/06:31:55 -  
        1/06:46:30     1<br>
          18 PP08A           : 0000           1  1/07:01:55 -  
        1/07:16:30     1<br>
          19 PP08A           : 0000           1  1/07:31:55 -  
        1/07:46:30     1<br>
          20 PP08A           : 0000           1  1/08:01:55 -  
        1/08:16:30     1<br>
          21 PP08A           : 0000           1  1/08:31:55 -  
        1/08:46:30     1<br>
          22 PP08A           : 0000           1  1/09:01:55 -  
        1/09:16:30     1<br>
          23 PP08A           : 0000           1  1/09:31:55 -  
        1/09:46:30     1<br>
          24 PP08A           : 0000           1  1/10:01:55 -  
        1/10:16:30     1<br>
          25 PP08A           : 0000           1  1/10:31:55 -  
        1/10:46:10     1<br>
        Type Q to stop, just hit RETURN to
        continue                                 <br>
        <br>
         kreiken   LISTR(31DEC11)    129     26-APR-2013  16:06:26   
        Page    2<br>
        File = PP08A       .SPLAT .   1 Vol = 1  Userid =  129<br>
         <br>
        Source summary<br>
        Velocity type = '        '    Definition = '        '<br>
         <br>
          ID Source           Qual  Calcode RA(2000.0)     Dec(2000.0) 
        No. vis<br>
           2 PP08A           : 0000         04:53:58.3099 
        45:40:43.676      21<br>
           4 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3510<br>
           6 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3510<br>
           8 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3510<br>
          10 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3498<br>
          12 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3498<br>
          14 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3510<br>
          16 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3510<br>
          18 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3510<br>
          20 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3378<br>
          22 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3510<br>
          24 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3486<br>
          26 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3474<br>
          28 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3510<br>
          30 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3498<br>
          32 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3498<br>
          34 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3510<br>
          36 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3330<br>
          38 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3310<br>
          40 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3330<br>
          42 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3320<br>
          44 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3277<br>
          46 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3330<br>
          48 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3320<br>
          50 PP08A           : 0000         04:53:58.3099 
        45:40:43.676    3234<br>
         <br>
      </small><br>
      <br>
      <br>
      What I noticed is that scan numbers no longer correspond to the ID
      numbers. This is a problem because I cannot run "IMAGR" as it says
      that it requires "ONE and ONLY source".  Is there a way to fix
      this? or a way to create a single source file?<br>
      <br>
      I should mention that I also used tried "SPLIT" with the following
      inputs:<br>
      <br>
      <small>AIPS 1: SPLIT     Task to split multi-source uv data to
        single source<br>
        AIPS 1: Adverbs     Values                 Comments<br>
        AIPS 1:
        ----------------------------------------------------------------<br>
        AIPS 1:                                    also works on single
        files.<br>
        AIPS 1: INNAME     'PPOBS08_SPLT'          Input UV file name
        (name)<br>
        AIPS 1: INCLASS    'UVDATA'                Input UV file name
        (class)<br>
        AIPS 1: INSEQ         1                    Input UV file name
        (seq. #)<br>
        AIPS 1: INDISK        1                    Input UV file disk
        unit #<br>
        AIPS 1: SOURCES    'PP08A'                 Source list<br>
        AIPS 1:            *rest ' '<br>
        AIPS 1: QUAL         -1                    Source qualifier
        -1=>all<br>
        AIPS 1: CALCODE    ' '                     Calibrator code '   
        '=>all<br>
        AIPS 1: TIMERANG   *all 0                  Time range to copy<br>
        AIPS 1: STOKES     ' '                     Stokes type to pass.<br>
        AIPS 1: SELBAND      -1                    Bandwidth to select
        (kHz)<br>
        AIPS 1: SELFREQ      -1                    Frequency to select
        (MHz)<br>
        AIPS 1: FREQID       -1                    Freq. ID to select.<br>
        AIPS 1: BIF           1                    Lowest IF number
        0=>all<br>
        AIPS 1: EIF           8                    Highest IF number
        0=>all<br>
        AIPS 1: BCHAN         0                    Lowest channel number
        0=>all<br>
        AIPS 1: ECHAN         0                    Highest channel
        number<br>
        AIPS 1: SUBARRAY      0                    Subarray, 0=>all<br>
        AIPS 1: DOCALIB      -1                    > 0 calibrate data
        & weights<br>
        AIPS 1:                                    > 99 do NOT
        calibrate weights<br>
        AIPS 1: GAINUSE       0                    CL (or SN) table to
        apply<br>
        AIPS 1: DOPOL        -1                    If >0 correct
        polarization.<br>
        AIPS 1: PDVER         0                    PD table to apply
        (DOPOL>0)<br>
        AIPS 1: BLVER        -1                    BL table to apply.<br>
        AIPS 1: FLAGVER       0                    Flag table version<br>
        AIPS 1: DOBAND       -1                    If >0 apply
        bandpass cal.<br>
        AIPS 1:                                    Method used depends
        on value<br>
        AIPS 1:                                    of DOBAND (see HELP
        file).<br>
        AIPS 1: BPVER         0                    Bandpass table
        version<br>
        AIPS 1: SMOOTH     *all 0                  Smoothing function.
        See<br>
        AIPS 1:                                    HELP SMOOTH for
        details.<br>
        AIPS 1: OUTCLASS   ' '                     Output UV file name
        (class)<br>
        AIPS 1: OUTSEQ        1                    Output UV file name
        (seq. #)<br>
        AIPS 1: OUTDISK       1                    Output UV file disk
        unit #.<br>
        AIPS 1: DOUVCOMP     -1                    1 (T) =>
        compressed data<br>
        AIPS 1: APARM      *all 0                  Control information:<br>
        AIPS 1:                                      1 = 1 => avg.
        freq. in IF<br>
        AIPS 1:                                              
        multi-channel out<br>
        AIPS 1:                                        = 2 => avg.
        freq. in IF<br>
        AIPS 1:                                               single
        channel out<br>
        AIPS 1:                                        = 3 => avg
        IF's also<br>
        AIPS 1:                                      2 = Input avg. time
        (sec)<br>
        AIPS 1:                                      3 > 0 => Drop
        subarrays<br>
        AIPS 1:                                      4 > 0 =>
        calibrate weights<br>
        AIPS 1:                                      5 = 0 pass only xc
        data<br>
        AIPS 1:                                        = 1 pass xc and
        ac data<br>
        AIPS 1:                                        = 2 pass only ac
        data<br>
        AIPS 1:                                      6 > 0 add full
        source name<br>
        AIPS 1:                                            to header<br>
        AIPS 1: NCHAV         1                    Number of chan. to
        average.<br>
        AIPS 1:                                    (used if APARM(1) =
        1)<br>
        AIPS 1: ** press RETURN for more, enter Q or next line to quit
        print **<br>
        #<br>
        AIPS 1:                                    <= 0 -> ALL<br>
        AIPS 1: CHINC         1                    Channel incr. between
        output<br>
        AIPS 1:                                    channels (used if
        APARM(1)=1)<br>
        AIPS 1: ICHANSEL   *all 0                  Array of channel
        start, stop,<br>
        AIPS 1:                                    and increment numbers
        and IF<br>
        AIPS 1:                                    number to be used
        when<br>
        AIPS 1:                                    averaging in
        frequency.<br>
        AIPS 1:                                    (used if APARM(1) =
        2, 3)<br>
        AIPS 1: BADDISK    *all 0                  Disks to avoid for
        scratch<br>
      </small><br>
      <br>
      It does not seem to create single source file, instead gives me
      mutliple versions of the scans with the following tables:<br>
      <br>
      <small>AIPS 1: Image=MULTI     (UV)         Filename=PP08A  
        -CAL.SPLAT .   1<br>
        AIPS 1: Telescope=WSRT               Receiver=WSRT<br>
        AIPS 1: Observer=ProcessD            User #=  129<br>
        AIPS 1: Observ. date=15-SEP-2012     Map date=26-APR-2013<br>
        AIPS 1: # visibilities     82392     Sort order  TB<br>
        AIPS 1: Rand axes: UU-L-SIN  VV-L-SIN  WW-L-SIN  TIME1  BASELINE<br>
        AIPS 1:            SOURCE  INTTIM  WEIGHT  SCALE<br>
        AIPS 1:
        ----------------------------------------------------------------<br>
        AIPS 1: Type    Pixels   Coord value     at Pixel     Coord
        incr   Rotat<br>
        AIPS 1: COMPLEX      1   1.0000000E+00       1.00 
        1.0000000E+00    0.00<br>
        AIPS 1: STOKES       2  -1.0000000E+00       1.00
        -1.0000000E+00    0.00<br>
        AIPS 1: FREQ       256   1.4089163E+09       1.00
        -3.9062500E+04    0.00<br>
        AIPS 1: IF           8   1.0000000E+00       1.00 
        1.0000000E+00    0.00<br>
        AIPS 1: RA           1    01 37 41.300       1.00      
        3600.000    0.00<br>
        AIPS 1: DEC          1    33 09 35.082       1.00      
        3600.000    0.00<br>
        AIPS 1:
        ----------------------------------------------------------------<br>
        AIPS 1: Coordinate equinox 2000.00<br>
        AIPS 1: Rest freq   1420.406         Vel type: OPTICAL wrt YOU<br>
        AIPS 1: Alt ref. value  3.53591E+06  wrt pixel    1.00<br>
        AIPS 1: Maximum version number of extension files of type NX
        is   1<br>
        AIPS 1: Maximum version number of extension files of type FQ
        is   1<br>
        AIPS 1: Maximum version number of extension files of type HI
        is   1<br>
        AIPS 1: Maximum version number of extension files of type AN
        is   1</small><br>
      <br>
      Is there a way to possibly fix all of this?<br>
      <br>
      <br>
      Thank you <br>
      <br>
      <br>
      Kind regards<br>
      Mpati<br>
      <br>
      <br>
      <br>
    </font>
  </body>
</html>