[AIPS] Patches to AIPS 31DEC10 [NRAO]

This page most recently updated on $Date: 2011/08/04 22:32:03 $ (UT)


You will find patches to known bugs in 31DEC10 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 31DEC10 and may be downloaded using a 31DEC10 "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. UVCOP used only 12 of the 16 characters of the SOURCE adverbs 2011-01-18
  2. DBCON was vulnerable to errors in table headers causing absurd disk file size expansions. 2011-01-18
  3. FRING got wrong answers from the exhaustive search method for IFS higher than 1. 2011-01-21
  4. OOP-based uv tasks could write to the wrong output file. 2011-01-21
  5. CALIB failed to build the ouput header correctly for non-standard single-source data sets 2011-01-24
  6. RLDIF did not handle one source, continuum corrections properly 2011-01-24
  7. SWAPR ignore autocorrelation data 2011-01-24
  8. SNPLT did not handle PC table phases correctly. 2011-03-23
  9. IMAGR did not average multi-channel data correctly when doing on-the-fly baseline-length timae averaging 2011-04-15
  10. NX tables were written incorrectly when there were multiple subarrays. 2011-04-25
  11. IMEAN did not write the text file output correctly. 2011-06-08
  12. NOIFS scaled UVW's incorrectly 2011-06-14
  13. CVEL did not die when it should on fatal errors 2011-06-23
  14. FITLD and friends did not read table header character-valued keywords correctly 2011-06-24
  15. UVCOP did not apply flags when SOURCES was specified 2011-07-01
  16. IMAGR did not keep the correct Clean beams for facets other than one when making an image cube with ONEBEAM true. 2011-07-25
  17. VPLOT did not plot models correctly for more than 64 facets. 2011-07-29
  18. CLCOR used the wrong sign of the antenna Y position for the EOPS and SUND operations. 2011-08-04
  19. 2011-??-??

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


Task:
UVCOP
Summary: The task only used 12 of the 16 characters in each of the SOURCE(i) adverbs. Longer source names were then not recognized.
Files:
/31DEC10/APL/PGM/NOTST/UVCOP.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/UVCOP
Documentor:
Eric W Greisen
Date:
2011-01-18

Task:
DBCON
Summary: did not set one parameter which caused it to use the existing table header parameter for file expansion. For some reason, these are sometimes bad.
Files:
/31DEC10/APL/PGM/NOTST/DBCON.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/DBCON
Documentor:
Eric W Greisen
Date:
2011-01-18

Task:
FRING
Summary: had an addressing error in the exhaustive search (APARM(9) > 0) mode. It got wrong answers for IFs higher than one. There are also frequency accuracy issues when there are large numbers of narrow channels.
Files:
/31DEC10/APL/SUB/NOTST/FRQTAB.FOR
/31DEC10/Q/PGM/NOTST/FRING.FOR
Fix:
  1. Fetch the files listed above and place them in the corresponding areas ($APLNOT and $QPGNOT) on your system.
  2. COMrpl $APLNOT/FRQTAB.FOR
  3. COMLNK $QPGNOT/FRING.FOR
Documentor:
Eric W Greisen
Date:
2011-01-21

Task:
OOP
Summary: based uv tasks had a chance to write their output and/or table files to the wrong data set. If the output disk has a file of the same name and higher sequence number than the desired output, this error could occur.
Files:
/31DEC10/APL/SUB/OOP/UVDATA.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APLOOP) on your system.
  2. COMRPL $APLOOP/UVDATA
  3. COMLNK $QPGOOP/*.FOR
  4. COMLNK $APGOOP/*.FOR
Documentor:
Eric W Greisen
Date:
2011-01-21

Task:
CALIB
Summary: failed to handle unexpected aspects of single-source data sets when building the output header. This could lead to a FREQID random parameter with random values.
Files:
/31DEC10/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:
2011-01-24

Task:
RLDIF
Summary: did not handle the one calibration source, continuum mode corrections properly. The help file was out of date as well.
Files:
/31DEC10/APL/PGM/NOTST/RLDIF.FOR
/31DEC10/HELP/RLDIF.HLP
Fix:
  1. Fetch the files listed above and place them in the corresponding areas ($APGNOT and $HLPFIL) on your system.
  2. COMLNK $APGNOT/RLDIF
Documentor:
Eric W Greisen
Date:
2011-01-24

Task:
SWAPR
Summary: ignore autocorrelation data.
Files:
/31DEC10/APL/PGM/NOTST/SWAPR.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/SWAPR
Documentor:
Eric W Greisen
Date:
2011-01-24

Task:
SNPLT
Summary: did not handle PC table phases correctly. It did not try both the -180 to 180 and the 0 to 360 passible ranges since the type code was incorrect.
Files:
/31DEC10/Y/PGM/NOTST/SNPLT.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($YPGNOT) on your system.
  2. COMLNK $YPGNOT/SNPLT
Documentor:
Eric W Greisen
Date:
2011-03-23

Task:
IMAGR
Summary: has an option to average data in a baseline-length dependent fashion. In bandwidth-synthesis mode, an addressing error caused most data to be averaged into the first channel. Images contained radial streaks away from sources located away from the phase center.
Files:
/31DEC10/Q/PGM/OOP/IMAGR.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($QPGOOP) on your system.
  2. COMLNK $QPGOOP/IMAGR.FOR
Documentor:
Eric W Greisen
Date:
2011-04-15

Task:
NX
Summary: (index) tables are now computed on-the-fly by many tasks writing uv data sets. The code contained an error causing the last record for a subarray to be written with the subarray number for the next subarray. This cazused slef-cal in CALIB to omit that last scan and thus to write out fewer data points than it should have.
Files:
/31DEC10/APL/SUB/NOTST/RNXUPD.FOR
/31DEC10/APL/PGM/NOTST/SPLAT.FOR
Fix:
  1. Fetch the files listed above and place them in the corresponding areas ($APLNOT and $APGNOT) on your system.
  2. COMRPL $APLNOT/RNXUPD
  3. COMLNK $APGNOT/{AVSPC,DBCON,DIFRL,FIXAL}
  4. COMLNK $APGNOT/{FLGIT,FLOPM,FUDGE,NOIFS}
  5. COMLNK $APGNOT/{PHSRF,REWAY,RLCOR,SPLAT}
  6. COMLNK $APGNOT/{SPLIT,SUFIX,SWAPR,TYAPL}
  7. COMLNK $APGNOT/{UVAVG,UVBAS,UVCOP,UVFIX}
  8. COMLNK $APGNOT/{UVGLU,UVLIN,UVLSD,UVLSF}
  9. COMLNK $APGNOT/{UVMOD,UVMTH,UVRFI,VBGLU}
  10. COMLNK $QPGNOT/{BLCHN,CALIB,CVEL}
Documentor:
Eric W Greisen
Date:
2011-04-15

Task:
IMEAN
Summary: did not write the histogram values to the output text file correctly.
Files:
/31DEC10/Y/PGM/IMEAN.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($YPGM) on your system.
  2. COMLNK $YPGM/IMEAN
Documentor:
Eric W Greisen
Date:
2011-06-08

Task:
NOIFS
Summary: took the wrong basic frequency to use for scaling the UVW's to the new reference frequency. As a result, they were off by one half of an IF usually.
Files:
/31DEC10/APL/PGM/NOTST/NOIFS.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/NOIFS
Documentor:
Eric W Greisen
Date:
2011-06-14

Task:
CVEL
Summary: experienced confusion in the use of 3 separate error code variables in the init routine. The ones set were not always the one passed back letting it apply non-existent BP tables to the data (i.e. flagging all).
Files:
/31DEC10/Q/PGM/NOTST/CVEL.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($QPGNOT) on your system.
  2. COMLNK $QPGNOT/CVEL
Documentor:
Eric W Greisen
Date:
2011-06-23

Task:
FITLD
Summary: UVLOD and other FITS reading tasks did not load character-valued table header keywords correctly in many circumstances.
Files:
/31DEC10/APL/SUB/NOTST/ATCONV.FOR
/31DEC10/APL/SUB/NOTST/FITLD.FOR
/31DEC10/APL/SUB/NOTST/UVLOD.FOR
/31DEC10/APL/SUB/NOTST/IMLOD.FOR
/31DEC10/APL/SUB/NOTST/TBIN.FOR
/31DEC10/APL/SUB/NOTST/CALRD.FOR
Fix:
  1. Fetch the files listed above and place them in the corresponding area ($APLNOT and $APGNOT) on your system.
  2. COMRPL $APLNOT/ATCONV
  3. COMLNK $APGNOT/{FITLD,UVLOD,IMLOD,TBIN,CALRD}
Documentor:
Eric W Greisen
Date:
2011-06-24

Task:
UVCOP
Summary: did not actually apply flags when the adverb SOURCES was used.
/31DEC10/APL/PGM/NOTST/UVCOP.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/UVCOP
Documentor:
Eric W Greisen
Date:
2011-07-01

Task:
IMAGR
Summary: lost the Clean beam information for all facets other than one when doing spectral-line cubes with ONEBEAM true. As a consequence it used the Clean beam value for the first plane of the cube throughout that cube and correctly recorded that fact in the CG table. This may be tolerable if the first channel has a decent beam but is not what is intended.
Files:
/31DEC10/Q/SUB/OOP/QCLEAN.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($QOOP) on your system.
  2. COMRPL $QOOP/QCLEAN
  3. COMLNK $QPGOOP/IMAGR
Documentor:
Eric W Greisen
Date:
2011-07-25

Task:
VPLOT
Summary: did not plot models correctly for more than 64 facets. Facet 66 was assigned the value of NMAPS and all other facets were ignored when NCOMP=0.
Files:
/31DEC10/Y/PGM/NOTST/VPLOT.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($YPGNOT) on your system.
  2. COMLNK $YPGNOT/VPLOT
Documentor:
Eric W Greisen
Date:
2011-07-29

Task:
CLCOR
Summary: used the wrong sign of the Y antenna position in the EOPS and SUND operations. This should produce incorrect results and should have been changed in the antenna file overhaul in 2009.
Files:
/31DEC10/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:
2011-08-04

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


Eric W. Greisen