<font face="Verdana, Arial, Helvetica" size="2">Rusen Lu updated #11956<br />
-----------------------<br />
<br />
AIPS FITLD<br />
----------<br />
<br />
<div style="margin-left: 40px;">Ticket ID: 11956</div>
<div style="margin-left: 40px;">URL: <a href="https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/11956">https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/11956</a></div>
<div style="margin-left: 40px;">Name: Rusen Lu</div>
<div style="margin-left: 40px;">Email address: <a href="mailto:rslu@haystack.mit.edu">rslu@haystack.mit.edu</a></div>
<div style="margin-left: 40px;">Creator: User</div>
<div style="margin-left: 40px;">Department: AIPS Data Reduction</div>
<div style="margin-left: 40px;">Staff (Owner): Eric Greisen</div>
<div style="margin-left: 40px;">Type: Issue</div>
<div style="margin-left: 40px;">Status: Open</div>
<div style="margin-left: 40px;">Priority: Default</div>
<div style="margin-left: 40px;">SLA: NRAO E2E</div>
<div style="margin-left: 40px;">Template group: Default</div>
<div style="margin-left: 40px;">Created: 20 April 2018 03:00 PM</div>
<div style="margin-left: 40px;">Updated: 23 April 2018 01:30 PM</div>
<div style="margin-left: 40px;">Reply due: 24 April 2018 03:28 PM (1d 1h 57m)</div>
<div style="margin-left: 40px;">Resolution due: 14 January 2021 12:00 AM (996d 10h 29m)</div>
<br />
<br />
<br />
Dear Eric,<br /><br />I tried to read in a few files (6) to different output files (doconcat false) using the 31DEC18 version. The reason that I selected 6 files is because I saw the first error came after loading the first 5 ones. The FITLD input is the following (same for each file, except DATAIN and OUTNAME):<br /><br />AIPS 1: FITLD:  Task to store an image or UV data from a FITS tape<br />AIPS 1: Adverbs     Values                 Comments<br />AIPS 1: ----------------------------------------------------------------<br />AIPS 1: INTAPE        1                    Input tape drive # (0 => 1)<br />AIPS 1: NFILES        0                    # of files to advance on tape<br />AIPS 1: DATAIN     'PWD:loader.fits6'      Disk file name<br />AIPS 1: OUTNAME    'test6'                 File name (name)<br />AIPS 1: OUTCLASS   ' '                     File name (class)<br />AIPS 1: OUTSEQ        0                    File name (seq. #)<br />AIPS 1:                                       0 => highest unique number<br />AIPS 1:                                         => matching (on VLBA)<br />AIPS 1:                                      -1 => FITS tape value<br />AIPS 1: OUTDISK       1                    Disk drive # (0 => any)<br />AIPS 1: OPTYPE     ' '                     Type of data to load,<br />AIPS 1:                                    '  ' => all types<br />AIPS 1:                                    'UV' => UV data<br />AIPS 1:                                    'IM' => images<br />AIPS 1: NCOUNT        0                    Number of files to load.<br />AIPS 1: DOTABLE       1                    True (1.0) means load tables<br />AIPS 1:                                    for images.<br />AIPS 1: DOUVCOMP     -1                    >0 => compressed data (FITS)<br />AIPS 1: DOCONCAT     -1                    >0 -> if VLBA correlator data<br />AIPS 1:                                    append data to existing<br />AIPS 1:                                    files, or if no appropriate<br />AIPS 1:                                    files exist create a new file<br />AIPS 1:                                    and append all data to that<br />AIPS 1:                                    file.<br />AIPS 1: DOKEEP        0                    > 0 -> keep fully flagged<br />AIPS 1:                                    data records<br />AIPS 1: NPIECE        0                    Maximum uv table piece to<br />AIPS 1:                                    load (ignored for tape unless<br />AIPS 1:                                    NCOUNT = 1)<br />AIPS 1: ERROR        -1                    >= 2 -> do not use AIPS<br />AIPS 1:                                    history in the FITS file<br />AIPS 1:                                    *****************************<br />AIPS 1:                                    Following adverbs are useful<br />AIPS 1:                                    only when reading VLBA IDI<br />AIPS 1:                                    distribution tapes.<br />AIPS 1:                                    *****************************<br />AIPS 1: CLINT        0.01667               CL entry interval (min)<br />AIPS 1:                                    0 => 1 minute.<br />AIPS 1: SOURCES    *all ' '                Source list to accept.<br />AIPS 1: QUAL         -1                    Source qualifier -1=>all<br />AIPS 1: TIMERANG   *all 0                  Timerange selected<br />AIPS 1: ** press RETURN for more, enter Q or next line to quit print **<br />#<br />AIPS 1: BCHAN         1                    Lowest spectral channel<br />AIPS 1:                                    number to select in each IF.<br />AIPS 1:                                    0=>1<br />AIPS 1: ECHAN         0                    Highest spectral channel<br />AIPS 1:                                    number to select in each IF.<br />AIPS 1:                                    0=>highest<br />AIPS 1: BIF           0                    Lowest IF number 0=>1<br />AIPS 1: EIF           0                    Highest IF number 0=>all<br />AIPS 1: DIGICOR       1                    Controls the application of<br />AIPS 1:                                    the VLBA and DIFX correlator<br />AIPS 1:                                    digital correction.<br />AIPS 1:                                    0,1,3 => perform corrections<br />AIPS 1:                                    2,4 => perform cross-power<br />AIPS 1:                                      corrections, do total-power<br />AIPS 1:                                      only if zero padding used.<br />AIPS 1:                                    -1 => do NOT perform<br />AIPS 1:                                      corrections.<br />AIPS 1:                                    3,4 => do even if not VLBA<br />AIPS 1:                                    SEE HELP for more details<br />AIPS 1: REFDATE    ' '                     Reference date. 'yyyymmdd'<br />AIPS 1:                                       before or = the obs date<br />AIPS 1:                                       ' ' => the obs date<br />AIPS 1: SELBAND      -1                    Bandwidth to select (kHz)<br />AIPS 1: SELFREQ      -1                    Frequency to select (MHz).<br />AIPS 1:                                    See HELP.<br />AIPS 1: FQTOL        -1                    Frequency tolerance assigned<br />AIPS 1:                                    to SELFREQ, FITLD will select<br />AIPS 1:                                    data with freq. of SELFREQ<br />AIPS 1:                                    +/- FQTOL.<br />AIPS 1:                                    The unit of FQTOL is kHz.<br />AIPS 1:                                    <=0 => 10 kHz<br />AIPS 1: WTTHRESH      0                    Flagging threshold based on<br />AIPS 1:                                    weights. See HELP.<br />AIPS 1:                                    0 => no flagging<br />AIPS 1:                                    1 => will flag ALL data<br />AIPS 1: OPCODE     ' '                     Specify if wish to keep VT<br />AIPS 1:                                    (VLBA Tape Statistics) table<br />AIPS 1:                                    and other tables.  See HELP.<br />AIPS 1:                                    '  ' => do not save tables<br />AIPS 1: ANTNAME    *all ' '                List antenna station names in<br />AIPS 1:                                    desired order (IDI data only)<br /><br /><br /><br />I do not see a problem for each individual data file, but noticed that the number of antennas and their order are not the same, as you can see from the attached 6 PRTAB results on AN tables (file1.an.txt to file6.an.txt).<br /><br />I also loaded the 6 files at once with doconcat true using both 31DEC18 and 31DEC16:<br />The input parameters are:<br /><br />AIPS 1: FITLD:  Task to store an image or UV data from a FITS tape<br />AIPS 1: Adverbs     Values                 Comments<br />AIPS 1: ----------------------------------------------------------------<br />AIPS 1: INTAPE        1                    Input tape drive # (0 => 1)<br />AIPS 1: NFILES        0                    # of files to advance on tape<br />AIPS 1: DATAIN     'PWD:loader.fits'       Disk file name<br />AIPS 1: OUTNAME    'test1_6'               File name (name)<br />AIPS 1: OUTCLASS   ' '                     File name (class)<br />AIPS 1: OUTSEQ        0                    File name (seq. #)<br />AIPS 1:                                       0 => highest unique number<br />AIPS 1:                                         => matching (on VLBA)<br />AIPS 1:                                      -1 => FITS tape value<br />AIPS 1: OUTDISK       1                    Disk drive # (0 => any)<br />AIPS 1: OPTYPE     ' '                     Type of data to load,<br />AIPS 1:                                    '  ' => all types<br />AIPS 1:                                    'UV' => UV data<br />AIPS 1:                                    'IM' => images<br />AIPS 1: NCOUNT        6                    Number of files to load.<br />AIPS 1: DOTABLE       1                    True (1.0) means load tables<br />AIPS 1:                                    for images.<br />AIPS 1: DOUVCOMP     -1                    >0 => compressed data (FITS)<br />AIPS 1: DOCONCAT      1                    >0 -> if VLBA correlator data<br />AIPS 1:                                    append data to existing<br />AIPS 1:                                    files, or if no appropriate<br />AIPS 1:                                    files exist create a new file<br />AIPS 1:                                    and append all data to that<br />AIPS 1:                                    file.<br />AIPS 1: DOKEEP        0                    > 0 -> keep fully flagged<br />AIPS 1:                                    data records<br />AIPS 1: NPIECE        0                    Maximum uv table piece to<br />AIPS 1:                                    load (ignored for tape unless<br />AIPS 1:                                    NCOUNT = 1)<br />AIPS 1: ERROR        -1                    >= 2 -> do not use AIPS<br />AIPS 1:                                    history in the FITS file<br />AIPS 1:                                    *****************************<br />AIPS 1:                                    Following adverbs are useful<br />AIPS 1:                                    only when reading VLBA IDI<br />AIPS 1:                                    distribution tapes.<br />AIPS 1:                                    *****************************<br />AIPS 1: CLINT        0.01667               CL entry interval (min)<br />AIPS 1:                                    0 => 1 minute.<br />AIPS 1: SOURCES    *all ' '                Source list to accept.<br />AIPS 1: QUAL         -1                    Source qualifier -1=>all<br />AIPS 1: TIMERANG   *all 0                  Timerange selected<br />AIPS 1: BCHAN         1                    Lowest spectral channel<br />AIPS 1:                                    number to select in each IF.<br />AIPS 1:                                    0=>1<br />AIPS 1: ECHAN         0                    Highest spectral channel<br />AIPS 1:                                    number to select in each IF.<br />AIPS 1:                                    0=>highest<br />AIPS 1: BIF           0                    Lowest IF number 0=>1<br />AIPS 1: EIF           0                    Highest IF number 0=>all<br />AIPS 1: DIGICOR       1                    Controls the application of<br />AIPS 1:                                    the VLBA and DIFX correlator<br />AIPS 1:                                    digital correction.<br />AIPS 1:                                    0,1,3 => perform corrections<br />AIPS 1:                                    2,4 => perform cross-power<br />AIPS 1:                                      corrections, do total-power<br />AIPS 1:                                      only if zero padding used.<br />AIPS 1:                                    -1 => do NOT perform<br />AIPS 1:                                      corrections.<br />AIPS 1:                                    3,4 => do even if not VLBA<br />AIPS 1:                                    SEE HELP for more details<br />AIPS 1: REFDATE    ' '                     Reference date. 'yyyymmdd'<br />AIPS 1:                                       before or = the obs date<br />AIPS 1:                                       ' ' => the obs date<br />AIPS 1: SELBAND      -1                    Bandwidth to select (kHz)<br />AIPS 1: SELFREQ      -1                    Frequency to select (MHz).<br />AIPS 1:                                    See HELP.<br />AIPS 1: FQTOL        -1                    Frequency tolerance assigned<br />AIPS 1:                                    to SELFREQ, FITLD will select<br />AIPS 1:                                    data with freq. of SELFREQ<br />AIPS 1:                                    +/- FQTOL.<br />AIPS 1:                                    The unit of FQTOL is kHz.<br />AIPS 1:                                    <=0 => 10 kHz<br />AIPS 1: WTTHRESH      0                    Flagging threshold based on<br />AIPS 1:                                    weights. See HELP.<br />AIPS 1:                                    0 => no flagging<br />AIPS 1:                                    1 => will flag ALL data<br />AIPS 1: OPCODE     ' '                     Specify if wish to keep VT<br />AIPS 1:                                    (VLBA Tape Statistics) table<br />AIPS 1:                                    and other tables.  See HELP.<br />AIPS 1:                                    '  ' => do not save tables<br />AIPS 1: ANTNAME    *all ' '                List antenna station names in<br />AIPS 1:                                    desired order (IDI data only)<br /><br />I attached here the message for loading the data (files1to6.31DEC18.log and files1to6.31DEC16.log) and the resulting AN tables<br />(files1to6.31DEC18.an.txt and files1to6.31DEC16.an.txt). As you can see, the version 31DEC16 can avoid the problem of messing thing up that I reported last week. Please take a look.<br /><br />Thank you,<br /><br />Rusen Lu
<br />
<HR style="margin-bottom: 6px; height: 1px; BORDER: none; color: #cfcfcf; background-color: #cfcfcf;" />
Staff CP:  <a href="https://help.nrao.edu/staff" target="_blank">https://help.nrao.edu/staff</a><br />
</font>