[AIPS] Patches to AIPS 31DEC11 [NRAO]

This page most recently updated on $Date: 2012/11/19 16:30:00 $ (UT)


You will find patches to known bugs in 31DEC11 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 31DEC11 and may be downloaded using a 31DEC11 "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. Imaging code had problems with large gridded modeling. 2012-01-16
  2. UVFIT had many areas dimensioned for the old limit of 4 components, rather than the new limit of 20. 2012-01-16
  3. FARS did not shift residuals back to the original lambda**2 correctly and did not add residuals into amplitude/phase outputs correctly. 2012-01-16
  4. AFARS did not handle BLC correctly, producing wrong rotation measure images. It also stated incorrect information in the history. 2012-01-16
  5. SQASH had an error in history writing that led to aborts. 2012-01-16
  6. FITAB omitted an essential keyword for compressed UV data. 2012-01-16
  7. CLCOR ignored the fact that the GMRT uses an opposite phase convention. 2012-01-16
  8. VLANT did not correct EVLA data properly. 2012-03-01
  9. SCMAP and SCIMG did not apply the flag table to the data entering the self-cal step 2012-03-07
  10. Mac OS/X version Mountain Lion changed ps to issue an error message when there is a library path; procedures needed defenses against this. 2012-11-19
  11. 2012-??-??

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


Task:
IMAGR
Summary: and many others were changed to allow large image models to do gridded subtraction with interpolated images of twice the input size. Not all subroutines were modified when the change was made, leading to failures at least in IMAGR. The gridded subtraction requires power of 2 grid sizes, so some routines were changed to round up to the next power of 2. With today's large data sets, progress messages are needed in the modeling.
Files:
/31DEC11/APL/SUB/SETDO3.FOR
/31DEC11/APL/SUB/APL/SUB/NOTST/GRDAT.FOR
/31DEC11/APL/SUB/APL/SUB/NOTST/GRDSET.FOR
/31DEC11/APL/SUB/APL/SUB/NOTST/SETGRD.FOR
/31DEC11/APL/SUB/Q/SUB/NOTST/VISDFT.FOR
/31DEC11/APL/SUB/Q/SUB/NOTST/ALGMEM.FOR
/31DEC11/APL/SUB/Q/SUB/NOTST/ALGSTB.FOR
Fix:
  1. Fetch the file listed above and place them in the corresponding areas ($APLSUB, $APLNOT, and $QNOT) on your system.
  2. COMRPL $APLSUB/SETDO3
  3. COMRPL $APLNOT/{GRDAT,GRDSET,SETGRD}
  4. COMRPL $QNOT/{VISDFT,ALGMEM,ALGSTB}
  5. COMLNK $QPGOOP/{IMAGR,BLING,OOSUB,SCMAP,SCIMG}
  6. COMLNK $QYPGNOT/EVAUV
  7. COMLNK $YPGNOT/{CAPLT,CLPLT,IBLED,VPLOT}
  8. COMLNK $QPGNOT/{BLCAL,BLCHN,BPASS,CALIB}
  9. COMLNK $QPGNOT/{CPASS,FRING,KRING,LPCAL}
  10. COMLNK $QPGNOT/{PCAL,UVADC,UVCON,UVSUB}
Documentor:
Eric W Greisen
Date:
2012-01-16

Task:
UVFIT
Summary: had been changed to allow up to 20 components in the visibility model but large parts of the code had not been suitably adjusted. The times appearing in the text output file were changed to represent the actual minimum and maximum included. The text input and output options were changed to allow an optional comment to be appended to the output from the input.
Files:
/31DEC11/APL/PGM/NOTST/UVFIT.FOR
/31DEC11/HELP/UVFIT.HLP
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT and $HLPFIL) on your system.
  2. COMLNK $APGNOT/UVFIT
Documentor:
Eric W Greisen
Date:
2012-01-16

Task:
FARS
Summary: had trouble adding the residuals back to the model. The phases were not shifted back to the original set of wavelengths and the residuals were not correctly added to the model when amplitude and phase were output.
Files:
/31DEC11/APL/PGM/NOTST/FARS.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/FARS
Documentor:
Eric W Greisen
Date:
2012-01-16

Task:
AFARS
Summary: did not compute rotation measure correctly for the output image if there was a BLC(1) greater than one in the inputs. It also attempted 2nd order interpolations even when the peak pixel was too close to the edge. The improved history file had a misinterpretation of one of the adverb values.
Files:
/31DEC11/APL/PGM/NOTST/AFARS.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($APGNOT) on your system.
  2. COMLNK $APGNOT/AFARS
Documentor:
Eric W Greisen
Date:
2012-01-16

Task:
SQASH
Summary: had a format error in the history writing that caused the task to abort.
Files:
/31DEC11/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:
2012-01-16

Task:
FITAB
Summary: forgot to write the TNULL keyword for compressed visibility data. Flagged samples are written with the integer value -32767 to indicate that they are flagged. That fact must be passed to reading tasks (although AIPS' FITLD AND UVLOD knew this without being told)
Files:
/31DEC11/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:
2012-01-16

Task:
CLCOR
Summary: ignored the fact that the GMRT uses an opposite phase sign convention. Corrected the portion of code that shifts antenna and source positions plus portions that correct UT1-UTC and the North Pole position and a portion that corrects for the delay due to bending in the Sun's gravitational field.
Files:
/31DEC11/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:
2012-01-16

Task:
VLANT
Summary: did not convert hour angles from local to Greenwich and reversed the sign of the Y correction (since CASA gave us EVLA data in left-handed coordinates initially). Everything is now right handed and Earth-centered arrays use hour angle at Greenwich.
Files:
/31DEC11/APL/PGM/NOTST/VLANT.FOR
Fix:
  1. Fetch the file listed above and place it in the corresponding area ($ARGNOT) on your system.
  2. COMLNK $APGNOT/VLANT
Documentor:
Eric W Greisen
Date:
2012-03-01

Task:
SCMAP
Summary: and SCIMG did not apply the flag table to un-compressed data sets as the data were read into the self-cal section of the code. The flag table was applied to compressed data sets and, in the imaging step, to both kinds of data.
Files:
/31DEC11/Q/PGM/OOP/SCMAP.FOR
/31DEC11/Q/PGM/OOP/SCIMG.FOR
Fix:
  1. Fetch the files listed above and place them in the corresponding area ($QPGOOP) on your system.
  2. COMLNK $QPGOOP/SC{IMG,MAP}
Documentor:
Eric W Greisen
Date:
2012-03-07

Task:
XASERVERS
Summary: UNIXSERVERS, TVALT, and STARTPMON all use the unix command ps. Mac OS/X version Mountain Lion objects to the use of ps when there is a library path defined since ps has setuid privilege. The warning message confused these procedures.
Files:
/31DEC11/SYSTEM/UNIX/TVALT
/31DEC11/SYSTEM/UNIX/STARTPMON
/31DEC11/SYSTEM/UNIX/UNIXSERVERS
/31DEC11/SYSTEM/UNIX/XASERVERS
Fix:
  1. Fetch the files listed above and place them in the corresponding area ($SYSUNIX) on your system.
  2. Copy all of these files also to $SYSLOCAL and make sure that they are executable (chmod +x ...) TVALT should also be in $AIPS_ROOT.
Documentor:
Eric W Greisen
Date:
2012-11-19

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


Eric W. Greisen