[AIPS] Patches to AIPS 31DEC17 [NRAO]

This page most recently updated on $Date: 2018/04/09 19:57:55 $ (UT)


You will find patches to known bugs in 31DEC17 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 31DEC17 and may be downloaded using a 31DEC17 "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. Linear polarization handling applied the parallactic angle twice. 2018-01-09
  2. Batch has not worked for some years. 2018-01-16
  3. CALIB would not use SMODEL on multi-source data sets 2018-01-16
  4. UVSUB did not do OPCODE 'MODL' correctly for multiple facets. 2018-01-20
  5. SETJY printed erroneous error bars with the latest 2017 flux scale. 2018-03-01
  6. UVSUB did not do OPCODE 'MODL' correctly; weights came out zero. 2018-03-14
  7. Large gridded models did not allocate sufficient memory. 2018-04-04
  8. Antenna file reformatting in place failed on files with large numbers of IFs. 2018-04-04
  9. FITLD did not correct duplicate FQ IDs properly. 2018-04-04
  10. DBAPP had an old version of the data pointers and failed to copy modern data properly. 2018-04-09
  11. 2018-??-??

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


Task:
many
Summary: Linear polarization data had the parallactic angle corrected when applying the D terms and then again when converting from linear to Stokes representations. Changed code to detect when DOPOL was set and the input was linear. Then changed other routines to accept the new DOPOL values and to omit the first of the two parallactic angle applications.
Files:
/31DEC17/APL/SUB/NOTST/DGHEAD.FOR
/31DEC17/APL/SUB/NOTST/POLSET.FOR
/31DEC17/APL/SUB/NOTST/VLBPOL.FOR
/31DEC17/APL/SUB/NOTST/DATPOL.FOR
/31DEC17/APL/SUB/NOTST/POLAR.SRT
Fix:
  1. Fetch the files listed above and place the first four in the corresponding area ($APLNOT) on your system. Place the last in your current working directory.
  2. source POLAR.SRT
Documentor:
Eric W Greisen
Date:
2018-01-09

Task:
Batch
Summary: jobs work using a sequence of programs - AIPSC, QMNGR, AIPSB - and the last two had bad call sequences to the routine that manages the queue file. This error has been present for many years - I guess people don't use it much or are too polite to complain.
Files:
/31DEC17/AIPS/PGM/QMNGR.FOR
/31DEC17/AIPS/PGM/AIPSB.FOR
Fix:
  1. Fetch the files listed above and place them in the corresponding area ($AIPPGM) on your system.
  2. COMLNK $AIPPGM/{AIPSB,QMNGR}
Documentor:
Eric W Greisen
Date:
2018-01-16

Task:
CALIB
Summary: attempted to protect itself from bad combinations of adverbs and thereby refused to honor SMODEL for multi-source data sets even when its usage was properly specified.
Files:
/31DEC17/Q/PGM/NOTST/CALIB.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($QPGNOT) on your system.
  2. COMLNK $QPGNOT/CALIB
Documentor:
Eric W Greisen
Date:
2018-01-16

Task:
UVSUB
Summary: did not do OPCODE='MODL' correctly for multiple facets with CMETHOD-'GRID'. It zeroed the input data and the model from all facets except the last.
Files:
/31DEC17/Q/SUB/NOTST/ALGMEM.FOR
/31DEC17/Q/SUB/NOTST/ALGSTB.FOR
Fix:
  1. Fetch the files listed above and place them in the corresponding area ($QNOT) on your system.
  2. COMRPL $QNOT/ALG{STB,MEM}
  3. COMLNK $QPGNOT/UVSUB
Documentor:
Eric W Greisen
Date:
2018-01-19, corrected 2018-01-20

Task:
SETJY
Summary: displayed totally erroneous error bars when computing the latest 2017 flux scale. Moving a zero to a better place stops this.
Files:
/31DEC17/APL/PGM/NOTST/SETJY.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/SETJY
Documentor:
Eric W Greisen
Date:
2018-03-01

Task:
UVSUB
Summary: did not do OPCODE='MODL' correctly with with CMETHOD='GRID'. After the correction in January it wrote all weights as zero.
Files:
/31DEC17/Q/SUB/NOTST/ALGMEM.FOR
/31DEC17/Q/SUB/NOTST/ALGSTB.FOR
/31DEC17/Q/PGM/NOTST/UVSUB.FOR
Fix:
  1. Fetch the files listed above and place them in the corresponding areas ($QNOT and $QPGNOT) on your system.
  2. COMRPL $QNOT/ALG{STB,MEM}
  3. COMLNK $QPGNOT/UVSUB
Documentor:
Eric W Greisen
Date:
2018-03-14

Task:
Numerous tasks
Summary: failed when doing gridded modeling. Insufficient memory was allocated for large images.
Files:
/31DEC17/Q/SUB/NOTST/CCSMEM.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($QNOT) on your system.
  2. COMRPL $QNOT/CCSMEM
  3. COMLNK $QPGNOT/*.FOR $QPGOOP/*.FOR
Documentor:
Eric W Greisen
Date:
2018-04-04

Task:
Many tasks
Summary: When over-writing an existing antenna file in order to update the format, the tasks would fail if the number of IFs exceeded 28. The issue had to do with keywords required by PCAL.
Files:
/31DEC17/APL/SUB/ANINI.FOR
/31DEC17/APL/SUB/ANINI.SRT
Fix:
  1. Fetch the files listed above and place them in the corresponding area ($APLSUB and your working directory) on your system.
  2. COMRPL $APLSUB/ANINI
  3. source ANINI.SRT
Documentor:
Eric W Greisen
Date:
2018-04-04

Task:
FITLD
Summary: attempted to detect and correct duplicate frequency IDs - those with identical frequency setups but different FQID numbers. The attempt was a failure due to poor logic and it was not applied to the tables in any case. Corrected the logic, improved the messaging, and added code to correct the tables as well.
Files:
/31DEC17/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:
2018-04-04

Task:
DBAPP
Summary: had an old version of the UV data pointers while modern data have a different version. This led to a very bad mangling of the output data. Issues with testing of times and of antenna file headers were also addressed.
Files:
/31DEC17/APL/PGM/NOTST/DBAPP.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/DBAPP
Documentor:
Eric W Greisen
Date:
2018-04-09

Task:
Summary:
Files:
/31DEC17/??
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($) on your system.
  2. COMLNK $??/??
Documentor:
Eric W Greisen
Date:
2018-??-??


Eric W. Greisen