[AIPS] Patches to AIPS 31DEC17 [NRAO]

This page most recently updated on $Date: 2018/12/19 18:32:45 $ (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. FQUBE wrote many CG tables when none were input. 2018-04-23
  12. FITLD did not handle antenna files properly when concatenating. 2018-04-24
  13. DOBAND 3 interpolation flagged too much data when there were failed bandpass solutions 2018-04-27
  14. Model computation made errors in DFT mode when four polarizations were being computed. 2018-06-20
  15. UVSUB did not do MODL correctly with compressed data 2018-06-20
  16. DOBAND 3 interpolation still flagged too much data when there were failed bandpass solutions and the LNX64 version confused the compiler. 2018-04-27
  17. DOPOL did not handle magic blanks in the polarization solutions. 2018-07-16
  18. OOSUB did not handle multi-source files correctly. 2018-08-10
  19. AIPS did not do TPUT correctly when there was an exact alignment of the number of adverb values with record boundaries. 2018-08-17
  20. RM could not handle more than 5 or 10 spectral channels due to a very small buffer. 2018-10-03
  21. RLDIF used the wrong position angles for 3C48 and 3C147. 2018-12-18
  22. 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:
FQUBE
Summary: attempts to copy CG tables from the input to the output. If the input files had no such table, however, it wrote a new table for each input plane. Fixed it to write everything to one table as intended.
Files:
/31DEC17/APL/PGM/NOTST/FQUBE.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/FQUBE
Documentor:
Eric W Greisen
Date:
2018-04-23

Task:
FITLD
Summary: was changed in how it handled ANTNAME particularly when concatenating multiple input files. It has been found that this change does not work properly. The code has been reverted to its state prior to March 2017 and now again ignores ANTNAME when concatenating. The antenna numbers and names in the pre-existing antenna table control those used absolutely.
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.FOR
Documentor:
Eric W Greisen
Date:
2018-04-24

Task:
DOBAND 3
Summary: bandpass interpolation over time flagged the data whenever one of the two ends of the interpolation was flagged. Changed it to use the good bandpass solution if there is one.
Files:
/31DEC17/APL/SUB/NOTST/BPGET.FOR
/31DEC17/APL/SUB/NOTST/DOBAND.SRT
Fix:
  1. Fetch the files listed above and place then in the corresponding area ($APLNOT and your work area) on your system.
  2. COMRPL $APLNOT/BPGET
  3. source DOBAND.SRT
Documentor:
Eric W Greisen
Date:
2018-04-27

Task:
Summary: Modeling routines using 4 polarizations in DFT mode used bad addressing. They were ok for 1 or 2 polarizations only.
Files:
/31DEC17/Q/SUB/NOTST/VISDFT.FOR
/31DEC17/Q/DEV/PSAP/QXXPTS.FOR
/31DEC17/Q/DEV/PSAP/QGASUB.FOR
/31DEC17/Q/DEV/PSAP/QSPSUB.FOR
Fix:
  1. Fetch the files listed above and place them in the corresponding areas ($QNOT and $QPSAP ) on your system.
  2. COMRPL $QNOT/VISDFT
  3. COMRPL $QPSAP/Q{XXPTS,GASUB,SPSUB}/CODE>
  4. COMLNK $QPGOOP/*.FOR
  5. COMLNK $QPGNOT/*.FOR
  6. COMLNK $QYPGNOT/*.FOR
Documentor:
Eric W Greisen
Date:
2018-06-20

Task:
UVSUB
Summary: did not do OPCODE='MODL' correctly for compressed input data.
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-06-20

Task:
DOBAND 3
Summary: bandpass interpolation over time still flagged the data whenever one of the two ends of the interpolation was flagged. Changed it to use the good bandpass solution if there is one. Also discovered the the binary version for LNX64 produced wrong answers when optimized. It is now compiled no-optimize.
Files:
/31DEC17/APL/SUB/NOTST/BPGET.FOR
/31DEC17/APL/SUB/NOTST/DOBAND.SRT
Fix:
  1. Fetch the files listed above and place then in the corresponding area ($APLNOT and your work area) on your system.
  2. COMRPL $APLNOT/BPGET
  3. source DOBAND.SRT
Documentor:
Eric W Greisen
Date:
2018-06-26

Task:
DOPOL
Summary: did not handle magic blanks in the polarization D-term solutions. Instead, D-terms > 30000 were applied to the data. Changed to detect them on read (POLSET) and to use them to flag data on application (DATPOL, etc.)
Files:
/31DEC17/APL/SUB/NOTST/POLSET.FOR
/31DEC17/APL/SUB/NOTST/DATPOL.FOR
/31DEC17/APL/SUB/NOTST/VLBPOL.FOR
/31DEC17/APL/SUB/NOTST/LXYPOL.FOR
/31DEC17/APL/SUB/NOTST/ORIPOL.FOR
/31DEC17/APL/SUB/NOTST/DOPOL.SRT
Fix:
  1. Fetch the files listed above and place them in the corresponding area ($APLNOT for Fortran and your work area) on your system.
  2. sorce DOPOL.SRT
Documentor:
Eric W Greisen
Date:
2018-07-16

Task:
OOSUB
Summary: can process multi-source as well as single source files. But the creation of the file had an issue in which random parameters were forgotten in the file creation, making the output file too small. Added comment about multi-source files to the help also.
Files:
/31DEC17/Q/PGM/OOP/OOSUB.FOR
/31DEC17/HELP/OOSUB.HLP
Fix:
  1. Fetch the files listed above and place them in the corresponding area ($QPGOOP and $HLPFIL) on your system.
  2. COMLNK $QPGOOP/OOSUB
Documentor:
Eric W Greisen
Date:
2018-08-10

Task:
AIPS
Summary: did not update the TGET file properly when the number of adverb values exactly filled an integer number of records in the TD file used in talking to tasks. RLDLY met this unhappy condition when adverb BPARM was added.
Files:
/31DEC17/AIPS/SUB/AU2.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($AIPSUB) on your system.
  2. COMRPL $AIPSUB/AU2
  3. COMLNK $AIPPGM/AIPS*.FOR
Documentor:
Eric W Greisen
Date:
2018-08-17

Task:
RM
Summary: claimed to be able to handle a large number of spectral channels but in fact a buffer of dimension only 10 caused it to handle 5 or 10 channels only.
Files:
/31DEC17/APL/PGM/NOTST/RM.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/RM
Documentor:
Eric W Greisen
Date:
2018-10-03

Task:
RLDIF
Summary: used the wrong position angles for 3C48 and 3C147. At low frequencies it interpreted the "not-a-value" (-999) as a real position angle for 3C147. A small change with frequency was added for 3C286 and the computation of error bars was improved.
Files:
/31DEC17/APL/PGM/NOTST/RLDIF.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/RLDIF
Documentor:
Eric W Greisen
Date:
2018-12-18

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