`;----------------------------------------------------------------------- ; Copyright (C) 2018-2020 ; Associated Universities, Inc. Washington DC, USA. ; ; This program is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License as ; published by the Free Software Foundation; either version 2 of ; the License, or (at your option) any later version. ; ; This program is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public ; License along with this program; if not, write to the Free ; Software Foundation, Inc., 675 Massachusetts Ave, Cambridge, ; MA 02139, USA. ; ; Correspondence concerning AIPS should be addressed as follows: ; Internet email: aipsmail@nrao.edu. ; Postal address: AIPS Project Office ; National Radio Astronomy Observatory ; 520 Edgemont Road ; Charlottesville, VA 22903-2475 USA ----------------------------------------------------------------------- This file must be used to record any changes made to the Master version of AIPS kept in SOCORRO. An entry is: line 1: Date Program name Your name line 2: What was done (may span multiple lines) line n-1: Where has this change been moved (e.g. 15JUL94, nowhere) line n: Blank The details of line 1 are important since programs are used to find specified strings and do conversions on them. It MUST be typed as follows: 1 blank, 4 digits, a period, two blanks, then the Month, day, comma, year, some space, a title, some more space, your name. *********************************************************************** *********************************************************************** Changes while 31DEC19 is TST *********************************************************************** *********************************************************************** 15276. December 3, 2018 Version update Eric Changed $APLSUB/GETRLS.FOR. $INSUNIX/INSTEP1, $SYSPERL/install.pl, $SYSPERL/update.pl, $SYSPERL/ZXHLP2.PL, $SYSPERL/LaCook.PL, $UPDUNIX/UPDCONTROL, $SYSUNIX/AIPSPATH.CSH, $SYSUNIX/AIPSPATH.SH to make 31DEC19 instead of 31DEC18 - also fix dates in install.pl. Moved nowhere. 15277. December 4, 2018 UVHOL, HOLOG Eric Changed UVHOL to also output a comment line labeling the columns of the data output. Changed HOLOG to parse this line and know whether the input data are amplitude and phase or real and imaginary and convert the latter to the former. Added info about this to HOLOG help file. Moved to 31DEC18 this date. 15278. December 4, 2018 TVIEW Eric Corrected the coordinate computation when ROAMing in the reference image. It was failing when the reference image was sub-imaged. Also added code to detect a TV window size change after the menu item is read. This will reload the images in case the user chose to change the window size during the menu interaction. Moved to 31DEC18 this date. 15279. December 4, 2018 OOP routine Eric UVFRQS in UVUTIL.FOR was issuing an error message if ECHAN was 0 or EIF was 0. Changed to issue error messages only when real BCHAN/ECHAN or BIF/EIF values do not accord with the number of points on the axis. Moved to 31DEC18 this date. 15280. December 5, 2018 CLCOR Eric Changed EOPS function to allow many days (100) instead of the previous limit of 10. Changed the interpolation functions which assumed that there were 5 days of values to give instead the correct number of values. Changed the default CLCORP(2) to 25 so that users are less likely to have to pay attention to it. Also expanded the time range o each group by a little to avoid edge issues. Added code to refigure the groups so as not to include data in the interpolation that was not on integer day steps. Moved to 31DEC18 this date. 15281. December 10, 2018 DTSIM Eric The DTERM code was simply wrong. Examining how AIPS calibrates polarization I was able to reverse engineer the linear method. I left the 2nd order code as it was but it is clearly in error. Added words to encourage LINPOL. Moved to 31DEC18 this date. 15282. December 11, 2018 SNBLP Eric NEW TASK: does SNPLT but plots the baseline-based values from the SN or CL table. Thus it looks for big jumps in the calibration values that would be applied to the data. This is the initial basis of the task SNFLG. It differences phase, delay, and rate and multiplies amplitude gains. Also changed SNPLT to inform the user when IFRA mode is changed to IFDF. Changed also to allow IFRA for PSYS (Tsys from an SY table). Moved to 31DEC18 this date. 15283. December 14, 2018 DTSIM Eric Restored Athol's nearly correct code for DTERM and parallactic angle application. The latter must be done even if the D terms are zero. Added option to "correct" for parallactic angle, like CLCOR. The default does the correction but one may suppress it. Changed DTPM.INC for the new parameter plus DTSIM for the old dterm code and new option and the help for the new option and to remove the deprecation of non LINPOL. Moved to 31DEC18 this date. 15284. December 18, 2018 LISTR Eric Added DPARM(1)=20 to display azimuth in GAIN listings. Moved to 31DEC18 this date. 15285. December 19, 2018 CLCOR Eric My recent "fix" caused EOPS to fail if the observations are recent. The USNO EOP file gives the most recent date of real data as opposed to predictions. CLCOR requires the reqested data all to be "real". Therefire CLCORP(2) becoming 25 causes failures when reducing real data. CLCORP(1) < 0 is also bad since code assumes it is positive and the subtracts it. Changed the default handling and fixed a failure to close the file on error. Moved to 31DEC18 this date. 15286. December 21, 2018 large BP tables Eric Changed BPASS to allow up to 15000 times. Changed BPEDIT to allow up to 15360 colors (times). Link BPEDT, PCEDT, PDEDT. Moved to 31DEC18 this date. 15287. December 21, 2018 TLCAL Eric Fix the error message when the telcal file is not found. ZTXOPN gave the full path name but TLCAL itself truncated the the name that it had. Now it will show the full name. Add further comments about DOAPPLY to the help file - it is a VERY useful option. Moved to 31DEC18 this date. 15288. December 31, 2018 AIPSLetter Eric Put back the AIPSLetter for 31DEC18. A Ps.gz, PDF, and TEX file. The uncompressed PS is really too large. Moved everywhere in TEXT. 15289. December 31, 2018 VLA antenna files Eric The file $AIPSTARS/EVLA.ant.2018 was copied from the analysts web site and installed for use. Moved everywhere in TEXT. 15290. December 31, 2018 VLBAUTIL, VLBARUN Lorant Added parameters EOPSFILE/TECRFILE to VLBARUN to use local copies in case the web site fetch is unsuccessful. Added after Amy already prepared for this in VLBAEOPS/VLBATECR earlier. Moved to 31DEC18 this date. 15291. January 3, 2019 "FLUX" Eric Plot tasks have used the word flux when the correct word is brightness. Changed COMLAB, IAXIS1, GREYS, KNTR, PROFL, and PCNTR. Moved to 31DEC18 this date. 15292. January 18, 2019 VBCAL Eric The task failed to write out any data due to 2 egregious errors made in March 2014. Corrected these and fixed the default values for the FPARM, RPARM, VPARM adverbs. Improved the wording of the help file. Improved the one-liner and mention VBCAL in REAMP help file. Moved to 31DEC18 this date. 15293. January 23, 2019 BPASS Eric Changed to have BPASSPRM(10) = 7 through 10 to do normalization with medians rather than means. 7 and 9 use ICHANSEL, 7 and 8 do phase and amplitude, 9 and 10 do amplitude only. Moved nowhere. 15294. January 30, 2019 models Eric ALGMEM when asked to compute a model simply zeroed the data record except for weights. This is not good when only some of the Stokes are being modeled and when the model depends on frequency so that only certain channels are being done at the time. Fixed the zeroing to do only what is needed. VISDFT does not seem to work however. Moved to 31DEC18 on March 5. 15295. January 31, 2019 UVLOD, FITLD Eric Changed the counters of the number of spectral windows to double precision. Integer could overflow. Added a progress message to UVLOD and the UVLOD part of FITLD. Add percent previously flagged to history. Moved nowhere. 15296. February 1, 2019 OOSUB Eric DFT modeling with multiple frequencies did not work unless all groups had the same number of channels. Found and fixed cause, noticed that 'MODL' would not work if there are so many channels/facets that more than one pass in the UV data were required. That fix and the extended model objects not tested but the one pass and points extensively tested. Changed: OOSUB To allow VISDFT to issue progress messages PBUTIL To not have groups of channels with opposite frequency order (i.e. when AC is overlapped by BD) VISDFT To also send the max number of channels in a group to the Q routines so that they can find the MODL pointer. Since it can read the UV data file in one pass and the accumulated data in a second pass, added code to zero the input UV data on the first pass Change UUU to a scale factor. QXXPTS Added call argument to use to point at the model code. Use that now as a scale to add (modl) or subtract (' ') the model as set by VISDFT. Simplifies inner loop. QGASUB As QXXPTS QSPSUB As QXXPTS QPTDIV Drop unused variable that was some of the cause of all this trouble. Moved to 31DEC18 on March 5. 15297. February 4, 2019 DFT vs GRID Eric Image modeling tasks must choose the more efficient CMETHOD unless the user has specified a method. Routines that decide how many facets/channels may be modeled at once need to know the method as do the ultimate subtraction or division routines. OOSUB was found to be ignorant of essential parameters at the first such decision point. Changed OOSUB to acquire the number of visibilities (not set RRAW mode) and changed FORCED to handle the number of facets <= 0. Moved to 31DEC18 on March 5. 15298. February 6, 2019 TYSMO Eric The clipping parameters (in APARM) were applied when reading the TY or SY table into the arrays to be median-window smoothed. Then the MWF clipping (in CPARM) was applied, but the input data were not checked as well for the initial APARM clip. Corrected this and made 3 counters for each data type - to count the APARM clip, the CPARM clip, and any other samples found blanked in the MWF output. Added info about these numbers to the help file. Added option DOSCALE which requests that the MWF be done normalizing the values in each scan so that CPARM refers to normalized values rather than the values in the ?Y file. Moved to 31DEC18 on March 5. 15299. February 6, 2019 XAS.SHR Eric Added comments to the Makefile for MACINT in case of gcc rather than intel. Adjusted several for modern Macs (X11R6 is disappearing, only X11 directory remains). No need to rebuild XAS however. Moved nowhere. 15300. February 7, 2019 FRING Eric Changed DPARM(9)=0 meaning whenthe array is EVLA. Rates are almost never wanted for the EVLA and so changed DPARM(9)=0 to 1 for EVLA before setting the no-rate flag. This avoids a mistake whose consequences are not obvious to non-VLBI users. Moved nowhere. 15301. February 7, 2019 TYSMO Eric The subroutine that applies flags to the SY table was not updated when the format was changed (to add the column for Solar vs regular). All flagging in TYSMO was wrong. Moved to 31DEC18 March 5. 15302. February 8, 2019 CLCAL Eric The code that fixed up reference antenna <= 0 did not take the IF into account. Fixed to correct all IFs if they need it in the smoothing code. Moved nowhere. 15303. February 11, 2019 POSSM Eric Corrected the text file output of coordinates to include the correct sign of the declination at all times and to use I2.2 type formats. Also fixed the lead character of the seconds. Moved nowhere. 15304. February 11, 2019 PLOTR Eric Changed to allow in-line (trailing) comments. Mention color column (optional) plus in-line copmments in help file. Moved nowhere. 15305. February 12, 2019 CALIB Eric Changed to allow polarization averaging in linear as well as circular polarization types. Moved nowhere. 15306. February 12, 2019 TYSMO Eric Psum was being flagged when Pdif was clipped (by APARM) and then reported mysteriously as flagged. This was due to testing on Psys when no test on Psys was requested. Changed to flag only when Psys testing is done. A wrong counter was used one place. Moved to 31DEC18 March 5. 15307. February 13, 2019 SY table Eric The number of columns is now 13. Fixed TYCOP, PRTSY, VLAMP, and SY2TY. Moved to 31DEC18 this date. 15308. February 14, 2019 SY Table Eric Changed PUVD.INC to include the number of columns and record size parameters for the SY table. perhaps this will help avoid the issues we have ben having. Changed SYINI, SYSEL, TABSY, and tasks PRTSY, SPLAT, SY2TY, SYSOL, TACOP, TYAPL, TYCOP, TYSMO, UVCOP, VLAMP. Also changed TYCOP so that BPARM(1) <= 0 -> replace all IFs. Moved nowhere. 15309. February 26, 2019 OOP Eric OBJMNGR subroutine OBOPEN can fail if all 6 buffers are in use. Changed the error message to tell about the buffers in use and the new one requested. How BPEDT triggered this state is a mystery because the old error message gave no real information. Moved nowhere. 15310. February 27, 2019 XY pol Eric Corrected the sign of the parallactic rotation formulae in converting linear polarizations to Stokes. Moved to 31DEC18 on March 5. 15311. March 5, 2019 planets Eric Wrote subroutines: FNDCOO Finds mean or apparent coordinate of specified source number. If there is a PO table (planet positions), it makes a list of all planet source numbers in the table. If the source is not a planet, it calls GETSOU if needed and returns the requested coordinates. If a planet, it searches the PO table for the closest position in time and returns that, precessing mean to apparent if requested. COOELV A version of SOUELV that takes the coordinates as arguments (returned by FNDCOO) rather than depending on them from the DSOU common. Has error return of both antenna coords are 0. PARACO A version of PARANG that takes RA/DEC as arguments and uses COOELV for Nasmyth mounts POSEL Copies PO table can select and renumber a single source. Does not make empty output files. Changed POINI Source number column has an underscore these days. SOUELV Fix error: it tested the apparent RA and Dec to see if they were less than a tiny positive amount. That test must be on the absolute values! Added error return if antenna coords are both 0. DATPOL Changed to use FNDCOO rather than SOUFIL and then use PARACO to get parallactic angles DATPAR As DATPOL CVLDOP Changed to keep track of the last time and call FNDCOO when time changes, use resulting coordinates to call DOPLR. Other interval management left as it was. TABLEUTIL Subroutine OSUELV: drop GETSOU call, call instead FNDCOO and then call COOELV rather than SOUELV. Changed USUPAN also to call FNDCOO rather than GETSOU and then use PARACO. This changes: CL2HF, INDXR, WFCLN, IMAGR, SDGRD, BSGRD. Tasks (with help files in most cases) ACFIT Replace GETSOU, SOUELV with FNDCOO, COOELV. ANCAL Replace GETSOU, SOUELV with FNDCOO, COOELV. CLCOR Changed to use FNDCOO in 9 separate places almost all of which are followed bu COOELV. Also one place to use FNDCOO followed by PARACO. DFCOR Much like CLCOR FARAD Replaced GETSOU with FNDCOO and do often rather than once HAFIX Help file: comment that planets are not supported LISTR Change GETSOU to FNDCOO, PARANG to PARACO, and SOUELV to COOELV in 2 subroutines. Added DPARM(1)=21 for hour angles. SPLAT Added copy of PO table with or without source selection. SPLIT Added copy of PO table with source selection. SUFIX Add comment to help file that task does not do planets. UVFIX Add FNDCOO to set J2000 and apparent coordinates. The code that computed the rotation of the field for differential aberration computed the parameter only for the first source. Corrected it to compute the parameter every time the source number changes (even using the moving source coordinates). Precession for planets (and other sources) is done here with JPRECL (subroutine in UVFIX) rather than JPRECS to get the differential aberration correct. UVFLG Changed the shadowing algorithm and the elevation algorithm to use FNDCOO and the latter to also use COOELV. The zero fringe rate code does not support planets. VLANT GETSOU replaced with FNDCOO and a local SOUELV and the normal one replaced with COOELV and equivalent. APGPS GETSOU replaced with FNDCOO, SOUELV with COOELV. TECOR GETSOU replaced with FNDCOO, SOUELV with COOELV. PCVEL Local copy of CVLDOP changed as CVLDOP. ANBPL Add FNDCOO, change to COOELV and PARACO APCAL Add FNDCOO, change to COOELV. ELFIT Replace GETSOU with FNDCOO, change ANTGEO to take the coordinates, correct misuse of apparent coordinates (which could have been 0) ELINT Call FNDCOO at all 3 computations of COSZ. SNFIT As ELFIT SNPLT As ELFIT UVPLT Changed to use FNDCOO and COOELV when plotting hour angle, elevation, or azimuth plus FNDCOO and PARACO when plotting parallactic angle. VPLOT Add FNDCOO, change to COOELV and PARACO WIPER As UVPLT Moved nowhere. 15312. March 6, 2019 IM2CC Eric Added IMSIZE to allow each output image to be larger than the input/NX, input/NY. The image size controls the accuracy of gridded modeling and larger is much better. Moved nowhere. 15313. March 7, 2019 MOVE Eric Add OPCODE='COPD' which copies (allowing duplicate names like 'DUPL') and then deletes the input file. Moved nowhere. 15314. March 7, 2019 DOC files Eric HLPIT.LIS add snblp ABOUT files for CALIBRAT, PLOT, TASK, UV. Moved nowhere. 15315. March 12, 2019 CookBook Eric Corrected all figures that metioned "flux" when they should have mentioned "brightness" or something else more suitable. Chapters: 4 Figures, SNBLP, BPASS, TYSMO, FRING, PO table 6 Figures, add TVIEW, SNBLP 7 Figures, IMFIT rms, TVIEW 8 Figures 9 FITLD weights, CLCOR EOPS, SNBLP 13 Numerous ABOUT files over the last 6 months C FITLD weights, CLCOR (EOPS), SNBLP D SNBLP V Figures, UVHOL I update J update 0 update Recipe Rearrange due to recipes pulled to make space Moved nowhere. 15316. March 12, 2019 SPLAT Eric History file did ICHANSEL even when it was not used. Moved nowhere. 15317. March 18, 2019 FACES Eric Added BMAJ < 0 option to have the CC files written as Gaussians rather than points. Moved nowhere. 15318. March 21, 2019 Obsolete things in help Eric Removed obsolete reference in help files, e.g. MX, DDT, PFT, VM, HORUS, and more. Changed help files for APARM APCLN ASTROMET BLCAL BLCHN BPARM BSMAP CALIB CALIBRAT CCFND CHANNEL CMETHOD CXPOLN DBCON DDISK DFTIM DFTPL EDGSKP GUARD HITEXT IM2UV IMAGR IMSCAL IOTAPE LENGTH LINIMAGE LPCAL LSAPROPO MAPDIF MAPPR MAXPIXEL MDISK NCOUNT NMAPS OOCAL OOSRT OPTELL OUT2NAME OUTNAME OUTFILE OUTPRINT POLPLOT PRTAC PRTCC PRTHI REWEIGHT RSTOR SCIMG SCMAP SDCLN SUBSTR TCODE TDISK TELL TMASK TMODE TNAME UTESS UV1TYPE UV2TYPE UV3TYPE UV4TYPE UV5TYPE UV6TYPE UVMAP UVPRM UVSRT UVSUB VLABP VLAL VLBAIT VTESS WFCLN WHATSNEW Y2K ZWEROSP Changed scripts to use IMAGR rather than MX: CXPOLN VLBAIT Rewrote some of CALIBRAT Updated adverb help files with current list of tasks CHANNEL CMETHOD GUARD MAXPIXEL NCOUNT NMAPS OPTELL OUTFILE OUTPRINT POLPLOT REWEIGHT TELL UVnTYPEs ZEROSP Moved to $APLCONTR: DDTLOAD.001 DDTEXEC.001 DDT.HLP DDTSAVE.HLP PFTLOAD.001 PFTEXEC.001 PFT.HLP old vers of DDTSIZE.HLP Moved nowhere. 15319. March 22, 2019 CLCOR Eric EOPS needs to check that the first date in INFILE is before the observations. It did not do this check; it did only the last real data vs that required. With the 500-day usno file making the rounds these days this is significant. Moved nowhere. 15320. March 22, 2019 IMAGR Eric Changed QCLEAN TV code to include the NEXT FIELD and LAST FIELD options when there are too many fields to list them in a menu. Having to type in field numbers is not okay when trying to check every field (facet). Moved nowhere. 15321. March 26, 2019 Misc Eric RFLAG Increased 1 format. IMAGR Changed QCLEAN to do STOP and ALLOW FLD on all values of OVERLAP. My recent change led to a bad menu when OVERLAP 2 switched to OVERLAP 1. Moved nowhere. 15322. March 26, 2019 FILIT Eric FILIT did not test that the input files are MA rather than UV. The interactive session did not set the flag to display the menu and so loaded the images one after the other without doing anything useful. The roam function in TVUTIL.FOR started with image plane 2 rather than the 1 assumed by TVROAM. This caused the LUT of one of the planes not to update properly. Corrected the passing of the image planes used to include all of them. Moved to 31DEC18 on 28 March. 15323. March 28, 2019 CookBook Eric Changed ABOUT files because of the removal of the obsolescent procs and tasks. Changed were ADVERB GENERAL HARDCOPY OBSOLETE POLARIZA PROCEDUR RUN VLBI. Updated the CookBook chapter 13 for these including COOKBOOK.PDF and the html version available from the web. Moved nowhere. 15323. April 2, 2019 ROTMEAS, SPLIT Eric Created adverb ROTMEAS is a help file plus POPSDAT and NEWPARMS. Added the adverb to SPLIT. If it is not zero, SPLIT will do output Stokes either RR/LL/RL/LR or IQUV and will correct the Q/U or RL/LR values for the stated rotation measure. This will allow averaging Q and U over much wider ranges in frequency in the presence of a known rotation measure. The resulting Q and U are those at 0 wavelength (infinite frequency). The rotation measure applied is listed in the output header's keywords. Moved nowhere. 15324. April 3, 2019 TABSRT Eric TABSRT had a hard-coded LUN=89 which conflicts with the same value used when reading the PO table. Changed TABSRT to use LUNTMP(1) to get a unique LUN not currently in use. Moved nowhere - this is a 31DEC19 bug. 15325. April 3, 2019 plot labels Eric Change 15291 worked mostly but there was one hard-coded string length (for plotting) that did not get larger for the change from "flux" to "brightness". Changed COMLAB, PCNTR, KNTR, GREYS to set the length dynamically. Also changed them to allow the LEVS string to be 20 characters longer. Moved to 31DEC18 this date. 15326. April 4, 2019 QCREATE Eric Changed $APLGEN/ZCREAT.FOR to have QCREATE=0 mean do the quick create. If you really do not want it, then QCREATE has to be set to < 0. Changed help files for QCREATE, GO, DOOSRO, and PIPEAIPS. Moved nowhere. 15327. April 10, 2019 OOSUB, EVAUV Eric UVMDIV had the wrong argument to UVDOUT. It was supposed to send the number of channels but sent the highest channel in the group instead. This caused data to be set zero before the data for that group was run. This affected primarily OOSUB in its division mode. EVAUV had similar code that probably has never been invoked. Moved to 31DEC18 this date. 15328. April 24, 2019 CLCOR Eric The call to FNDCOO for PANG had a bad call sequence leading to an abort. Moved nowhere. 15329. April 24, 2019 SNPLT Eric The computation of the second Psys when doing difference or ratio of 2 IFs had an incorrect subscript. Moved nowhere - patch? 15330. May 1, 2019 planet code Eric The call sequence to FNDCOO was not correct in ACFIT, DFCOR, and VLANT. Numerous places assumed that the data (uv or table) were in time order, including places where that is not enforced. Changed ELINT (incl to check on source change), plus FARAD, LISTR, UVFIX, CVLDOP, PCVEL, ANBPL, APCAL, ELFIT,SNFIT, SNPLT. Moved nowhere. 15331. May 2, 2019 EOPS Eric Changed VLBAUTIL.001 for new web site for EOPs. Moved to 31DEC18 this date. 15332. May 3, 2019 SPIXR Eric The FQ axis handling did not do a subimage correctly. Moved to 31DEC18 this date. 15333. May 8, 2019 RESCALE Eric New adverb DOCC in POPSDAT, NEWPARMS, DOCC.HLP to enhance the RESCALE verb. DOCC <= 0 leave CC files alone, DOCC > 0 rescale CC files, DOCC >=2 scale CC files but not the image. Moved nowhere. 15334. May 14, 2019 POPS K array Eric Decided to increase the K array size by a factor of 4 to allow easier development of RUN files such as pipelines. The new code should automatically update existing ME and SG files. Changed: POPSDAT HLP - to force the MNJs to run the new POPSGN POPSGN Added code to check the size of the current memory file and to delete and recreate it if it is too small. PKSZ INC - changed sizes of K and text arrays, pointer for variables in K and the version # (to 17) SGLOCA Changed the array of known sizes and fixed an error: the later routines expect MSIZE to be the sum of the 2 sizes. It used to return the 2 sizes as was. This led to the loss of any procedures and probably made the auto update fail. STORES For pseudo-verb STORE 1, added code to check if the ME file exists and is large enough. If not, the old one is deleted if needed and a new of the new size created. MSGONE New routine to see if the message file for user 1 exists and if not create on but only for AIPS itself. ZDCHIN Added call to MSGONE since ZDCHIN can generate error messages re NETSP and the like. RDUSER Added call to MSGONE. Moved nowhere. 15335. May 29, 2019 AIPS Eric The subroutine CHKCHR was changed to handle error messages from long and bad strings. It had a formatting error with long strings (bigger than MSGTXT. Moved nowhere. 15336. May 29, 2019 FACSET Eric A format failed for more than 999 Jy. Made it larger. Moved nowhere. 15337. May 29, 2019 BDF2AIPS Eric Added DOSTOKES to select the number of Stokes when data contain both 2 and 4 in the same configuration. Changed AUO to support DOSTOKES -> selStoke in OBIT. Updated BDF2AIPS help file. Moved nowhere. 15338. May 29, 2019 TABED Eric Added recommendation of TABPUT to the TABED help file. It is much much easier to use. Moved nowhere. 15339. May 29, 2019 SETJY Eric Created new adverb SRCALIAS(30) to give source name aliases so that the user's name for a source does not have to match the official name(s) of the source for 'CALC'. Changed POPSDAT.HLP, NEWPARMS.001, SETJY.HLP, SETJY.FOR, and made a new SRCALIAS.HLP. Moved nowhere. 15340. June 3, 2019 TABSRT Eric Add protection to not overflow the "AIPS bytes" value. We now allow the pseudo AP to be a bit too large for this. Moved nowhere. 15341. June 5, 2019 RFLAG Eric Added much needed option FPARM(17) to flag all of any channel for which > FPARM(17) of the times are flagged. Moved to 31DEC18 14 June. 15342. June 5, 2019 ITBSRT Eric Improved a format to encompass the full possible range. Moved nowhere. 15343. June 7, 2019 KNTR Eric The plane computation used too large a roundoff and so could get the wrong answer - plotting more planes than there are in the image. Moved to 31DEC18 14 June. 15344. June 10, 2019 UVPRT Eric Added DOACOR to the inputs. One usually is not interested in them and their format can be rather different. Moved nowhere. 15345. June 10, 2019 RFLAG Eric When flagging all times for a channel flagged > FPARM(17) of the time, the task really should use the source number(s). Using 0 for the flags of short duration is fine, but not these new kinds of flags. Fixed it. Moved to 31DEC18 14 June. 15346. June 11, 2019 RFLAG Eric Changed help file to encourage use of FPARM(13) - NaNs can come out at least with one VLBA source if no clipping. Moved to 31DEC18 14 June. 15347. June 12, 2019 VLBA procs Eric VLBAUTIL.001: a) Change the typing to avoid long lines. b) Minor fixes, e.g. END IF is not POPS, changed grammar around use of DEFAULT. c) Fixed messages to use lower case in many items. VLBARUN.001: a) Changed typing to avoid long lines and make the code much more readable. b) Corrected bug associated with TIMER(1) option. c) Changed imaging of line data to do one IF at a time (messy problem to get plots out properly). d) Added "magic" as RHEL 7 version of "convert" to make gif files from eps files. e) changed OUTFILE option to make a directory named by date and time added into which the plots, html, prtmsg goes. d) Added CLRMSG at start, PRTMSG to a file associated with the vlbarun.html file. e) Changed LINE KNTR plots to plot 16 channels stepping through the full range of channels every n'th channel. f) Imaging cell size changed to take highest SPW frequency into account g) The background "color" of the gifs was changed to a light grey by changing that color in LWPLA. h) An option was added to read in a text file of flagging commands to be put in FG table 1. i) An option was added to run RFLAG twice on each source, once with DOPLOT=12 then with DOPLOT=-12. LINE cases do not do the spectral flagging. Fluxes are clipped at 100 Jy in advance of the statistics, channels that are flagged more than 30% of the time are flagged over all time (by source), and 1 channel on each side of a flagged channel is flagged. j) The test on CALSOUR and SOURCES all being in the SU table was moved from the FRING proc (late in the pipeline) to the initial parameter examination proc at the start of the pipeline (after data are available). Moved nowhere. 15348. June 12, 2019 BPWAY, RLCOR, REAMOP, REWGT Eric These tasks rescaled UVW but only for the shift to a center reference pixel. They did not include the changes due to BIF not equal to 1. Moved BPWAY, RLCOR to 31DEC18 14 June. 15349. June 13, 2019 VLBARUN Eric One more change: to have the plots appear two across in the html file when there are multiple plots for a stage of the processing. Also fixed grammar of getdate and added a date and time to the top of the html file. Moved nowhere. 15350. June 13, 2019 BPWAY Eric Added a NORMALIZ option to aoid the rms spectrum normalization if desired. The default will be to do the normalization as the task was originally designed. The changes to REWGT and REAMP yesterday were incorrect and have been rescinded. Moved nowhere. 15351. June 14, 2019 RFLAG Eric The accumulation array is hard to zero and is done carefully when data are found. However, if there are no samples for a particular baseline at some time, the old values can hang around and lead to strange fluxes and extraneous flags. Passed the array that knows what values have been set to the averaging routine so that it can zero the values that were not set. Moved to 31DEC18 this date. 15352. June 14, 2019 VLBARUN Eric POPS always does a for loop at least once. Added a test in the RFLAG procedure to make sure that there are SOURCES before looping on them. The setting of VNUMBER=36-getpopsn requires the = sign to work. Added 2 = signs that were missing. Dropped the test for the existence of vlbarun.html. It should never exist and the test makes a "concerning" error message. Moved nowhere. 15353. June 14, 2019 FGPRT Eric NEW TASK: Prints a count of the flags applying to selected sources, IFs, channels, polarizations in a baseline matrix. Moved nowhere. 15354. June 20, 2019 TAPLT Eric The test for singular axis was backwards so good plots died. Added FACTOR to make bigger plus signs. Moved nowhere --- patch? 15355. June 20, 2019 RFLAG Eric Added FPARM(18) to make an NS table containing NOISE and CUTOFF on a per baseline basis when computing NOISE and SCUTOFF. When doing flagging, if FPARM(18)>0, use the NS table to set clip levels on a per IF per baseline basis. Moved nowhere. 15356. June 20, 2019 VLBARUN Eric 1. DOCAL -> DOCALIB, DOBAN -> DOBAND 2. Add RFLAG plots in living color to html output 3. Change RFLAG clip level to max (100, DOFLAG) to allow for very strong masers. 4. Change to have RFLAG use the per baseline clip levels in FPARM(18). 5. Change IMAGR code to start with DEFAULT IMAGR and then set needed adverbs. 6. Added p_debug for IMAGR 7. Added file name to subject line of e-mails. Moved nowhere. 15357. June 21, 2019 VLBAMPHC, VLBARUN Eric VLBAMPHC is a script to apply calibration from the primary data set to data sets from secondary phase stopping centers. DiFX can correlate at numerous phase stopping positions within the beam. It writes a "primary" data set including the pointing for multiple centers and all non-multiple sources. It also writes data sets for each of the seconday phase stopping centers. This gets around the issue of one array observing multiple sources at the same time. VLBAMPHC copies the calibration (CL, BP) from the primary data set, flags the secondary data set, applies the calibration and makes images. VLBARUN was changed to delete any NS tables on P_RESTART with a number of wording improvements to its help file. Moved nowhere. 15358. June 26, 2019 AIPSLetter Eric Put in the June 30 2019 AIPSLetter (LET19A.TEX, PS, PDF). Moved everywhere in $AIPSPUBL. 15359. June 27, 2019 VLBA Eric Corrected VLBARUN to do the tput and vput before changing any input adverb (INVERS was changed). Corrected VLBARUN and VLBAMPHC to set the date string into the file reference when the user enters the full path name rather than a logical for OUTFILE. Changed POPSDAT and NEWPARMS to make a DOCLIP adverb for these run files. Moved nowhere. 15360. June 28, 2019 RFLAG Eric History writing called SCUTOF NOISE. Also fixed to not display SCUTOF and NOISE when FPARM(18) used. It tells the NS table version instead. Moved nowhere. 15361. June 28, 2019 CHKNAME Eric CHKNAME tried to read the catalog file to a very high record number and this could trigger an unexpected error if there was a desired file name in the last record of the current catalog file. Changed it to call CATOPN to know what the current size actually is and then to limit the loop. Verb is in AU8. Moved nowhere. 15362. June 28, 2019 CLIP Eric Added PRTLEV to task to limit the printing of the arrays of numbers that show fraction flagged etc. MOved nowhere. 15363. June 28, 2019 VLBA Eric Added DOCLIP to VLBARUN and VLBAMPHC to run CLIP before or instead of RFLAG. The latter does not always work well with VLBI data. Both are optional in both scripts. Moved nowhere. 15364. July 9, 2019 GETITIME Eric Wrote new verb GETITIME to return INTTIME, the uv data integration time in seconds. Several tasks want this parameter and this seems the easiest way to get it. The verb does depend on the data having an INTTIM random parameter and so will not work on old VLA data. Changed AIPS, AIPSB, AIPSC to call new subroutine AU7C. Help files done for GETITIME and INTTIME. Moved nowhere. 15365. July 9, 2019 TVWEDGE Eric Changed AU5C so that, when the user points out where the wedge should be, points to the right or left of the image generate vertical wedges while those below and above or inside the image generate horizontal wedges. Also TVWEDGE and IMWEDGE help files. Moved nowhere. 15366. July 9, 2019 Obsolete Eric The program DAIP was intended many years ago to communicate between AIPS and AIPS++. It probably never worked and certainly does not now. Moved DAIP EVTPOP EVTRDY EVTHDR ZXDRST and ZXDRFP to the "junk heap" ($APLCONTR). The last 2 implemented XDR (external data representation) to transfer data. Moved nowhere. 15367. July 10, 2019 HUEWEDGE Eric Changed AU6 to allow vertical wedges in hue-intensity with the same scheme as for TVWEDGE. Updated help file. Moved nowhere. 15368. July 10, 2019 SNCOR Eric SNCOR used to do its operations in place, damaging the SN table in uncorrectable ways. Changed it to copy the input SNVER table to the previous highest version plus one and then do its thing on this new version. Also changed it to allow SNVER = 0 to mean the highest (on input). Changed VLBAUTIL use of SNCOR to leave SNVER 0 so that the 2 uses always get the highest version. Moved nowhere. 15369. July 11, 2019 Documentation Eric Updated HLPIT.LIS (the TAB completion file) for the new things. Updated ABOUT files on: ADVERB CALIBRAT CATALOG EDITING GENERAL HARDCOPY INFORMAT POLARIZA POPS RUN TASK UTILITY uv VERB VLBI Changed CookBook chapters 4 SPLIT (ROTMEAS), BDF2AIPS (DOSTOKES), FGPRT, RFLAG 5 IMAGR new TV options 9 VLBARUN, VLBAMPGC, GETITIME 13 For updated ABOUT files C VLBARUN, VLBAMPGC 0, I, J update to match Moved nowhere. 15370. July 12, 2019 PRTAN Eric Changed it to print polarization solutions only when at least one is not zero. Moved nowhere. 15371. July 12, 2019 BPASS Eric The routine finding spectral index for standard sources used the low-frequency source list rather than the correct one for data after 2014. 3C138 was not recognized and 3C196, 3C380, and 3C295 were recognized but given incorrect parameters. Also same fix in CPASS. Moved bug fix only to 31DEC18 this date. 15372. July 15, 2019 APCAL Eric GETFQ did not close the file it opened on error. Then APCAL did not test for the error and so went on, still not testing for error, and getting many LUN already opened messages. Added a close to GETFQ and several more error tests and exits to APCAL. Fixed help to not encourage the use of FREQID=-1. Moved nowhere. 15373. July 15, 2019 TVLABEL Eric Added CBPLOT to help and AU5B. If requested, plot a Clean beam in one of the corners. New subroutine ICBPLT added to do the work. Moved nowhere. 15374. July 17, 2019 RedHat 7 Eric Having switched to RedHat 7, the paths to the compilers are now /opt/local instead of /user/local. Changed $SYSLNX64 versions of FDEFAULT, LDOPTS, and CCOPTS. Added MIZAR to UPDCONFIG ($UPDUNIX) since rishi did not survive. Moved to 31DEC18 this date. 15375. July 17, 2019 CBPLOT Eric Added option to plot beams to TVDEVICE Subroutine TVDLAB checks for CBPLOT and calls ICBPLT if requested PLAYR Added adverb, pass from inputs to TV device TVIEW Added CBPLOT. TVSPC Added CBPLOT and resetting it on SET APARM. Also help and run time help files. Moved nowhere. 15376. July 17, 2019 LPCAL Eric Raised the limit on models from 10 to 1000. This already makes the load module about 0.45 Gbytes. Moved nowhere. 15377. July 17, 2019 POSSM Eric Changed the CHKPOL routine to support XX/YY and true Stokes options as the help file claims. Made that code much simpler and added error message if POLPLOT was not recognized. Moved nowhere. 15378. July 18, 2019 HOLOG Eric Added info about VPARM to the help file. Moved nowhere. 15379. July 26, 2019 CLIP, ACLIP Eric Found a bug in the reporting affecting linear polarizations and any non-standard data set. Moved to 31DEC18 this date. 15380. August 5, 2019 XMOM Eric Added info to exxplain file. Moved nowhere. 15381. August 5, 2019 UVFLG Eric Did not list all flags when writing history for a 1 antenna with all flag. Moved nowhere. 15382. August 5, 2019 Working on pseduo AP Eric While working on pseudo AP found Y2KLOAD.001 APCLN residual needed invers=1 OPTIMIZE.LIS Added SDCLN, RSTOR, APGS, APVC, STEER to noopt UVMAP A DO loop copying the data was compiled badly by gfortran 7 optimiser - changed to call to RCOPY. EVAUV Accessed the wrong headers when copying tables, leading to error messages and tables unknown to the data headers. Error in EVAUVH routine. STEER Bad call sequence to PEAKFN. SCIMG Did not set dimension of INTROK parameter, caused lots of things to get messed up when doing the self-cal TV. The menu was not filled in correctly either. SCMAP Needed to set the dimension for the subarray being passed to the Edit class (EDITUV). WFCLN Cannot work since # fields max 64 -> 4096. Moved to $APLCONTR. Moved nowhere. 15383. August 6, 2019 pseudo array processor Eric The gnu compiler gfortran versions 4, 7, and 8 do not work with a dynamic memory pseudo-AP when the memory is in a named or unnamed COMMON. Fixed memory works but there is also a 2 Gbyte limit for all COMMONs in a program which would make FRING among others very unhappy. Dynamic memory that is passed down via call sequence arguments does work with these compilers. Not all of these tasks worked well in testing and some could not be tested due to a lack of suitable input data. The gfortran 6 COMMON-based version and the gfortran 7 passed-down version did produce identical results (including performance) on all tests run. Therefore changed: $INC/DAPC.INC Comment out all definition of APCORE, APCORI $QPSAP add APCORE to call sequences, use EQUIVALENCE in some routines to handle the integer usage (APCORI): Q1FIN Q1GRD QBAKSU QBOXSU QCFFT QCGAUS QCLNSU QCLNSZ QCRVMU QCSQTR QCVCMU QCVCON QCVEXP QCVJAD QCVMAG QCVMMA QCVMOV QCVMUL QCVSDI QCVSMA QCVSMS QDFT QDGET QDIRAD QDPUT QFINGR QGADIV QGASUB QGET2 QGET QGETI2 QGETIN QGRD1 QGRD2 QGRD3 QGRD4 QGRD5 QGRD6 QGRD7 QGRD8 QGRDCC QGRDFI QGRDMI QGRIDA QGRID QHIST QIHIST QINIT QINTG QINTP QLVGT QMAKMS QMAXMI QMAXV QMCALC QMENT QMINV QMTRAN QMULCL QNGRD QPHSRO QPOLAR QPRJM QPTADC QPTDIV QPTFAZ QPTSUB QPUT2 QPUT QPUTI2 QPUTIN QRECT1 QRECT QRFFT QRFT QSEARC QSORT QSPDIV QSPSUB QSVE QSVESQ QTAPER QUCONJ QUVIN QUVINT QVABS QVADD QVCLIP QVCLR QVCOS QVDIV QVEXP QVFILL QVFIX QVFLT QVIDIV QVINDE QVLN QVMA QVMOV QVMUL QVNEG QVRVRS QVSADD QVSIN QVSMAF QVSMA QVSMSA QVSMUL QVSQ QVSQRT QVSUB QVSWAP QVTRAN QVTSMU QWTCNT QWTGET QWTGRD QWTSUM QXXPTS $QSUB: APCORE in the call sequence and in calling things APROLL APXPOS PASS1 PASS2 QROLL UVWAIT WTFUNC $QNOT: APCORE in the call sequence and in calling things AEGRID ALGMEM ALGSTB APCONV APFNSH APIO APLOAD APSHFT APSUM APVCHK APWRIT BUFGET BUFPUT CALRES CCSGRD CCSMEM CONV1 CONV2 CONV3 CONV4 CONVFN CONV CORR DSKFFT FFTIM FFTMEM FRSRCI GR3DUV GRCMEM GRDCOR GRDCRM GRDMEM GRDSUB GRDTAB IMGMEM INTPFN MAKCVM MAKMAP SDGRID SRTIN TRTOCF TRTOCS UVMDIV UVMSUB UVPDIV UVSORT UVTBUN UVTBUW UVUNIF VISDFT VSCDFT VSFDFT XCSHFT $QOOP: APCORE in some call sequences and in calling things APUTIL PBUTIL QARRAY QCLEAN QEDIUTIL QIMAGE QUVUTIL Tasks need to declare DOUBLE PRECISION APCORE(2) above any calls to internal subroutines or those above where the array processor memory might be required. Taks changed include: $QPGM: RSTOR $QPGNOT: BLCAL BLCHN BPASS CALIB CONVL CPASS CVEL DEFLG FFT FRING IM2UV IMERG KRING LPCAL PCAL PCVEL RLCAL RLDLY SDIMG UVADC UVCON UVSUB $QPGOOP: BSAVG BSGRD CXCLN EDITR FRCAL IMAGR OOSRT OOSUB SCIMG SCMAP SDGRD WFCLN $QYPGM: APCLN $QYPGNOT: APGS APVC CONPL EVAUV SDCLN STEER UTESS UVMAP VTESS Moved nowhere. 15384. August 7, 2019 BPASS Eric Added a subroutine to check for NaNs in the solutions. It should not happen but it has. It will blank out all spectral channels and antennas for the particular polarization and IF when one is found. Also added code to reduce the "no spectral index" warning messages. Moved nowhere. 15385. August 7, 2019 BPEDT Eric BPEDIT did not correct pointers for SHOW and SHOW ALSO when there was only one time in the BP table. This made the menu not show any SHOW ALSO and to show 3 SHOW commands one of which was duplicated. Also fixed the typing for my RHEL 7 version of emacs and in BPEDT.FOR as well. Moved nowhere. 15386. August 13, 2019 IMAGR, SCIMG, SCMAP Eric The residual image in a deconvolution should be changed before the Clean components are restored if the user has specified BMAJ and BMIN to be different than the values fit to the center portion of the dirty beam. The residual needs to be convolved to the specified resolution (if possible) and to be scaled to the specied units (Jy / beam area). Changed: QUVUTIL In OUVIMG, put the fit beam parameters as FITBEAM in the beam and clean objects. Also in OUBFIT. QCLEAN Pick up SMOOTHES in CLNINI, call CLSMOT in CLNIM and in CLNUV ahead of the restore step. Added subroutine CLSMOT to pick up the fit and desired beams, determine a Gaussian that can convolve the former to the latter, and if there is one compute that Gaussian, allocate memory, and call CLSMOO. Added CLSMOO to do a brute force convolution in memory. IMAGR Added code to set SMOOTHES is BMAJ and BMIN are greater than zero and IMAGRPRM(5) is zero. This last may be used to turn off this correction in order to match previous versions by setting it less than zero. If it is > 0 a different and dubious rescaling of the residual without smoothing is done. SCMAP Added code to set SMOOTHES is BMAJ and BMIN are greater than zero. If you set those adverbs, you get the correction. SCIMG Added code to set SMOOTHES is BMAJ and BMIN are greater than zero. Moved nowhere. 15387. August 15, 2019 UVADD Eric NEW TASK: Combines 2 data sets that match exactly in their sampling: add, subtract, multiply, or divide. Moved nowhere. 15388. August 16, 2019 XYMOD Eric NEW TASK: computes a linear polarization point source model and subtracts it from or divides it into or replaces the observed visibilities. Moved nowhere. 15389. August 16, 2019 SYVSN Eric NEW TASK: Plots selected SY values versus SN phase values. It tests the correlation of the two. NEW SUBROUTINE: REBLNK which removes all blanks from strings. Moved nowhere. 15390. August 16, 2019 REWAY Eric Added scaling to the report functions so that the displayed weights are shown with adequate precision. Moved nowhere. 15391. August 16-17, 2019 OMFIT, SDVEL Eric These did not require Q routines so moved them to $APGOOP and $APGNOT respectively. Preserved their chkout histories. Moved nowhere. 15392. August 21. 2019 UVPLT, WIPER, VPLOT, ANBPL Eric These 4 could use the wrong source number when there was only one source requested from a multi-source data set. The calibration routines return a single-source data set in this case so that the original source number needs to be retrieved for use with the source table (e.g. by FNDCOO). UVPLT had this correction in most places but not when finding elevation et al. The other four did not have this correction. Moved nowhere. 15393. August 21, 2019 PRTAN Eric Moved code from $APGNOT to $YPGNOT. Added a plot option. Getting the VLA to look like the VLA required a change to the computation of the relative coordinates. The old VLA (and any other sight-centric coordinate system) is converted to Earth centric prior to computing the relative coordinates. The y plot axis is of the By / sin (latitude) where By is relative to the mean of the input Y antenna coordinates. Moved nowhere. 15394. August 22, 2019 UVFLG Eric The loop over subarray in the routine that flags for shadowing did not correctly load the antenna data for any subarray but the last (when doing all subarrays). That code also read all the data for each subarray which is excessive. Changed the reading to use the calibration package with only subarray selection. This is messy for file status, header preservation, and conflict between the standard DSEL.INC Common and those in UVFLG. Workarounds for all these were found. Moved bug fix only to 31DEC18 this date. 15395. August 22, 2019 BPASS, FLGIT Eric BPASS referenced an RPARM for source using the data pointer of the input file rather than the file out of the cal routines. Fixed to use SOUWAN(1) or that given by the proper pointer. This affected shifting of VLBA solutions and only for those done using the autocorrelation only mode - so not affecting very much. FLGIT needed to set the source ID to SOUWAN(1) if we have single source out of the cal routines. Affects the source ID in the output flag table. Moved nowhere. 15396. August 23, 2019 IMAGR Eric Changed QCLEAN to rescale the residual when BMAJ and BMIN are specified even if the deconvolution of the natural beam from the user's beam fails (i.e. super resolution). The convolution routine is now always called, but in the failure case the convolution kernel is a single cell of 1.0. Moved nowhere. 15397. August 23, 2019 APCAL Eric Made some minor improvements to the history file information. Moved nowhere. 15398. September 3, 2019 DATGET, HA2TI Eric HA2TI did not test to make sure that the output was strictly in time order. Added tests for this and a message when it is not (as well as setting the sort info in the header). Changed DATGET which simply skips data that comes ahead of the latest good time. At the skip it will now emit a warning about data lost. Moved nowhere. 15399. September 4, 2019 POSSM Eric The connected line plot may not get drawn if only a few channels have valid data. Added code to clear the green channel (2) before the plot loop in case this occurs. Otherwise the connected line plot for the previous time or antenna remained on the screen. Also found a slight issue with stop times taken from the data. Adding 1/4 SOLINT to the stop time resurrected a missing integration. Moved nowhere. 15400. September 10, 2019 PBEAM Eric Added some stuff so that the last plot of the first of 2 input files is not treated as the last plot (and so pauses for permission to procede). Moved nowhere. 15401. September 12, 2019 UVCOP Eric Added UVCOPPRM(8) option to not scale holography data. Added SRCALIAS to name holography sources (but HOLORASTER is in the list always). Moved nowhere. 15402. September 27, 2019 CHINC Eric CHINC is important when averaging spectral channels with NCHAV (or CHANNEL in SPLAT). Added a little to help files for IMAGR, PLOTC, SPLAT, SPLIT, and UVPLT. Moved nowhere. 15403. September 30, 2019 BPWAY Eric A loop over scans did not close the WT table file IO. It got a new LUN for each scan until the 40th where it hit an LUN already in use (for the NX table itself). Added a close in the appropriate place. Moved fix only to 31DEC18. 15404. October 2, 2019 IMAGR Eric Changed QCLEAN: the new restore operation had a modest fixed size for the image of the Clean beam and did not check to make sure that it would fit. Made the array much larger and added code to check and force a truncated beam with a message. Moved nowhere. 15405. October 10, 2019 TIORD Eric Added DOALL which if > 0 will cause it to ignore the calibration routines entirely and use UVDISK. The former can get confused and will at times simply ignore data out of order. Added test for the subarray condition (> 1 source at same time). Moved nowhere. 15406. October 10, 2019 PP table Eric Create a PP table to contain the spectral output of RLDIF for the channel-dependent phase corrections. New subroutines PPINI and TABPP to support this. Added code to RLDIF to write the table. Added code to POSSM to plot the table. And created NEW TASK PPAPP to apply a PP table from one file to a BP table and any CP and PD tables of a second file. Moved nowhere. 15407. October 10, 2019 VLBARUN, VLBAMPHC Eric In VLBARUN, added options to run TYSMO and on elevation in UVFLG. In VLBAMPHC, added a copy of the FG table from the master file with zeroing of the source numbers. The TY table often has bad values so there is a clip, a median window clip, and then a smooth to replace the clipped values with smoothed good ones. The VLBA can end up with antennas at very low elevations, so one may wish to delete those baselines. To avoid repeating the various UVFLG options in VLBAMPHC, the copy of FG table 1 from the master should suffice. Added a deletion of TY versions > 1 to P_RESTART. Corrected a possible bug that could cause the UVPLT output to be omitted from the html (when multiple versions of the output images were present). Moved nowhere. 15408. October 11, 2019 AIPS Memo 117 Eric Updated the AIPS FITS document to cover the change of spelling of one keyword in the PO table, the new PP table, and the older but undocumented ZE and XG tables. Moved everywhere via AIPSPUBL. 15409. October 14, 2019 Memo 117 Eric Added the RM file description and sample header to the memo. Moved everywhere from AIPSPUBL. 15410. October 14, 2019 UVPLT Eric Add progress messages. Moved nowhere. 15411. October 15-16, 2019 Doc files Eric Updated HLPIT.LIS (tab completion file), LSAPROPO.HLP (apropos data file) and about files for ADVERB, ANALYSIS, GENERAL, IMAGING, INTERACT, POPS, SPECTRAL, TASK, UV, VERB. Updated CookBook chapters 4 PRTAN plota 5 UVADD, IMAGR rescale on BMAK, BMIN set 6 PRTAN plot, TVLABEL, TVWEDGE, plan update AIPS Memos 9 VLBARUN 13 all above about files C VLBARUN L XYMOD V UPCOP holography option Plus 0, I, J table of contents, index. Remembered to change web page cook.html (forgot to last time) Moved nowhere. 15412. October 17, 2019 PPAPP, RLDIF Eric Added messages to show which version became which version when tables are corrected. In PPAPP changed the status of the input file to 'REST' (none) so that the input and output are allowed to be the same. Moved nowhere. 15413. October 18, 2019 PPAPP Eric Corrected it to turn off file status at end and to resume AIPS properly. Moved nowhere. 15414. October 18, 2019 TVIEW, TVSPC Eric Corrected GRSLIC to use buttons A, B, or C to swicth ends and only button D to exit. It claimed to use C to exit after both ends were set, but did not. In TVSPC, fixed prompt for CBPLOT, value 5 (center) is not desirable. TVIEW (Fortran help, real time help) were changed to plot the current spectrum when there is no reference image. Changed AIPS Memo 124 to match. Added CBPLOT to Memos 120 and 124 as well. Moved nowhere. 15415. October 21, 2019 PPAPP, XYDIF Eric PPAPP: Added PDVER adverb to select the PD version to correct. XYDIF: Added writing of PP table whn SPECTRAL is true. Moved nowhere. 15416. October 21, 2019 CD table Eric The VLA has changed its rules: the CD table used to use a value of 1.0 to mean that the value was not known. It still does this for Solar Tcals. BUT it now uses 1.0 as a real value for normal VLA Tcals. Changed GETCDS subroutine which used to blank the 1.0's while issuing a warning message. Link 16 tasks. Moved nowhere. 15417. October 22, 2019 VLBAPIPE Eric Moved VLBAPIPE run file and help to the $APLCONTR area. They are obsolete. Edited help files on INFILE and VLBAARCH to change VLBAPIPE to VLBARUN (and drop VLBAEOPS from INFILE). Removed it from LSAPROPO.HLP, HLPIT.LIS, about files for CALIBRAT, POPS, RUN, UTILITY, and VLBI, and CookBook chapter 13.. Moved nowhere. 15418. October 23, 2019 TYAPL Eric Added option RPARM to list antennas which should get the same treatment as those failing the CUTOFF test. Some antennas can have SY table values that appear okay (> 0, Psum > Pdif, etc.) but which are not. These will pass the CUTOFF test and so be used as real value when they are not. Antennas so listed get the average of those passing CUTOFF and not listed as a function of polarization and IF. Added further tests on averages making sure that they are bigger than zero before using them In doing so, discovered that when using the averages (i.e. bad antenna) to remove the 1st SY table, wrong variables were set. The right hand 2nd values were lost. This combination is not likely to have occurred. Moved nowhere. 15419. October 25, 2019 PPAPP Eric Changed it to prefer CP version matching PD version and to report all 3 types input and output versions in the history. Moved nowhere, 15420. November 7, 2019 DTSUM Eric Changed from a "simple" read fron beginning to end in order to use calibration adverbs. Changed it to skip the overall summary pass through the data when it was not requested. Changed it to figure what scan each visibility is in from the index table and to print those selected scan summaries only. The use of the flag table is most important, but source selection is also useful. Moved nowhere. 15421. November 12, 2019 MAC OS Eric the next version of Mac OS (10.15) will not run 32-bit applications and the current Intel compiler produces a 32-bit load modeule. Therefore we must switch to gfortran - I have version 6.3 available and that is current enough. Changed XAS.SHR (Makefile) and $SYSMACIN versions of CCOPT.SH, LDOPTS.SH, and FDEFAULT.SH. The minimum mac OS version will now be 10.10. Moved nowhere. 15422. November 13, 2019 MAC OS Eric Updated OPTIMIZE.LIS since the failures are not LNX64 but gfortran now used by almost all. Changed fix_aips_elcap.sh to link the 3 gfortran libaries rather than the 4 Intel libraries, Recompiled all of the Mac OS version. Moved nowhere. 15423. November 13, 2019 SPLIT, SPLAT Eric Added a version of CALHIS to do the history for these two. SPLAT has the assemble option and lists sources when assemble is true. SPLIT omits the SOURCE adverb which CALHIS does. This is to make sure that all adverbs are recorded. Moved nowhere. 15424. November 13, 2019 VLBARUN Eric Added info about TYSMO, elevation flagging and CLIP to the VLBARUN help file. Corrected typo in VLBAMPHC help file. Changed VLBARUN to use NAMEGET rather than CHKNAME. the latter finds the number of matches but that does not tell the highest sequence number. Also added a display of the INPUTS near the start and got rid of page breaks in the printed message file. Moved nowhere. 15425. November 14, 2019 BLPLT Eric NEW TASK: BPLOT for BL (BLCAL) tables. Horizontal axis is IF and polarization. Vertical axis is every baseline to the primary antenna of the plot. One plot for each antenna is done for the first time, then a new set for the second time (if present in the BL table). Moved nowhere. 15426. November 18, 2019 TYSMO Eric The logic in the flagging routine could let some flag records to be ignored. Corrected it. Moved to 31DEC18 this date. 15427. November 21, 2019 BPFLG Eric NEW TASK: Does flag above and below on amplitude and phase of the bandpass writing new UV-data flags to a flag table. This is a batch version of the operation done by BPEDT. Moved nowhere. 15428. November 22, 2019 TADIF Eric NEW TASK: Compares 2 tables with user selection of columns to compare and starting row numbers for each. Not smart in that it does not search for a matching column - they must line up based on the starting row numbers. Moved nowhere. 15429. November 25, 2019 Misc Eric BLCAL help file: mention BLPLT Tab completion file HLPIT.LIS add new tasks ABOUT files: CALIBRAT, EDITING, PLOT, SPECTRAL, TABLE, TASL, UV updated for new tasks CookBook chapters: 0 New T of C 4 PPAPP, BPFLG 5 Mention BLCAL, BLCHN ref to chapter 9 section 6 BLPLT 7 TVIEW (spectra vs ref image) 9 BLPLT, BPFLG 13 Changed ABOUT files I Index changes J Index changes Moved nowhere. *********************************************************************** *********************************************************************** Changes while 31DEC19 is NEW *********************************************************************** *********************************************************************** 15433. December 9, 2019 APROPO Eric The APROPO was slavish in its use of VERSION. Changed it to be more flexible in AU1A. All it needed was a call to VERMAT. Moved to 31DEC19 this date. 15431. December 4, 2019 Compiling Eric Added -c to the compilation done by $SYSUNIX scripts FC and AIPSCC. Took the -c out of FDEFAULT.SH AND CCOPTS.SH versions $SYSUNIX, $SYSLINUX, $SYSLNX64, and $SYSMACIN. Other versions (should they ever be used again) will simply have an excess -c. All of this is in an attempt to make the compilation of XAS work during installation. Moved to 31DEC19 16 December. 15435. December 18, 2019 CLIP Eric The PRTLEV test was on 2 of the 3 reports but not the partially flagged report. Added that test. Moved to 31DEC19 this date. 15436. December 26, 2019 AIPSLetter Eric Put back the AIPSLetter LET19B for 31 December 2019. Moved everywhere in $AIPSPUBL. 15437. December 31, 2019 VLA antenna locations Eric Put back the 2019 EVLA.ant.2019 file containing antenna location corrections (and made a new 2020 file for the web). Also put back another dummy VLA.ant.2020 file for VLANT running on pre-2004 VLA data. Moved everywhere in $AIPSTARS. 15442. January 13, 2020 BPFLG Eric Fixed a line in the inputs file that was left over from BPEDT. Moved to 31DEC19 this date. 15446. January 22, 2020 BPASS Eric One QINIT call was missing the APCORE argument, causing an abort. Moved to 31DEC19 this date. 15451. January 27, 2020 FACSET Eric FACSET limited the flux found in models of 3C286, 3C48, 3C147, and 3C138 to rather small radii. Changed the radii to 4 asec for 3C286 and 3 for the others. Significant flux was being omitted in the sum with some models - changing the apparent gain incorrectly. Moved to 31DEC19 this date. 15461. February 28, 2020 UVFIX Eric The differential aberration correction requires the comparison of the apparent position of the source to the apparent position of a point 10 asec North. Since we treat the apparent position as fixed during the run (it actually isn't), we need to do this comparison only once at the same time that we compute the source apparent position. In 31DEC18 and previous, this was done but only for the first source (with the result used for all sources). In 31DEC19 and 31DEC20, the comparison was recomputed every time a source changed which put a time change in the offset position but not the reference position. This made the correction a (false) function of time. Furthermore, when the input file was in B1950, the EPOCH variable did not stay at 2000 for this comparison. This could make the aberation correction a factor of ~200 rather than 0.99992! All these issues have been corrected with the aberation correction now a function of source but not time (except for planets). Moved to 31DEC19 this date. 15462. March 2, 2020 EVAUV Eric The call sequences to QXXPTS and friends did not get changed in this task when they were changed (Feb 1, 2019) for issues with OOSUB. Furthermore, the value of the parameter that tells the Q routine to add or subtract in the DFT was set to add rather than subtract and needs now to be in a slightly different place in the AP memory. Moved to 31DEC19 this date. 15465. March 3, 2020 RENUMBER Eric $AIPSUB/RENUMB did not initialize pointers before trying to expand the catalog file and so did a zero divide. Moved to 31DEC19 this date. 15472. March 23, 2020 CLIP Eric The counting algorithm counted cross hands too much when they are flagged due to parallel hand fluxes. Moved to 31DEC19 25 March. 15477. April 7, 2020 CAPLT, CLPLT Eric When there was only one sample the plot routine exited without closing the data set. The next attempted plot then could not open the data set and so caused a mysterious failure. Correction only to 31DEC19 this date. 15479. April 8, 2020 CAPLT, CLPLT Eric Corrected it to compute the model (when requested) as part of setting the max/min of each sub-plot and then to plot one-point models as an X. Multi-point models are connected lines. Moved this additional correction to 31DEC19 this date. 15486. April 21, 2020 VLAEOPS Eric VLBAUTIL.001 had an error on the curl function in VLBAEOPS. curl requires the output to be directed via the "> path/file" construct which was not corrected for the change in GSFC address. Moved to 31DEC19 this date. 15496. May 7, 2020 VLBARUN Eric A variable was reused and then the old value needed when DOPLOT=2 (vast number of plots). A second place used i when ii was set. I suspect I never tested this mode since I did not want all the extra. Moved to 31DEC19 this date, 15501. June 10, 2020 RLDLY Eric There was a statement that should have kept higher numbered antennas as REFANT from working at all. Changed a second IA1 to IA2. Moved to 31DEC19 this date. 15503. June 12, 2020 PRTSY Eric Task was updated for the change in call sequence when the SY table format acquired a new column, but the sort column was not updated from 4 to 5. (The error affected things only when OPCODE is set.) Moved to 31DEC19 this date. 15444. January 13, 2020 DELZN CLCOR Eric Changed DELZN to add the reference date and its Julian day number to the header line of the output file. Changed CLCOR to look for this and if present to adjust the times by the difference of the input file JD (now found right after the header is read) and the DELZN JD. Moved CLCOR part to 31DEC19 on June 19. 15507. June 18, 2020 CLCOR Eric CLCOR in EOPS mode was able to recognize that all groups are identical. But it used the total number of CT table records rather than just the number in the first (real) group. That ended up with spline failures and perhaps aborts. Moved to 31DEC19 tomorrow. 15509. June 19, 2020 PRTSY Eric The previous fix (June 12) meant it could no longer function on old SY tables. Fixed it to find the ANTENNA column in either new or old format. Moved to 31DEC19 this date. 15514. June 29, 2020 OMFIT Eric Thanks to diligent work by Ming Zhang a FORMAT statement with a / in it was found. This is an end of line indicator and so cannot be used with writing to a character string for I/O using ZTXIO. Further examination found two more similar usages with multiple /'s in each format. I wonder why this has not cropped up before. Moved to 31DEC19 this date. 15529. July 22, 2020 VLBAUTIL Eric Changed the procs VLBAEOPS and VLBATECR. The download method for the GSFC data files has been forced to curl with a new upper web address and additional options in the curl command. Also help files for the 2 procs. Moved to 31DEC19 this date. 15532. July 23, 2020 TVLABEL Eric Changed AU5B to preserve coordinate information for CBPLOT. When LTYPE is 4, 5, or 6 that info was lost and ICBPLT would then fail. Moved to 31DEC19 July 29. 15533. July 29, 2020 IMEAN Eric A variable was reused and then the previous value was needed, leading to excessive odd characters in one output line. Moved to 31DEC19 this date. 15534. July 29, 2020 TVDEVICE Eric The OOP TV label also needed to save coordinate info for CBPLOT. Moved to 31DEC19 this date. 15537. August 7, 2020 CDDIS changes Eric The fetching of TEC files for TECOR is also done by a VLA procedure. Changed VLAPROCS.001 to use the new curl command. Chnaged help files for VLBATECR, VLATECR, TECOR, and CLCOR to describe the new path to get these files. Moved to 31DEC19 this date. 15546. September 2, 2020 FITLD Eric For VLBA correlator data (not DiFX data) the correction function used the data weight to determine the saturation scale factor. When DOWEIGHT=1, the weights had been changed by of order 10^6 so autocorrelation data ended up a million times too large. Corrected by passing in the weight scale also to subroutine BFAC. Moved to 31DEC19 this date.