[AIPS] Patches to AIPS 31DEC19 [NRAO]

You will find patches to known bugs in 31DEC19 here.

With previous releases, we did not change the frozen release tar ball; user sites were required to download the text files and do any compilations themselves. But, beginning with 31DEC04, we provide binary releases for which user sites are not required to have compilers. Therefore, we have reversed our policy. These patches have been applied to the official code of 31DEC19 and may be downloaded using a 31DEC19 "Midnight Job". Any tarball taken after the change date listed below will already have the patches applied. Of course, you may still download and compile the files as before.

The following is a list of pointers to the different patches in this document.

  1. BPASS had a bad call sequence causing aborts.2020-01-22
  2. FACSET did not include all the flux of standard calibration source models. 2020-01-27
  3. UVFIX did not compute the aberation correction properly, especially when converting from B1950 to J2000. 2020-02-28
  4. EVAUV did not compute the DFT subtraction model correctly, aborting due to a call sequence error. 2020-03-02
  5. RENUMBER aborted if the catalog file required expansion. 2020-03-03
  6. CLIP over counted cross-hand flags when cross-hands are flagged because of parallel hands. 2020-03-25
  7. CLPLT, CAPLT died when trying to self-scale plots with only one point. 2020-04-07
  8. VLBAUTILhad an error when trying to use curl to fetch the EOP file. 2020-04-21
  9. VLBARUN had 2 errors when trying DOPLOT=2 to make a very large number of plots. 2020-05-07
  10. RLDLY had an error when selecting data. 2020-06-10
  11. PRTSY sorted on the wrong column when OPCODE was set. 2020-06-12
  12. CLCOR got confused on EOPS when the CT table had multiple nearly identical entries.2020-06-19
  13. OMFIT had 3 FORMAT statements that were improper for writing to a character string. 2020-06-29
  14. VLBAUTIL was changed for changes in the location and access of the data files needed by VLBAEOPS and VLBATECR. 2020-07-22
  15. IMEAN and TVLABEL needed minor fixes. 2020-07-29
  16. FITLD had a bad scaling for auto-correlations from the old VLBA hardware correlator 2020-12-21
  17. FITLD messed up DIGICOR for non-VLBA data when loading more than one file. 2020-12-21

The remainder of this document is comprised of the patch descriptions pointed to by the above references.


Task:
BPASS
Summary: had a single call sequence to a Q routine that did not include APCORE causing the task to abort.
Files:
Q/PGM/NOTST/BPASS.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($QPGNOT) on your system.
  2. COMLNK $QPGNOT/BPASS
Documentor:
Eric W Greisen
Date:
2020-01-22

Task:
FACSET
Summary: is a routine used by most calibration applying tasks. It scales the calibrator flux in the model to that of the source table, but only the flux within a specified radius. The radii were all too small, causing flux to be omitted from some models.
Files:
APL/SUB/NOTST/FACSET.FOR
APL/SUB/NOTST/FACSET.SRT
Fix:
  1. Fetch the files listed above and place them in the corresponding areas ($APLNOT and a work area) on your system.
  2. COMRPL $APLNOT/FACSET
  3. source FACSET.SRT
Documentor:
Eric W Greisen
Date:
2020-01-27

Task:
UVFIX
Summary: The differential aberration correction requires the comparison of the apparent position of the source to the apparent position of a point 10 asec North. Since we treat the apparent position as fixed during the run (it actually isn't), we need to do this comparison only once at the same time that we compute the source apparent position. In 31DEC18 and previous, this was done but only for the first source (with the result used for all sources). In 31DEC19 and 31DEC20, the comparison was recomputed every time a source changed which put a time change in the offset position but not the reference position. This made the correction a (false) function of time. Furthermore, when the input file was in B1950, the EPOCH variable did not stay at 2000 for this comparison. This could make the aberation correction a factor of ~200 rather than 0.99992! All these issues have been corrected with the aberation correction now a function of source but not time (except for planets).
Files:
APL/PGM/NOTST/UVFIX.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/UVFIX
Documentor:
Eric W Greisen
Date:
2020-02-28

Task:
EVAUV
Summary: was not changed Feb 1, 2019 when the call to QXXPTS was changed DFT subtraction. It aborted for the bad call sequence but also added the model rather than subtracting it.
Files:
QY/PGM/NOTST/EVAUV.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($QYPGNOT) on your system.
  2. COMLNK $QYPGNOT/EVAUV
Documentor:
Eric W Greisen
Date:
2020-03-02

Task:
RENUMBER
Summary: verb would abort if the catalog file had to expand.
Files:
AIPS/SUB/RENUMB.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($AIPSUB) on your system.
  2. COMRPL $AIPSUB/RENUMB
  3. COMLNK $AIPPGM/AIPS*
Documentor:
Eric W Greisen
Date:
2020-03-03

Task:
CLIP
Summary: over counted the cross-hand polarizations when the user wanted them flagged for bad parallel-hand data.
Files:
APL/PGM/NOTST/CLIP.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/CLIP
Documentor:
Eric W Greisen
Date:
2020-03-25

Task:
CLPLT, CAPLT
Summary: refused to self-scale plots with only one point and then failed to close the uv data I/O. The next plot then failed to open the uv data file and the task died. The tasks now change the max and min to allow single samples to be plotted.
Files:
Y/PGM/NOTST/CLPLT.FOR
Y/PGM/NOTST/CALT.FOR
Fix:
  1. Fetch the fileslisted above and place themthe corresponding area ($YPGNOT>) on your system.
  2. COMLNK $YPGNOT/C{L,A}PLT
Documentor:
Eric W Greisen
Date:
2020-04-07

Task:
VLBAUTIL
Summary: had an error in the VLBAEOPS procedure when trying to fetch the EOP file with curl.
Files:
RUN/VLBAUTIL.001
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($RUNSYS) on your system.
Documentor:
Eric W Greisen
Date:
2020-04-21

Task:
VLBARUN
Summary: offers the option to plot a very large number of plots with DOPLOT = 2. This was not tested properly and turned out to have 2 places where an incorrect extension file version was used.
Files:
RUN/VLBARUN.001
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($RUNSYS) on your system.
Documentor:
Eric W Greisen
Date:
2020-05-07

Task:
RLDLY
Summary: had a typo that caused it only to examine the higher numbered antenna in a visibility to see if it was the reference antenna. This meant that no or little data would be found for low numbered reference antennas.
Files:
Q/PGM/NOTST/RLDLY.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($QPGNOT) on your system.
  2. COMLNK $QPGNOT/RLDLY
Documentor:
Eric W Greisen
Date:
2020-06-10

Task:
PRTSY
Summary: sorts the SY table into time order for each antenna when OPCODE is set. When a new column was added to accomodate Solar data, the table call sequences were updated but not the column number for antenna. This caused the program to fail with a sort error message when OPCODE was set. A later fix makes the task work with both old and new format files.
Files:
APL/PGM/NOTST/PRTSY.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/PRTSY
Documentor:
Eric W Greisen
Date:
2020-06-12 ans 2020-06-19

Task:
CLCOR
Summary: on OPCODE = 'EOPS' could get very confused if the input CT table contained multiple sets of identical entries. This happens when multiple FITS IDI files are concatenated by FITLD.
Files:
APL/PGM/NOTST/CLCOR.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/CLCOR
Documentor:
Eric W Greisen
Date:
2020-06-19

Task:
OMFIT
Summary: had 3 FORMAT statements that were left over from when it wrote directly to some output. The task now uses standard text I/O so that messages are written to a character variable and then to the output file. The multi-line FORMATs were replaced with multiple invocations of the output routines.
Files:
APL/PGM/OOP/OMFIT.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGOOP) on your system.
  2. COMLNK $APGOOP/OMFIT
Documentor:
Eric W Greisen
Date:
2020-06-29

Task:
VLBAUTIL
Summary: procedures VLBAUTIL and VLBATECR were changed because of changes coming to the cddis data file service. wget is no longer used. Instead, curl with new options and a new top-level address are used.
Files:
RUN/VLBAUTIL.001
HELP/VLBAEOPS.HLP
HELP/VLBATECR.HLP
Fix:
  1. Fetch the files listed above and place them in the corresponding area ($RUNSYS and $HLPFIL) on your system.
  2. RUN VLBAUTIL inside AIPS.
Documentor:
Eric W Greisen
Date:
2020-07-22

Task:
IMEAN
Summary: had a minor bug messing up an important output line. Verb TVLABEL and the equivalent function in the TV OOP class lost coordinate information when LTYPE is 4, 5, or 6. This caused the Clean beam to be omitted from the plot.
Files:
AIPS/SUB/AU5B.FOR
APL/SUB/OOP/TVDEVICE.FOR
Y/PGM/IMEAN.FOR
Fix:
  1. Fetch the files listed above and place them in the corresponding area ($AIPSUB, $APLOOP, $YPGM, resp.) on your system.
  2. COMRPL $AIPSUB/AU5B
  3. COMRPL $APLOOP/TVDEVICE
  4. COMLNK $AIPPGM/AIPS
  5. COMLNK $APGOOP/PLAYR
Documentor:
Eric W Greisen
Date:
2020-07-29

Task:
FITLD
Summary: with DOWEIGHT > 0 scaled auto-correlation data from the old VLBA hardware correlator incorrectly.
Files:
APL/PGM/NOTST/FITLD.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/FITLD
Documentor:
Eric W Greisen
Date:
2020-09-02 but see below!

Task:
FITLD
Summary: changed the value of DIGICOR so that an incorrect value was applied to inut files after the first but only for non-VLBA antennas. In making this fix, I discovered that the above fix did not actually make it into the system! Therefore, the above (and allowing for PCOUNT errors) are now available.
Files:
APL/PGM/NOTST/FITLD.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/FITLD
Documentor:
Eric W Greisen
Date:
2020-12-21

Eric W. Greisen