[AIPS] Patches to AIPS 31DEC16 [NRAO]

This page most recently updated on $Date: 2017/07/11 21:46:42 $ (UT)


You will find patches to known bugs in 31DEC16 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 31DEC12 and may be downloaded using a 31DEC13 "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. POSSM would not label correlation functions in seconds 2017-01-04
  2. ATLOD would not open disk files properly. 2017-01-06
  3. CCRES did not honor blanked pixels. 2017-01-12
  4. DFTPL did not use the correct frequencies when BIF > 1. 2017-01-31
  5. DBCON scaled uvw wrongly when combining data sets of different frequencies. 2017-02-24
  6. DFTPL did not address data correctly when the input had more than one Stokes. 2017-02-28
  7. BPASS did not normalize linear polarization bandpasses correctly for normalization type 1. 2017-03-08
  8. Automatic spectral index finding from the SU table had problems when one or more IFs had no flux value. 2017-03-21
  9. UVMOD did not handle frequencies correctly with spectral index 2017-03-21
  10. SPIXR did not label the output images with the frequency for which they were determined (1 GHz). 2017-03-31
  11. PCAL miscomputed the flux at 1 GHz for known sources at low frequency 2017-06-06
  12. SQASH mishandled BLC, TRC 2017-06-21
  13. UVLSF copied tables twice to the output continuum data set. 2017-06-30
  14. SCMAP and SCIMG messed up the self-cal step when the number of IFs was not the same as the number of polarizations. 2017-07-03
  15. PCAL left a file open when an IF had no data in spectral mode, causing failure on the next IF. 2017-07-11
  16. 2017-??-??

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


Task:
POSSM
Summary: claimed to be able to label correlation functions (APARM(8) values 3 and 4) in seconds as well as in channels. Changed the code to do this; it refused to do it previously.
Files:
/31DEC16/Y/PGM/NOTST/POSSM.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($YPGNOT on your system.
  2. COMLNK $YPGNOT/POSSM
Documentor:
Eric W Greisen
Date:
2017-01-04

Task:
ATLOD
Summary: would not open disk files properly. It would open actual magnetic tapes but the signal to the open routine for a disk file was not set. Therefore it always failed for an undefined magnetic tape.
Files:
/31DEC16/APL/PGM/NOTST/ATLOD.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT on your system.
  2. COMLNK $APGNOT/ATLOD
Documentor:
Eric W Greisen
Date:
2017-01-06

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

Task:
CCRES
Summary: did not test for magic-value blanking and so could change the magic value into an apparently valid if very large value. It also did odd things with the default OUTCLASS and the help file said wrong things about OUTSEQ.
Files:
/31DEC16/APL/PGM/OOP/CCRES.FOR
/31DEC16/HELP/CCRES.HLP
Fix:
  1. Fetch the files listed above and place them in the corresponding areas ($APGOOP, $HLPFIL on your system.
  2. COMLNK $APGOOP/CCRES
Documentor:
Eric W Greisen
Date:
2017-01-12

Task:
DFTPL
Summary: used the frequency of BIF as if it were the frequency of the first IF. This meant that DFTs of off-center sources were incorrect and the labeled frequency was incorrect when BIF > 1. The top label had other minor issues as well.
Files:
/31DEC16/Y/PGM/NOTST/DFTPL.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($YPGNOT on your system.
  2. COMLNK $YPGNOT/DFTPL
Documentor:
Eric W Greisen
Date:
2017-01-31

Task:
DBCON
Summary: scaled the uvw values of the second data set by the ratio of the frequency of the first data set and that of the second. This is just wrong. The uvw of the second data set are correct the data of that data set and should not be changed (except perhaps for a shift of reference channel within that data set). Correct code restored and warnings added. Bug bgan May 28, 2014.
Files:
/31DEC16/APL/PGM/NOTST/DBCON.FOR
/31DEC16/HELP/DBCON.HLP
Fix:
  1. Fetch the files listed above and place them in the corresponding areas ($APGNOT, $HLPFIL on your system.
  2. COMLNK $APGNOT.DBCON
Documentor:
Eric W Greisen
Date:
2017-02-24

Task:
DFTPL
Summary: used data pointers appropriate to the input data while being fed data containing only the selected Stokes. A lot of data were left out of the plotted points.
Files:
/31DEC16/Y/PGM/NOTST/DFTPL.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($YPGNOT on your system.
  2. COMLNK $YPGNOT/DFTPL
Documentor:
Eric W Greisen
Date:
2017-02-28

Task:
BPASS
Summary: had an addressing error affecting linear polarization when normalizing bandpass amplitudes using all channels (BPASSPRM(10) = 1) The normalization could end up very wrong.
Files:
/31DEC16/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:
2017-03-08

Task:
Several
Summary: Automatic findig of apectral index values from the SU table failed when some of the IFs did not have valid values. This happens due to flagging and should not cause a problem so long as enough IFs have good values.
Files:
/31DEC16/APL/SUB/NOTST/FNDSPX.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APLNOT on your system.
  2. COMRPL $APLNOT/FNDSPX
  3. COMLNK $APGNOT/{CLIP,UVFND}
  4. COMLNK $QPGNOT/{BLCHN,BPASS,CPASS}
  5. COMLNK $YPGNOT/{FTFLG,SPFLG,UVPLT}
Documentor:
Eric W Greisen
Date:
2017-03-21

Task:
UVMOD
Summary: was rather confused as to what frequencies applied to what fluxes and spectral index parameters. It made the flux apply at the headr frequency but did odd things with 1 GHz and curvature. The help said it all applied to 1 GHz which was not right.
Files:
/31DEC16/APL/PGM/NOTST/UVMOD.FOR
/31DEC16/HELP/UVMOD.HLP
Fix:
  1. Fetch the files listed above and place them in the corresponding areas ($ATGNOT, $HLPFIL on your system.
  2. COMLNK $APGNOT/UVMOD/CODE>
Documentor:
Eric W Greisen
Date:
2017-03-21

Task:
SPIXR
Summary: labeled the output images with some sort of average of the input frequencies. The correct frequency for the output is 1 GHz to which the flux and spectral index and curvatures are computed. Changed the labeling to 1 GHz.
Files:
/31DEC16/APL/PGM/SPIXR.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APLPGM on your system.
  2. COMLNK $APLPGM/SPIXR
Documentor:
Eric W Greisen
Date:
2017-03-21

Task:
PCAL
Summary: had an error converting the low-frequency (< 500 MHz) fluxes of the known calibration sources to the values needed by the task.
Files:
/31DEC16/Q/PGM/NOTST/PCAL.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($QPGNOT on your system.
  2. COMLNK $QPGNOT/PCAL/CODE>
Documentor:
Eric W Greisen
Date:
2017-06-06

Task:
SQASH
Summary: mishandled sub-imaging in the first two axes. In general, it would simply fail with mysterious I/O error messages.
Files:
/31DEC16/APL/PGM/SQASH.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APLPGM on your system.
  2. COMLNK $APLPGM/SQASH
Documentor:
Eric W Greisen
Date:
2017-06-21

Task:
UVLSF
Summary: copied tables twice to the output continuum data set, This caused the output FQ table to be unusable and led to other ignorable error messages.
Files:
/31DEC16/APL/PGM/NOTST/UVLSF.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT on your system.
  2. COMLNK $APGNOT/UVLSF
Documentor:
Eric W Greisen
Date:
2017-06-30

Task:
SCMAP, SCIMG
Summary: had a bad call sequence to the self-cal subroutine. If the number of IFs was not the same as the number of polarizations (1 or 2), then these tasks would probably fail badly.
Files:
/31DEC16/APL/SUB/OOP/UVUTIL.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APLOOP on your system.
  2. COMRPL $APLOOP/UVUTIL
  3. COMLNK $QPGOOP/SC{MAP,IMG}
Documentor:
Eric W Greisen
Date:
2017-07-03

Task:
PCAL
Summary: left a file open when copying a fully flagged IF in spectral mode. This caused the task to die on the next IF.
Files:
/31DEC16/Q/PGM/NOTST/PCAL.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($QPGNOT on your system.
  2. COMLNK $QPGNOT/PCAL/CODE>
Documentor:
Eric W Greisen
Date:
2017-07-11

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


Eric W. Greisen