[AIPS] Patches to AIPS 31DEC15 [NRAO]

This page most recently updated on $Date: 2016/08/31 14:48:02 $ (UT)


You will find patches to known bugs in 31DEC15 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. GC table used to allow 200 values in the gain curve; restore this limit.2016-01-07, 2016-01-15
  2. PBEAM scaled Stokes I data incorrectly when adding right and left data files. 2016-01-12
  3. DBCON re-instated flagged table rows 2016-01-28
  4. DTSUM did not handle the new internal UV format correctly. 2016-02-09
  5. PCALtypo caused errors in antennas used with the new ANTENNA1, ANTENNA2 format. 2016-04-15
  6. PCAL lost Faraday Rotation calibration when doing SPECTRAL solutions. 2016-04-29
  7. IMAGR found automatic boxes in only part of the image when IMSIZE(2) < IMSIZE(1) 2016-05-10
  8. OOP editing had trouble with source number zero sometimes found in tables. 2016-05-19
  9. UVFIX used the actual observing frequency rather than the one in the header to scale UVW. 2016-06-20
  10. OOSUB and other model subtraction/division could get the scaling between frequency channels wrong. 2016-06-24
  11. UVLOD, FITLD did not find the subarray value accurately enough. 2016-08-25
  12. SPLIT did not write the correct header frequency when averaging IFs with BIF greater than 1. 2016-08-26
  13. FITLD and UVLOD did not test data flagging correctly when writing and reading UV tables in compressed format. 2016-08-31
  14. 2016-??-??

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


Task:
GC
Summary: tables used to allow 200 values of gain curve (and Y values) per polarization per IF per antenna. Such a large size is not needed. Unfortunately, some correlators use this maximum even though only a few non-blank values are written. Restored the limit of 200 rather than the reduced limit of 120. The compile list was corrected on 2016-01-15.
Files:
/31DEC15/INC/PGCV.INC
/31DEC15/INC/PGCV.COMP
Fix:
  1. Fetch the files listed above and place them in the corresponding area ($INC and your work area, respectively) on your system.
  2. source PGCV.COMP
Documentor:
Eric W Greisen
Date:
2016-01-07, 2016-01-15

Task:
PBEAM
Summary: has the option of adding right polarization and left polarization data to make a single I polarization solution. The scaling of the data was incorrect in this mode. Also the format to tell what scaling was used was inadequate.
Files:
/31DEC15/Y/PGM/NOTST/PBEAM.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($YPGNOT) on your system.
  2. COMLNK $YPGNOT/PBEAM
Documentor:
Eric W Greisen
Date:
2016-01-12

Task:
DBCON
Summary: copied flagged table rows as if they were good rows. Changed to drop any flagged rows completely.
Files:
/31DEC15/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:
2016-01-28

Task:
DTSUM
Summary: did not pick up the second antenna and subarray numbers correctly from the new UV internal format. As a consequence, all samples were counted as one.
Files:
/31DEC15/APL/PGM/OOP/DTSUM.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGOOP) on your system.
  2. COMLNK $APGOOP/DTSUM
Documentor:
Eric W Greisen
Date:
2016-02-09

Task:
PCAL
Summary: did not pick up the second antenna number correctly from the new internal format when selecting the data. It is not clesr to me that it could have found solutions.
Files:
/31DEC15/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.FOR
Documentor:
Eric W Greisen
Date:
2016-04-15

Task:
PCAL
Summary: lost the Faraday Rotation calibration when copying each IF to a scratch file for channel-dependent solutions. It also took flagging of a sample too seriously and quit when it could have gone on simply ignoring the flagged sample. GRDSUB needed to defend itself against bad grid- and work-file pointers.
Files:
/31DEC15/Q/PGM/NOTST/PCAL.FOR
/31DEC15/Q/SUB/NOTST/GRDSUB.FOR
/31DEC15/Q/SUB/NOTST/GRDSUB.SRT
Fix:
  1. Fetch the files listed above and place them in the corresponding areas ($QPGNOT, $QNOT, and your working directory ) on your system.
  2. COMRPL $QNOT/GRDSUB
  3. source GRDSUB.SRT
Documentor:
Eric W Greisen
Date:
2016-04-29

Task:
IMAGR
Summary: was able to do auto-boxing only over X values less than the Y image size. No problem if Y is greater than or equal to X, but boxes were only found in left half or quarter or ... of the image when IMSIZE(2) < IMSIZE(1)
Files:
/31DEC15/Q/SUB/OOP/QCLEAN.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($QOOP) on your system. ,li> COMRPL $QOOP/QCLEAN
  2. COMLNK $QPGOOP/{IMAGR,SCIMG,SCMAP}
Documentor:
Eric W Greisen
Date:
2016-05-10

Task:
OOP
Summary: editing (tasks EDITA and SNEDT) made no flags if the source number in the table was zero which happens sometimes.
Files:
/31DEC15/Q/SUB/OOP/QEDIUTIL.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($QOOP) on your system.
  2. COMRPL $QOOP/QEDIUTIL
  3. COMLNK $QPGOOP/{EDITA,EDITR,SNEDT,SCMAP,SCIMG}
Documentor:
Eric W Greisen
Date:
2016-05-19

Task:
UVFIX
Summary: was supposed to scale the physical values of the projected baseline into wavelengths at the header frequency. Instead, it used the actual frequency of the data sample. AIPS usually has the header matching that of the first IF making this error negligable, but other situations may arise.
Files:
/31DEC15/APL/PGM/NOTST/UVFIX.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/UVFIX
Documentor:
Eric W Greisen
Date:
2016-06-20

Task:
OOSUB
Summary: and other model subtraction or division tasks (e.g. CALIB) could get the scaling of U,V,W between channels wrong when handling a number of models (facets, frequencies).
Files:
/31DEC15/Q/SUB/NOTST/ALGMEM.FOR
/31DEC15/Q/SUB/NOTST/ALGMEM.SRT
Fix:
  1. Fetch the files listed above and place them in the corresponding areas ($QNOT and your work area, respectively) on your system.
  2. COMRPL $QNOT/ALGMEM
  3. source ALGMEM.SRT
Documentor:
Eric W Greisen
Date:
2016-06-24

Task:
UVLOD, FITLD
Summary: have to convert the old BASELINE random parameter encoding to the modern 3 random parameters. The round-up used for subarray was too small to get the correct result.
Files:
/31DEC15/APL/PGM/NOTST/UVLOD.FOR
/31DEC15/APL/PGM/NOTST/FITLD.FOR
Fix:
  1. Fetch the files listed above and place them in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/{UVLOD,FITLD}
Documentor:
Eric W Greisen
Date:
2016-08-25

Task:
SPLIT
Summary: did not write out the correct header frequency when BIF was larger than one and IFs were averaged.
Files:
/31DEC15/APL/PGM/NOTST/SPLIT.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/SPLIT
Documentor:
Eric W Greisen
Date:
2016-08-26

Task:
FITLD, UVLOD
Summary: did not test data flagging correctly when reading UV tables and writing UV data in compressed format. The problem caused most data to be dropped when DOKEEP is false.
Files:
/31DEC15/APL/SUB/NOTST/RUVTAB.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APLNOT) on your system.
  2. COMRPL $APLNOT/RUVTAB
  3. COMLNK $APGNOT/{UVLOD,FITLD}
Documentor:
Eric W Greisen
Date:
2016-08-31

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


Eric W. Greisen