[AIPS] Patches to AIPS 15APR99 [NRAO]

This page most recently updated on $Date: 2001/12/28 20:52:19 $ (UT)


You will find patches to known bugs in 15APR99 here.

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

  1. TVCPS and other tasks that use the image catalogue. 1999-05-14, 1999-06-18
  2. APGPS and TECOR 1999-05-14
  3. CLIP, DTCHK, RESEQ address UV data wrongly 1999-05-25
  4. REGRD crashed under Solaris, others 1999-07-06
  5. UVCOP errors selecting channels, IFs 1999-07-21
  6. IMAGR selects wrong fields 1999-07-22
  7. FITAB followed by FITTP makes unreadable files 1999-07-27
  8. FITAB did not write image tables and quantized floating images 1999-08-09
  9. PRTTP patched code did not convert DOCRT to reasonable values 1999-09-07

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


Task:
TVCPS and other tasks that use the image catalogue
Summary:
The file sequence number is not stored in nor retrieved from the image catalog on little-endian (Intel byte- order) computers. This causes TVCPS (and perhaps other tasks and verbs that use the image catalogue) to fail. You do not need to apply this patch on big-endian computers.

If you are not sure whether you should apply this patch find out which version of ZDCHI2 is used and check the value assigned to BYTFLP: if this is zero then you do not need this patch.

The patch file was incorrect in the period 1999-05-14 to 1999-06-18. It matched the old rather than the new version.

Files:
/15APR99/APL/SUB/CATN2L.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APLSUB on your system.
  2. COMRPL $APLSUB/CATN2L.FOR
  3. COMLNK $AIPPGM/AIPS
  4. COMLNK $YPGM/*.FOR
  5. COMLNK $YPGNOT/*.FOR
  6. COMLNK $QYPGM/*.FOR
  7. COMLNK $QYPGNOT/*.FOR
  8. COMLNK $APGOOP/*.FOR
  9. COMLNK COMLNK $QPGOOP/*.FOR
Documentor:
Chris Flatters
Date:
1999-05-14
Documentor:
Eric Greisen
Date:
1999-06-18

Task:
TECOR and APGPS
Summary:
TECOR and APGPS store the dispersive delay with the wrong sign.
Files:
/15APR99/APL/PGM/OOP/APGPS.FOR
/15APR99/APL/PGM/OOP/TECOR.FOR
Fix:
  1. Fetch the files listed above and place them in the corresponding area ($APGOOP on your system.
  2. COMLNK $APGOOP/APGPS
  3. COMLNK $APGOOP/TECOR
Documentor:
Chris Flatters
Date:
1999-05-14

Task:
CLIP, DTCHK, RESEQ
Summary:
CLIP assumed that the Stokes axis was the second axis with compressed data and hence could get the addressing of the UV data wrong, e.g. for the VLBA Correlator output. DTCHK did not fix the address pointers to address VIS(3,*) and so worked only for compressed data. RESEQ did not multiply the pointers by 3 for expanded (previously compressed) data and so failed on compressed data.
Files:
/15APR99/APL/PGM/CLIP.FOR
/15APR99/APL/PGM/NOTST/DTCHK.FOR
/15APR99/APL/PGM/NOTST/RESEQ.FOR
Fix:
  1. Fetch the files listed above and place them in the corresponding areas ($APLPGM for CLIP, $APGNOT> for the others) on your system.
  2. COMLNK $APLPGM/CLIP
  3. COMLNK $APGNOT/DTCHK
  4. COMLNK $APGNOT/RESEQ
Documentor:
Eric W. Greisen
Date:
1999-05-25

Task:
REGRD
Summary:
REGRD would fail unpredictably on Solaris (and possibly other platforms too) due to a buffer being 2x too small.
Files:
/15APR99/APL/PGM/NOTST/REGRD.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/REGRD
Documentor:
Patrick P. Murphy
Date:
1999-07-06

Task:
UVCOP
Summary:
UVCOP used the increments for frequency and IF suitable to the output data set to compute a channel-selection mask into the input data set. If the frequency axis precedes the IF axis, data selection errors occured if both BIF > 1 and BCHAN/ECHAN selected fewer than all of the spectral channels. The error appeared in 15OCT98 on August 24.
Files:
/15APR99/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:
1999-07-21

Task:
IMAGR
Summary:
IMAGR in OVERLAP 2 mode did not select the next field to Clean properly due to incorrect maxima information.
Files:
/15APR99/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:
1999-07-22

Task:
FITAB combined with FITTP
Summary:
Until this patch, UV data sets written out with FITAB, read back in with UVLOD or FITLD, processed, and then written out with FITTP could contain AIPS history records which will define the data set falsely to the standard reading tasks in AIPS. The data-writing tasks have been changed to avoid writing out pre-existing AIPS history and some of the data reading tasks have been modified to allow the error to be circumvented in data sets written since FITAB was released.
Files:
/15APR99/APL/PGM/PRTTP.FOR
/15APR99/APL/PGM/NOTST/FITTP.FOR
/15APR99/APL/PGM/NOTST/FITAB.FOR
/15APR99/APL/PGM/NOTST/UVLOD.FOR
/15APR99/APL/PGM/NOTST/IMLOD.FOR
/15APR99/HELP/IMLOD.HLP
/15APR99/HELP/UVLOD.HLP
/15APR99/HELP/PRTTP.HLP
/15APR99/HELP/FITLD.HLP
Fix:
  1. Fetch the files listed above and place them in the corresponding areas (1 in $APLPGM, the next 4 in $APGNOT, and the last 4 in $HLPFIL) on your system.
  2. COMLNK $APGNOT/FITTP $APGNOT/FITAB
  3. COMLNK $APGNOT/IMLOD $APGNOT/UVLOD
  4. COMLNK $APLPGM/PRTTP
Documentor:
Eric W. Greisen
Date:
1999-07-27

Task:
FITAB
Summary:
FITAB failed to copy the image data to the output buffer when quantized, but floating, images were written. The correct number of bytes appeared in the output file, but none of the correct data. Extension tables were not written for image files, but should have been okay for uv files.
Files:
/15APR99/APL/PGM/NOTST/FITAB.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/FITAB
Documentor:
Eric W. Greisen
Date:
1999-08-09

Task:
PRTTP
Summary:
PRTTP was broken by the FITAB patch of July 27. The symptom was a failure to convert DOCRT=1 to 72 character width and DOCRT=-1 to 132 printed width. 15OCT99 responds to the actual width of terminals and parts of that new code crept into the patch.
Files:
/15APR99/APL/PGM/PRTTP.FOR
Fix:
  1. Fetch the file listed above and place it in the correspondin area ($APLPGM) in your system.
  2. COMLNK $APLPGM/PRTTP
Documentor:
Eric W. Greisen
Date:
1999-09-07

Pat Murphy