;----------------------------------------------------------------------- ; Copyright (C) 2020-2022 ; 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 31DEC21 is TST *********************************************************************** *********************************************************************** 15587. December 1, 2020 Code rollover 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 $SYSUNIX/AIPSPATH1.CSH, $SYSUNIX/AIPSPATH1.SH to make 31DEC21 instead of 31DEC20 - also fix dates in install.pl and update.pl. Moved nowhere. 15588. December 1 & 2, 2020 Misc Eric install.pl: Added a missing period in Mac message, changed min tar ball size from 117 to 175 Mbytes, fix_aips_macos.sh : Reworded the last message to the user again re Mac OS versions UPDREPORT : Fixed a typo (. instead of @) Moved fixes to 31DEC20 these dates. 15589. December 7, 2020 BPEDIT Eric There was a typo in a FORMAT statement making the format too long for MSGTXT. Moved to 31DEC20 this date. 15590. December 9, 2020 ACIMG Eric NEW TASK: Like DFTIM but grids the real part of auto-correlation data. Changed it to have a real frequency axis if possible and to show the Stokes value. Moved to 31DEC20 this date. 15591. December 9, 2020 DFTIM Eric Made some changes from ACIMG: mainly to do a real FREQ axis where possible and to show the Stokes value in the header. Moved to 31DEC20 this date. 15592. December 9, 2020 TVLABEL Eric If CBCORN is set, AU5B was treating errors like no Clean beam and no celestial axes as real errors. Fixed this. It will still grumble but not pass the error on. Moved to 31DEC20 this date. 15593. December 17, 2020 RIRMS Eric NEW TASK: RIRMS computes the mean and rms over spectral channels and IFs in each time interval for the real and imaginary parts of the selected visibility records for each baseline separately. It then prints matrices of the mean and rms of these values. For selected baselines, it then can plot these values as a function of time and as histograms. Moved to 31DEC20 on 21 December. 15594. December 18, 2020 RIRMS Eric Changed RIRMS adding FACTOR to control size of points plotted and CUTOFF to control +- n sigma in histogram plots. Dropped PIXRANGE which was not adequate for anything. Changed AU2A (plget) and AU8A (extlist) to support RIRMS. Changed RIRMS to support plget and extlist. Moved to 31DEC20 on 21 December. 15595. December 21, 2020 FITLD Eric The task subtracted 2 from the value of DIGICORR for non-VLBA correlators. That was okay when the routine was called once but very bad if there were more calls for additional input files. Changed usage of DIGICORR variable so that the subtraction was not needed. Moved to 31DEC20 this date. 15596. December 22, 2020 FITLD Eric Added test to enforce the DIGICOR >= 3 for non VLBA. Moved to 31DEC20 this date. 15597. December 23, 2020 UVRMS Eric Moved XYRATIO setting to where the character boundaries are set and fixed the subroutine names in the error messages. Moved to 31DEC20 this date. 15598. December 23, 2020 CXIMAGR Eric Forgot to put back the complex imaging script on August 6. Moved to 31DEC20 this date. 15599. December 28, 2020 AIPSLetter Eric Put back the 31 December issue of the AIPSLetter: LET20B in TEX, PS, and PDF files. Moved everywhere because $AIPSPUBL. 15600. December 28, 2020 VLA baselines Eric Created new file $AIPSTARS/EVLA.ant.2020 from the web file maintained during 2020 and made a dummy VLA.ant.2021 file. The former contains antennalocation corrections by date and station. The latter defends VLANT when used on old VLA data. Moved everywhere because $AIPSTARS. 15601. January 8, 2021 IMAGR Eric Changed the TV display to show the number of Clean components and total Clean flux even when there is only 1 facet. Moved nowhere. 15602. January 19, 2021 SPLIT, SPLAT Eric Changed DGHEAD so that the initial messages about what is and is not calibrated may be suppressed. Changed SPLIT and SPLAT so the initial UVGET call with no calibration does this. The next call with the user'scalobration settings then produces correct messages. Moved to 31DEC20 this date. 15603. January 19, 2021 IMAGR Eric Changed QCLEAN so that certain formats contain an extra digit when appropriate. Moved nowhere. 15604. January 20, 2020 CLIP, ACLIP, ACFIT Eric Added the suppression of the calibrating messages to CLIP, ACLIP, and ACFIT which also call UVGET first to see if a source plus subarray exists and then if it does calls UVGET again with proper adverbs. Moved to 31DEC20 this date. 15605. January 26, 2021 PBCOR Eric Added GAUSsian and POLYnomial beams shapes as options. Moved nowhere. 15606. January 27, 2021 AXSTRN Eric Changed AXSTRN since times are usually in days not seconds. It attempts to tell which is which in case the time is ever in seconds. Moved nowhere, maybe patch. 15607. January 28, 2021 TVMOVIE Eric Corrected AU5D. It did not do LTYPE=3 correctly, producing a relative coordinate instead. Moved nowhere, maybe patch. 15608. January 28, 2021 ACIMG Eric Changed it to make an ANTENNA axis rather than adding up all included antennas. Moved nowhere. 15609. February 1, 2021 TIME axis Eric Changed SETLOC and LABINI to honor the TIME axis units as days, converting them to hours (in sexagesimal or straight). Lots to link. Moved nowhere. 15610. February 17, 2021 UPDERROR Eric This error report used "mail" when sendmail (as in UPDREPORT) works rather better. Moved nowhere. 15611. March 1, 2021 Remote TV Eric When one is using the AIPS TV remotely through a vpn connection, things are slowwwww. Some rarranging of the code can reduce the number of reloads to the TV. Also found the scaling of default LUTs and OFMs was rather odd and that the actual value range in TVLODs should be expanded slightly (by 0.5 %) to avoid an always black pixel from real (non-blanked) data. Subroutines changed: YHOLD To keep track of the number of HOLDs and HOFFs and to talk to XAS only on the first hold and last HOFF. Added OP to force off no matter how many HOLDs. TVMENU Force holds to off. TVXPRT Force holds to off. TVDEVICE Allow forcing call to YHOLD, change LUT/OFM. TVUTIL Control holds on roam, undo the 0.5 % when reading an TV catalog header. AU5D Speed roam by moving YHOLD calls AU6 Default OFM. AU6A Default LUT. RNGSET Add the 0.5 % extension TVMOVI LUT and OFM TVFIDL LUT and OFM QEDIUTIL Allow TVMENU to turn off holds QCLEAN Allow TVMENU to turn of holds, allow menu to stay on screen for more of the choices. BPEDIT Changed one off to forced off, got rid of several excessive offs. Tasks changed to alter the default LUTs and OFMs, to load images with the added 0.5 % range, and to add and remove YHOLD calls and leave menus on more to speed remote operations: TVFLG SPFLG FTFLG PCFLG AGAUS XGAUS RMFIT ZEMAN ZAMAN TVSAD TVIEW TVSPC TVHLD TVHUI TVRGB APCLN SDCLN UTESS VTESS UFLAG IBLED Tasks mostly changed just to speed things: FTARS HUINT PLAYR FILIT SCMAP SCIMG Moved nowhere. 15612. March 2, 2021 DGAUS Eric NEW TASK: When one makes a model uv file with UVSUB using a Clean image rather than Clean components, the data are scaled down by the Fourier transform of the Clean beam. This task reverses that scaling. Moved nowhere. 15613. March 10, 2021 Boxcar smoothing Eric All "boxcar" smoothing was done symmetrically with the edge weights one half of the inner weights. I have changed this. For adverb SMOOTH, a boxcar of width 2 will now average channel n and n+1 for output channel n. A width of 3 will average channels n-1, n, and n+1 all with equal smoothing weight. Changed: DGHEAD To adjust the reference pixel by -0.5 / W for even widths W. SETSM To make all smoothing values 1. SMOSP To apply the boxcar smoothing in an asymmetric fashion for even W and symmetric for odd W. ISPEC To implement boxcar as described above. RSPEC To implement boxcar as described above. POSSM To correct the original header when frequency labeling by -0.5 / W. The optional additional smoothing after the spectrum has been averaged was changed to do boxcar as above. XSMTH To implement boxcar as described above. Some tasks smooth channel-dependent calibrations. These were changed to make boxcar have all channel weights 1, but were left as symmetric operations to avoid bandpass shifts. These tasks are PCAL, RLDIF, XYDIF, and BPCOR. The help files for all these tasks were modified as was SMOOTH.HLP. Moved nowhere. 15614. March 10, 2021 IANTB Eric NEW TASK: IANTB is an inverse ANTAB, writing out the gain (GC) and system temperature (TY) data back in ANTAB (KEYIN) format. This is for true VLB aficienados that like that sort of stuff. Moved nowhere. 15615. March 15, 2021 DFTPL Eric Added more X axis types to allow plotting against elevation, hour angle, LST, parallactic angle, and azimuth. Moved nowhere. 1561. March 16, 2021 AIPS Eric Change CHKCHR to allow a "\" character as valid. Moved nowhere. 15617. March 17, 2021 VLBARUN Eric Changed RUN and HELP files so that DOPLOT > 0 but < 0.5 will make a reasonable number of plot files but not attempt to use convert to make gifs. Instead, the PostScript files are copied to the OUTFILE area. Moved nowhere. 15618. March 23, 2021 VBRFI Eric NEW TASK: Reads autocorrelation spectra and constructs the mean spectrum and the rms/flux spectrum for each antenna summed over time and polarization. It can plot these and print the spectra in detail. This is support of the VLBA project to monitor site RFI. Moved nowhere. 15619. March 23, 2021 SPRMS Eric Corrected the Y axis labeling which was scaled incorrectly and the displayed frequency. These were bugs found while developing VBRFI. Moved to 31DEC20 this date. 15620. March 23, 2021 VLBARFI Eric New RUN file to reduce and display VLBA autocorrelation data to monitor RFI. VLBARFI.001 is a stripped down and then enhanced version of VLBARUN. All variables and procs are named q_... to differentiate from the p_... used in VLBAUN. Also removed an unused proc from VLBARUN.001. Moved nowhere. 15621. March 24, 2021 VLBARFI Eric Changed VLBIRFI.001 so that DOPLOT has 3 levels, =2 being for the per scan per antenna POSSM plots. Changed VLBIRFI.HLP for this and to clean up obsolete or incorrect references to VLBARUN. Changed AU2A (PLGET) and AU8A (EXTLIST) to support task VBRFI. Changed VBRFI to give it its own plot number and to set up things to assist EXTLIST. Added VBRFI to GINIT pre-cursor comments. Moved nowhere. 15622. March 30, 2021 SHAHO Eric NEW TASK: Does shadowing especially for holography data (where one antenna may be pointing lower than the source position would suggest). New subroutine ELVSOU needed to convert Azimuth and Elevation back to celestial coordinates. SOUELV was cleaned up as well. UVFLG had a test on shadowing added to avoid the attempt to make a list of flags (which went nowhere). Moved nowhere. 15623. March 31, 2021 VLBARFI Eric Changed VBRFI to erase the graphics planes in case they get no data to plot. Changed VLBARFI run file to avoid the VBRFI text file if no OUTFILE specified in the inputs to the procedure. Upgraded the information in the VLBARFI help file esp re where and how CALSOUR is used. Moved nowhere. 15624. April 1, 2021 OBIT Eric OBIT has just now required python3 as ObitTalk3, Older versions of OBIT use python2. Changed AUO To use new adverb OBITVERS which tells the "verbs" whether to use ObitTalk (OBITVERS=2) or ObitTalk3 (otherwise). Changed NEWPARMS.001 and POPSDAT to create the new adverb and help files for BDF2AIPS, BDFLIST, OBITMAP, OBITIMAG, OBITSCAL, and OBITPEEL to show the adverb. NOTE: /usr/bin must contain a python3 or python2 whichever you need for your version of OBIT. Moved nowhere. 15625. April 5, 2021 HOLOG Eric Put the taper into the DFT section - previously it only did the gridded form. Moved nowhere. 15626. April 7, 2021 HOLOG Eric Changed the handling of INFILE and OUTNAME to match what the help file claimed. Moved nowere. 15627. April 8, 2021 OBIT Eric With an update to OBIT that allows python 2.7 as well as 3, changed the default OBITVERS to 2 with 3 the only accepted other value. Change AUO to implement this and help files BDFLIST, BDF2AIPS, OBITIMAG, OBITMAP, OBITPEEL, and OBITSCAL to reflect the change. Moved nowhere. 15628. April 12, 2021 VBRFI Eric Changed it to allow frequency smoothing (although it is not recommended). Changed it to label the X axis with frequency by default with APARM(3) to select channels instead. Also added option to plot all in one graphics channel = APARM(10). Changed AU2A and AU8A to take added adverb into account. Moved nowhere. 15629. April 12, 2021 PLRFI Eric NEW TASK: plots the text file written by VBRFI. Inputs are identical although several are totally ingnored. This allows the 2 tasks to have the same EXTLIST and PLGET. MOved nowhere. 15630. April 14, 2021 CLIP, Z routines Eric CLIP confused things by opening the cal routines with DOCAL false but closing them with DOCAL true. Changed it to close with false and then reopen with true. This also exposed the fact that we assumed all LUNs to be < 100. Not true they go to 127. Changed APLGEN routines ZCLOSE, ZFIO, ZMIO, ZLPOPN, ZTXCLS, ZTXOPN, and ZTXREN to use I3 formats in their error messages. Moved Z's nowhere, moved CLIP to 31DEC20. 15631. April 15, 2021 TABED Eric With OUTVER=0, the logic on COPY caused APARM(10) to be set to 0. In this case, all rows get copied. Changed this to leave APARM(10) alone and createa new table on COPY. In this way, rows can be omitted. Changed the help to say more about OUTVER and to emphasize APARM(10). Moved nowhere. 15632. April 15, 2021 HOLOG Eric On DPARM(10) > 0, the task will now write out an interpolated (via FFT) phase image as well as the power pattern (which is in db). Moved nowhere. 15633. April 16, 2021 SPFLG Eric One data set I had generated continuous visibility data through a scan but with the in-memory gridding had some of the times with source -1 rather than the correct source number. A minor change to the construction of the source number array fixed this in SPFLG, TVFLG, and FTFLG. Moved nowhere. 15634. April 20, 2021 FILLM Eric Changed the task to first try to open DATAIN as specified. If that fails it then appends the file number and tries again. Changed help file for this and for more modern web information and to move the on-line fillm paragraph to an historical note in the explain file. Moved nowhere. 15635. April 22, 2021 TVPSEUDO, TVBANDW Eric Made new verb TVBANDW to do a TVPSEUDO-like operation in black and white LUTs. Implemented it with AU6A and new subroutine TVBLWH. It does step wedges, circular, and stair steps in black and white (or some colors). Changed TVPSUD to have the circular color scheme do start color and number loops (reduced to no more than 3) on cursor X and saturation or brightness alternately on the Y position. Changed TVPSUD help and created one for TVBANDW. New verb created in POPSDAT and NEWPARMS. Moved nowhere. 15636. April 22, 2021 VLBARUN Eric Have to set IMSIZE again after call to UVPLT. That task now uses IMSIZE and the proc sets it to 0 with DEFAULT. Moved to 31DEC20 this date. 15637. April 23, 2021 LISTR Eric On SCAN, source velocities for single source files were not converted to km/s. Moved nowhere. 15638. April 27, 2021 UVPLT Eric The task could decide to plot phases from 0 to 360 when the user specified -180 to 180 if the user did not specify the X range. Stopped the decision for 0-360 when the phase range is specified (it will do 0-360 is asked). Moved to 31DEC20 this date. 15639. April 27, 2021 VLBARUN Eric The title line in the html file used OUTNAME rather than INNAME. Moved to 31DEc20 this date. 15640. April 27, 2021 Misc Eric RFLAG had a typo in an error message making it senseless. Improved the message when DOPLOT not 0 but neither time nor frequency requested. IMAGR help file did not describe IMAGRPRM(5) properly except under BMAJ. Improved this and even the EXPLAIN. Moved nowhere. 15641. April 27, 2021 UVDEC Eric It called GCSEL for no obvious reason with an old call sequence. Dropped that call and changed to allow GC tables to be copied with the other no channel dependent tables. Should go to 31DEC20. 15642. May 5, 2021 TV2COLOR Eric Added another coloring method to TV2COLOR, using hue and saturation. Changed TV2COL Coded the 2nd method interaction COLR2S New subroutine to implement method 2. COLOR2 Changed comments TV2COLOR Help file updated. Moved nowhere. 15643. May 17, 2021 IMAG models Eric Discovered that CMODEL='IMAG' worked only if the center pixel (NX/1, NY/2+1) was the reference pixel. The option CMODEL='SUBI' also did not work. Changed: FFTIM To set the X and Y offsets using the reference pixel rather than simply -1,0 in call to PLNGET. Dropped SUBGET call and dropped MODEL fron call sequence. PLNGET Did the X offset correctly but failed on Y. Changed the logic to require that the offset image fit within the output image and then simplified the writing oof the output image. GRDSUB Changed the FFTIM call sequence. GRDSET Corrected - it had MODEL as a logical when it is an integer. All values were true when that was not what was intended. Moved nowhere. 15644. May 24, 2021 FACSET Eric To enable scaling of models by fluxes in the SU table, changed DGDS.INC Added FACFLX and FACMOD to store the SU table flux and model flux FACSET To find the model flux on the first call and to find the SU table flux for the specified IF. Then set the scaling parameters appropriately. Tasks BLCAL, BLCHN, BPASS, CALIB, CPASS, FRING, nad KRING to test FACFLX to see if doing the IFs all together (no SU table flux) or separately. Moved nowhere. 15645. May 24, 2021 VLBARUN Eric Changed the proc and help file to allow the user to omit the EOPS and/or TECR operation by setting the appropriate adverb (EOPSFILE, TECRFILE) to '-'. Moved nowhere. 15646. May 25, 2021 FACSET Eric Frequency-dependent CC models may be presented to FACSET after the first call. So, changed my revised code to sum the CC flux on every call, not just the first. This is excessive in most cases but not all. Moved nowhere. 15647. June 2, 2021 TVDATA = TVFACTS Eric New verb to tell the user about his TV, uses PRTLEV to control amount of output detail. The two are identical. Changed: POPSDAT.HLP, NEWPARMS.001, AU6B.FOR. Also corrected error messages in $YSS/YFIND.FOR and $YSERV/XAS.SHR. Moved nowhere. 15648. June 3, 2021 DBCON Eric DBCON was ready to handle antennas missing from an AN file but did not check for ones named OUT or blank with zeros for the XYZ coordinates. The VLA lists all 28 antennas always with OUT and zeros for the ones currently not available. Added code in the antenna file merging routine to detect this and look for a valid antenna by that number in the 2nd antenna file. Note that any data for the OUT antenna found in the 2nd data set did make it into the output visibilities - just not the output antenna table. Moved to 31DEC20 this date. 15649. June 21, 2021 CCMOD Eric Added a model type: a disk times a Gaussian (e.g. the Moon mutiplied by the primary beam). Changed the code to figure out the total model flux first and then create the model scaled to get exactly the user's requested flux. Moved nowhere. 15650. June 29, 2021 FACSET again Eric When I changed FACSET to allow setting IF-dependent scales for image models, I corrected the IF statement that would force that in CALIB but left the CC-table only part unchanged in the others. Fixed that for BLCAL, BLCHN, BPASS, CPASS, FRING, and KRING. Moved nowhere. 15651. July 2, 2021 AIPSLetter Eric The June 30 2021 AIPSLetter is done. TEX, PS, and PDF files. Moved nowhere. 15652. July 2, 2021 MARSP Eric NEW TASK: Finds the polarization angle with respect to radial in an image. This was first used on MARS (A configuration a closest approach) and has now been used on the Moon (L band D configuration) and mentioned in a memo. Moved nowhere. 15653. July 2, 2021 VLBA RFI Eric Changed VBRFI and PLRFI to, by default, scale the plots so that no more than 5% of the channels fall off the plot. Makes plots more useful - full scale is allowed by setting PIXRANGE and APARM < 0. Moved nowhere. 15654. July 2, 2021 NEW TASKS Eric PCABL Interpolates the cable cal values from PC table 1 (the traditional PC table) and higher PC table versions created by PCLOD. VLBSY Reads total power VLBA text file and makes a standard AIPS SY table VLBCD Reals a VLBA cal text file and extracts the noise tube values into a standard AIPS CD table. PCDIV Scales the pulse cal amplitudes, dividing by or multiplying by the TY or SY table values. Moved nowhere. 15655. July 16, 2021 Bandpass Eric Discovered that the bottom level solver routines could change the reference antenna part way through a spectrum! Changed GCALC, GCALC1, NCALC to exit with an error code if the sum of weights to the reference antenna is zero. This will flag the solution for that channel which is much better than getting bad phases for most everything. Wrote a new routine REFSET which sums up the weights for all channels, polarizations, and IFs to see which antenna has the most. Changed BPASS to call REFSET on the first solution interval to set REFANT if the user has not. This REFANT is then used for the rest of BPASS. Changed BPASS help file to put more emphasis on REFANT. Moved nowhere - should go to patch? 15656. July 16, 2021 axis labeling Eric Discovered that most places in the code that chose how many tick marks are on an axis did not do it exactly correctly. Also the task-level places did not do the same as the lower level routines which are often used to set the size of the plot. The axis label got left off the plot sometimes as a result. Changed subroutines GTICNT, GTIC, BPEDIT, and QEDIUTIL and tasks EVAUV, BSTST, IMEAN, SERCH, BLPLT, BPEPL, BPLOT, PCPLT, PDPLT, RFLAG, SNIFS, and SPRMS. Some tasks would also omit the first tick. Moved nowhere. 15657. July 16 2021 CALIB Eric Added REFANT and DOFIT to history file. Clarified info about GAINUSE. Also clarified GAINUSE in CALHIS. Moved nowhere. 15658. July 16, 2021 PANEL Eric The theoretical gain was incorrect. It was multiplied by the number of samples rather than 1.0 which would be perfect 0 phase everywhere. Moved nowhere. 15659. July 16, 2021 UVHOL Eric Changed code to ignore ICHANSEL outside range of BCHAN to ECHAN. Data with 1 frequency channel came out 0 if ICHANSEL = 5,124 for example. Moved nowhere. 15660. July 19, 2021 RFLAG, ZOPEN Eric Changed RFLAG to allow 600000 simultaneous flags. Changed ZOPEN to add "LOCKED" to the NOT AVALABLE error message. Moved nowhere. 15661. July 19, 2021 VBRFI, PLRFI Eric The number of ticks when labeling frequency can be different in different SPWs. Changed the frequency labeling routine to count the ticks in each SPW (as it goes) so as to try to label at least one tick in each SPW. Changed frequency units to GHz. Moved nowhere. 15662. July 20, 2021 VLBARFI, LWPLA Eric Changed LWPLA to reset the counter of strings omitted between plot files. Changed the meanings of DOPLOT in VLBARFI .001 and .HLP. Level 1 does BPASS, RFLAG, VBRFI. Level 2 adds instrumental phase cal and the CL tables after ACSCL and APCAL. Level 3 adds POSSM of the output for each antenna and scan and level 4 adds SNPLT of more calibration files. Moved nowhere. 15663. July 23, 2021 VLBAUTIL (vlbaamp), VLBARFI Eric Changed VLBARFI to have DOBAND < 0 mean no bandpass computation and no banpass application. Changed VLBAUTIL procedure VLBAAMP to recognize the absence of a BP table and to skip the ACSCL steps in that case. Fixed VLBAAMP help file that called VLBABPSS by an old name VLBAPASS. Moved nowhere. 15664. July 23, 2021 BPEDT, PCEDT Eric Changed BPEDIT to offer a SET TIME RANGE option for editing with BP and PC tables. The user may enter the time range in decimal days or in sexagesimal. Also changed help files BPEDT, PCEDT, HLPEDIBP, and HLPEDIPC. Moved nowhere. 15665. July 23, 2021 SPFLG et al Eric Improved the help section on STOKES for SPFLG, TVFLG, and FTFLG help files. Linears are supported in the tasks but were not in the help files. Added code to warn the user that a pre-existing grid file is being used. Put back SPFLG and FTFLG. TVFLG is doing something bizarre. Moved nowhere. 15666. July 26, 2021 TVFLG, SPFLG, FTFLG Eric Put back the above changes in TVFLG also. Corrected the size of the big buffer. It was set too small so it is a wonder that the tasks worked at all. Also added a FREE of a modest memory when using a pre-existing grid file. Moved to 31DEC20 this date. 15667. July 26, 2021 FREESPAC Eric Changed the verb FREESPAC, subroutines $APLGEN/ZFREE.FOR and $APLUNIX/ZFRE2.C. The integers holding total space and free space have to go to long integers, 2 further max sizes are needed, and the format needs to change, adding characters to the size and file name and changing the access column to 3 characters called Who (All, You, No are the possibilities). Moved nowhere. 15668. July 27, 2021 DELAY Eric Changed AU3B and DELAY.HLP to allow the delay time to be an immediate argument, using DETIME only if there isn't one. Moved nowhere. 15669. July 27, 2021 PLRFI Eric Changed it to use BCOUNT and ECOUNT as the numbers to be appended to INFILE. Cleaned it up to make sure all adverbs are filled in before creating the plot file and changed the plot ID to 74. Dropped unused FLAGVER. Changed AU2A and AU8A for PLGET and EXTLIST, resp. for this new plot type. Moved nowhere. 15670. August 2, 2021 VLBALOAD Eric Changed VLBALOAD in VLBAUTIL to not force DOCONCAT to true. Added that adverb to the VLBALOAD help file instead. Corrected VLBALOAD which used CHKNAME and then did a loop over INSEQ from 1 to the number of matching names. But those names could be seq 3 4 5 for example which causes the loop to die. So changed it to use NAMEGET which will set INSEQ to the highest matching the other name parameters (which are known). Then the INDXR and VLBAMCAL are done only on the file that was just written. As a consequence, VLBALOAD returns the name parameters already set. Added ANTNAME='VLBA', ' ' so that VLBA antennas get their usual numbers even if some are missing. Other antennas will be numbered 11 and up. Moved nowhere. 15671. August 2, 2021 VLBARFI Eric Changed to allow a rather generic calling procedure to run this pipeline at least on one-source, one-scan data sets. 1) Added SYSOUT to specify a full pathname for an archival copy of the VBRFI output text file. 2) Changed it to find a CALSOUR when the input CALSOUR is all blank and the SU table has only one row. 3) Similarly, if TIMERANG is all zero, it is set by the times in a one-row index (NX) table. Since TIMERANG is only needed a little, VLBARFI will probably work on multi-scan data sets. 4) Changed help file to discuss all this. Documented Q_DEBUG in the inputs and help. 5) Changed the TEC section to delete the /tmp/jpl* file 6) Changed to run the EOP section only if, in debug, the TEC was allowed to execute. 7) In Q_GETUVF changed it from CHKNAME to NAMEGET and removed a place that forced INSEQ to be 1 (!). 8) Set DOCONCAT false for VLBALOAD. Moved nowhere. 15672. August 2, 2021 VLBARUN Eric Similarly 1) Set DOCONCAT false for VLBALOAD. 2) In P_GETUVF changed it from CHKNAME to NAMEGET and removed a place that forced INSEQ to be 1 (!). 3) Changed the TEC section to delete the /tmp/jpl* file Moved nowhere. 15673. August 2, 2021 VLBAWIDE Eric NEW RUN file and help file to process many of the one-source, one-scan, many frequency data sets for the wide-band and RFI studies. It runs many VLBARFIs. Moved nowhere. 15674. August 10, 2021 BPEDT Eric Changed BPEDT and BPEDIT Fortran to allow the option to flag a copied BP table instead of the uv data. Added the option to interpolate across the flagged channels (much like that option in BPASS). Changed the help file also. Moved nowhere. 15675. August 11, 2021 VLBAAMP Eric Added the adverb ICHANSEL to the help file. It is used by ACSCL and the default (inner 75%) may not be appropriate. Moved nowhere. 15676. August 17, 2021 Adverb help files Eric Updated the usage info for new and changed tasks in ANTENNAS APARM BADDISK BASELINE BCHAN BCOUNT BIF BLC BLVER BMAJ BMIN BPA BPARM BPVER CALCODE CALIN CALSOUR CLINT COLORS CPARM CUTOFF DATAIN DETIME DOBAND DOCALIB DOCLIP DOCONCAT DOCRT DOFLAG DOHIST DOKEEP DOPLOT DOPOL DOTV DOUVCOMP ECHAN ECOUNT EIF FACTOR FLAGVER FREQID FUNCTYPE GAINUSE GCVER GRCHAN GWIDTH ICHANSEL IN2CLASS IN2DISK IN2NAME IN2SEQ INCLASS INDISK INEXT INFILE INNAME INSEQ INTEXT INVERS LTYPE NBOXES NCHAV NDIG OPCODE OPTYPE OUTCLASS OUTDISK OUTFGVER OUTFILE OUTNAME OUTPRINT OUTSEQ OUTTEXT OUTVERS PDVER PIXRANGE PRTLEV QUAL SELBAND SELFREQ SMOOTH SOLINT SOURCES STOKES SUBARRAY SYSOUT TIMERANG TRC TVCHAN TYVER UVRANGE WEIGHTIT Changed OUTVER to OUTVERS in VLBCD and VLBSY. New adverb help files to supprt VLBARUN and friends plus OBIT things CHREFANT ELEVLIM EOPSFILE OBITVERS SELFCAL SMRATES TECRFILE TYSMOLEV Moved nowhere. 15677. August 17, 2021 More doc files Eric Brought the TAB completion file $HLPFIL/HLPIT.LIS up to date for new tasks, verbs, adverbs. ABOUT files changed: ANALYSIS CALIBRAT EDITING HARDCOPY IMAGING MODELING PLOT POLARIZA RUN SPECTRAL TASK TV UV VERB VLBI Moved nowhere. 15678. August 19, 2021 VBGLU Eric Changed it to allow different observation dates for the input files. The output times in the UV data and tables are the correct times relative to the lowest start time in the data. This may be used to combine data that are observed at different times in the different frequencies, including data that might be different FREQIDs when combined in other ways. The output data from VBGLU will be correctly interpreted by IMAGR, which rather fundamentally cannot handle multiple FREQIDs. Moved nowhere. 15678. August 20, 2021 VBGLU Eric Changed it so that some tables that have no IF columns will be handled in case the times differ. These are WX (weather), PO (planet position), OT (over the top), and GP (gps). Changed the help to add cautions. Moved nowhere. 15679. August 24, 2021 VBGLU, MATCH Eric Changed both tasks to attempt to reorder the random parameters if they disagree in their order. Moved nowhere. 15680. August 24, 2021 LISTR Eric Task had trouble with FQ tables with multiple FQIDs and single source. FQMATC changed the FREQID to -1 and then CHNDAT got mad. The error code did not get sent to the calling routine which then went on with the "printer" not open. Moved nowhere. 15681. August 26, 2021 AIPS Eric Changed AIPS to alow input lines as long as 128 characters rather than the historic 80 to which it was limited. Changed DIO.INC 80 -> 128 ZDCHIN NCHLIN now set to 128 ZPRMPT.C $APLLNX64, $APLLINUX, $APLUNIX changed the array sizes appropriately CONFRM String size has to be 128 now PREAD Use CHAR*(*), statement numbers GETFLD String size now 128, statement numbers GETSTR Use CHAR*(*) Dropped DIO.INC from $AIPSUB ASSGN EQUIV MASSGN PASSGN SUBS Remove unreferenced statement numbers from $AIPSUB AUB AUC EDITOR HELPS KWICK OERROR POLISH SGLAST Changed the MSGWRT of the input line in AIPS AIPSB AIPSC BATER GRIPR POPSGN Fixed long lines in help files ANCAL BADDISK POSTSCRIPT MOved nowhere. 15682. August 30, 2021 CookBook Eric Changed chapters: 4 new archive, BPEDT (edits BP), CROWDED=2 for speed 5 New section on DBCON/VBGLU, CMOD='IMAG' in CALIB, CROWDED=2, UNDO FLAGS now does REDO FLAGS and REPLOT 6 UVPLT baseline, VBRFI, PLRFI, RIRMS, TVDATA/TVFACTS, TVBANDW, BPEDT 7 PBCOR and CCMOD added models, VBRFI/PLRFI, ACIMG, DFTIM uv statistical tasks 9 BPEDT, ACIMG, RIRMS, VBRFI, VLBARFI, VBGLU 12 80 -> 128 13 ABOUT files C VLBARFI,VLBABPSS correctly spelled O FILLM use of DATAIN I Update index J Update html index 0 Update table of contents Moved nowhere (and everywhere). 15683. August 31, 2021 CookBook Eric Changed chapter 9 for a missing close bracket that made all the rest of the chapter be in tt font. Changed chapters L and V for an indexing issue. Redid Chapters 0, I, J (table of contents, indices) because of 9 and other issues. Updated the online html version and redid COOKBOOK.PDF (66 Mbytes now). Moved nowhere - $AIPSPUBL was put in 31DEC20 MNJ files. 15684. September 2, 2021 WIPER Eric Changed IAXIS1 to understand CTYP = 'NO TICS' to mean just that (as in CLAB1). Changed WIPER help and Fortran to have Baseline as a plot type. This is messy since it is not a continuos axis. Fixed UVPLT to check that the baseline ticks fit in the plot. I had a data set with 12 antennas but no data to 12. The plots just went to 11 but the ticks went to 12. Moved nowhere. 15685. September 8, 2021 PBEAM Eric The normalization of power beam data (moving antenna with moving antenna) was not handled correctly. This led to peculiar residual images. Added code to show the actual contour values on each contour plot. The gridding routine is a bit tricky in the outer parts, making the model plot not round in the lowest contours. Moved nowhere. 15686. September 14, 2021 PBEAM Eric Changed the DOPLOT bit pattern to insert with value 2 plots of the smooth computed model and data points versus radius. Also a plot of the residual points versus radius. Added detection of the end of a data group and the ability to do more than one of same. Added FREQ and STOKES axes to the output images, the former being omportant when there are multiple groups. This changed the code to forbid a re-read of the input, so normalization is done now without the re-read. Added VPARM(12) to fit a power beam rather than voltage and VPARM(13) to set the outer radius for included data. Annotation of the output file names on the plots plus indications of which color is used for which were added. Changed AU8A (EXTLIST) for added plot types. Moved nowhere. 15687. September 15, 2021 HOLOG Eric HOLOG used to use BPARM(1) as a map size in meters, but this means that the cell size in images of the data is a function of frequency. Added adverb CELLSIZE which, if > 0, sets the value of BPARM(1) overriding whatever was in BPARM(1). This then forces the desired cell size in output image types 1, 2, and 3. A message about the change is given. Moved nowhere. 15688. September 16, 2021 CMPLX Eric NEW TASK: Combines two complex images by various sums, multiplications, and divisions plus conjugate and swap. A complex image is two image of either amplitude and phase or of real and imaginary parts. Update help file for CELSIZE in HOLOG. Updated for CMPLX help files for INNAME, INCLASS, INSEQ, INDISK, IN2NAME, IN2CLASS, IN2SEQ, IN2DISK, IN3NAME, IN3CLASS, IN3SEQ, IN3DISK, IN4NAME, IN4CLASS, IN4SEQ, IN4DISK, OUTNAME, OUTCLASS, OUTSEQ, OUTDISK, OUT2NAME, OUT2CLAS, OUT2SEQ, OUTDISK, DOALIGN, BLC, TRC, APARM, OPCODE, and DOHIST. Moved nowhere. 15689. September 20, 2021 VLBSY Eric Changed it to limit the printing of MISSING SOMETHING messages. It now prints the first and a summary of the total for each antenna that has any missed polarizations. Moved nowhere. 15690. September 20, 2021 TAPPE Eric Added SY to the list of known table types. Changed to insert the sort order into the output table header. Moved nowhere. 15691. September 22, 2021 VLBARUN Eric Corrected the procedure: 1. With DOPLOT=2 it plotted SN table 0 (became 1) and CL table 1 (boring, should have been 2). Then it replotted most of the SN plots along with the CL plots. 2. At the end it did not use the correct p_plcnt(i) for the plot numbers of the CL table after ACCOR. 3. Used up the last p_plcnt so that the plot file numbers for RFLAG may be reported correctly. It should now do things properly for DOPLOT 2 and 1. Moved nowhere. 15692. September 23, 2021 VLBARUN Eric Add a P_GSTOK procedure to set stokes to 'half' if possible or 'RR', 'LL', 'XX', 'YY', 'I' if not. Stokes 'HALF' caused VPLOT to fail when there was only 1 Stokes. Moved nowhere. 15693. October 1, 2021 VLBCD Eric The number of columns in the CD table was the old value prior to the Solar cals. It worked in debug mode but not when optimized. Moved nowhere. 15694. October 11, 2021 UVPLT Eric Added SOLINT to allow time averaging within the task before plotting. Subroutine AUVGET goes in on top of UVGET with some tricky logic to dump all averaged baseline records when SOLINT i exceeded or a scan break happens. Changed AU2A (PLGET) and AU8A (EXTLIST) for added adverb. Moved nowhere. 15695. October 12, 2021 VLBARUN Eric Changed VLBARUN.001 to first print the INPUTS to the messages.txt file, followed by LISTR with OPTYPE='SCAN'. Changed the UVPLT procedure to make 3 plots. Average all channels with time average 1/2 minute vs time, average all channels and times versus baseline length, and then no averaging versus baseline length. This takes advantage of yesterday's enhancement of UVPLT. Other changes: Make message on PSEUDO pay attention to invers: it is PULSE CAL only if INVERS > 0. Changed autboxing in IMAGR to take only one box per major cycle. Quit if there is an error in VLBATECR rather than doing the EOP any way and then quitting. Moved nowhere. 15696. October 22, 2021 VLBARUN, VLBAUTIL Eric Changed VLBABPSS in VLBAUTIL.001 to have another adverb BPASS5 to set the value of BPASSPRM(5) with value 0.0 taken as 1 (the previous value). Changed VLBABPSS help. Added BPASS5 to VLBARUN as well and its help. Changed imaging of PSEU type to exclude 1/12'th of the channels at each end. Spectral cubes will also omit 1/12'th; previously it was 1/10'th. Added -2 for BPASSPRM(5) in BPASSPRM help file. Moved nowhere. 15697. October 22, 2021 Misc Eric BPEDIT Needed to turn the TV hold off after resetting the channel range when SELECT FRAME. FRING Improved display of times UVCOP Improved the display and handling of kept flagged records. Moved nowhere. 15698. October 22, 2021 IMAGR Eric Fixed QCLEAN: if FLUX > 0 and IM@PARM(1) > 0, a setup used in VLBARUN, IMAGR would have no boxes in the first check of peak residuals. Hence the peak was 0 and less than FLUX, so it decided to quit right off. All this before the first auto-boxing had a chance. Fixed QCLEAN so that CLRMAX will return the field max and min if no field has boxes. Moved nowhere. 15699. October 27, 2021 Contouring Eric Wrote new subroutine FXLEVS to read the subimage to be contoured to find (and return) the extrema and then change the list of LEVS to only those that will be used. Changed COMLAB to receive and display the actual extrema rather than the image overall maximum. Changed CNTR, CCNTR, GREYS, PCNTR, and KNTR to call FXLEVS and then display the actual LEVS used and the (contour) extrema. Moved nowhere. 15700. November 1, 2021 BDF2AIPS Eric Added DOALL to BDF2AIPS inputs and subroutine AUO. If > 0, doPoint True is sent to BDFIn. If <= 0, doPoint is not sent. This parameter is only recognized by OBIT versions >= 635, so not sending the parameter is important for older versions. doPoint True tells BDFIn to create a PT table in the output file. This table can be very large and is not used inside AIPS, although it is used by OBIT including BDFIn. Moved nowhere. 15701. November 1, 2021 BASRM Eric This task was supposed to fit and subtract a polynomial baseline from autocorrelation data while passing cross correlation data unchanged. It contained all sorts of unused garbage having to do with adverbs not used by the task (sources, times, ...). It also did one fit for all IFs and polarizations as if they were one spectrum. And the fitting routine did not work. Dropped the garbage, changed it to fit each IF and polarization separately, and installed DFITPN, one of Leonia's really good polynomial fitting routines. Cleaned up history and gave the task ICHANSEL as a better way to specify the channels to be fit. This is now a useful task and may be added to the VLBARFI pipeline. Moved nowhere. 15702. November 3, 2021 PANEL Eric Added a new plot type to show which corner is which on every panel since left/right rotate around the circle. The plot has the panel outlines, a centered panel number, and 4 symbols for the 4 columns of adjustments (now also labeled A, B, C, and D). Moved nowhere. 15703. November 5, 2021 BPASS Eric It did not do the calibration and BP output version history records for single-source files. That is no longer appropriate. Moved nowhere. 15704. November 8, 2021 DOPOL Eric TABPD can return negative error codes indicating some or all of the data is blanked. Changed it to return -4 when the PD table record is flagged. Corrected POLSET to handle these codes. It used to die on a negative error code, the same as a positive one. The other programs that access the PD table understand this. Moved nowhere. 15705. November 8, 2021 DT2PD Eric NEW TASK: The first of a set of tasks and subroutines to handle D-term table data to contain absolute D terms we hope. This task makes a standard PD extension file from such text files with the interpolated D terms for the frequencies of the present data. Moved nowhere. 15706. November 9, 2021 POSSM Eric The plotting of PP tables (output of RLDIF or XYDIF) needs only 1 plot. Therefore, PP plotting does not appear in the multiple panel plotting section. Changed code to force PP ploting to set NPLOTS=0. The code converting data buffers into plot buffers carefully set some local variables for PP and other table plots but then used the values from outside. Fixed to use the local corrected number of IFs and polarizations. Moved nowhere. 15707. November 12, 2021 PP table Eric The PP table is written by RLDIF and XYDIF when they are run in spectral mode. Changed the format of the table to include a column of the uncertainties. Changed: PPINI Add the 4th column as an array like the phase corrections. TABPP Added 4th column, with its absence on READ being noted but not treated as an error. RLDIF Final error bars were way too small, dropped a divide by the summed weight. Changed TABPP call to include the uncertainties. XYDIF As RLDIF. PPAPP Changed TABPP call, ERRORS are not actually used of course. POSSM Added an ERROR array and pointer to say if it has values. In the PP file read, changed the TABPP call sequence and then move the errors (if any) to the POSSM array. Changed the plotting subroutine to label PP plots correctly and to plot the error bars for PP data (there is phase only) when present. Also corrected some error handling in the plot routine. Moved nowhere. 15708. November 12, 2021 VBRFI, PLRFI Eric Changed it to avoid plotting the mean spectrum if it is exactly equal the average of the max and min spectra. It confuses the plot and when there are only 2 samples (RR and LL) then it contains no information. Moved nowhere. 15709. November 16, 2021 VLBARFI, VLBARUN Eric Changed VLBARUN to set the correct file sequence number when the input file is loaded by FITLD. It was assuming 1. Changed VLBARFI as well for this. Also changed VLBARFI to output the INPUTS followed by running LISTR with OPTYPE='SCAN' and put these in the output message log. Changed VBRFI call to set SOLINT=0.24333 minutes. Changed VBRFI to do an unweighted mean and to support SOLINT and also scan boundaries. Added writing things to the hitory file. Moved nowhere. 15710. November 17, 2021 NX table Eric Moved NDXINI, TABNDX, GETNX, RNXCLS, RNXGET, RNXINI, and RNXUPD from $APLNOT to $APLSUB. This will allow $APLPGM tasks to keep the NX table in output files properly managed. Moved nowhere. 15711. November 17, 2021 NX table in tasks Eric Changed $APGNOT/BASRM and $APLPGM BSROT, CENTR, DENAN, DGAUS, DIFUV, DSORC, DSTOK, FIXFR, OFUDG, REAMP, RESEQ, REWGT, UVADD, UVCMP, and UVPOL to use the RNX subroutines to create, fill, and close an output NX (Index) table. Lots of tasks depend on this table and it should always be present without having to run INDXR. Moved nowhere. 15712. November 19, 2021 VLBARUN Eric Corrected the file naming when processing CALSOUR(2)='*' to access the inut multi-source file. Moved nowhere. 15713. November 24, 2021 FRING Eric Add the source number to the line giving time and polarization. When doing more than one source this may be helpful. Moved nowhere. 15714. November 24, 2021 VLBA RUN and RFI Eric Found a number of issues caused by setting CALSOUR(2)='*'. (1) The GETUVF proc, used in this case, does not set inname, inclass, inseq, and indisk. Fixed all references to p_getuvf in VLBARUN.001 and q_getuvf in VLBARFI.001 to set inname, et al. from the adverbs that are set by the getuvf proc. (2) When the RFLAG proc made plots to the output area, it lost track of the FOR loop variable (I) and so started an infinite loop. Changed to a unique loop variable. (3) Changed the setcell proc to get the number of IFs every time. If that variable was not 0, it did not check with the current data set. (4) Fixed the high value RFLAG plot file in this case. (5) Added more and improved progress messages. Moved nowhere. 15715. November 30, 2021 VLBA RUN and RFI Eric Changed VLBARUN.001 to delete any messages.txt file at the start and to try to delete /tmp/jpl* only if VLBATECR is actually run. Made these changes to VLBARFI and added the EOPSFILE='-' and TECRFILE='-' options. Improved the help files for these options. Changed them to avoid use of TVCOLORS - the TV is not used otherwise. Values are the defaults normally not changed by users. Changed IM2PARM values for autoboxing to 1 component at a time with default cutoff values (3 sigma box, 5 sigma peak, > 0.1*residual max); the previous values were too demanding. Moved nowhere. *********************************************************************** *********************************************************************** Changes while 31DEC21 is NEW *********************************************************************** *********************************************************************** 15717. December 8, 2021 CLIP Eric Added the option to slip on the BCHAN-ECHAN vector average of each record as well as on the individual channels. Fixed the writing of flag records so that a flag on Stokes 1011 is not followed by an otherwise identical one on 0010 and another on 0001. Moved to 31DEC21 this date. 15720. December 14, 2021 RGBLEVS Eric Changed TXRGBL to use G3CHAR rather than GCHDRW which can be problematic. Changed its call sequence. Changed PCNTR and KNTR to support this change. Changed SETRGBL.001 to make the blue not be just blue - too dark on TV screens. Adjusted wording in STEPLEVS.001. Moved to 31DEC21 on Dec 20. 15722. December 21, 2021 STALIN Eric Changed AU7B verb STALIN to limit to tasks matching PRTASK with blank = any. Also help file of course. Moved to 31DEC21 this date. 15718. December 10, 2021 ELINT Eric Changed tasks to 1. Make POLZ the default 2. Add DOPLOT = 2 to overplot all included IFs DOPLOT=3 to put all included IFs together for 1 fit and plot (per polarization per antenna) 3. Add DOALl=+ or - 10 to plot only the fit not the data 4. GRCHAN=0 lets multiple colors be used esp with DOPLOT=2 5 GAINVER=-1 causes the task not to update any CL table 6. Order of plots changed All IFs from first polarization, then all IFs from second polarization. This is needed for DOPLOT=2. 7. Plot extrema based on data from all IFs plotted in the plot Moved to 31DEC21 on Dec 22. 15719. December 13, 2021 ELINT Eric Added DPARM(1) as the elevation for which the fit should be 1.0. Scale the fit parameters and the data by whatever the fit is initially at this elevation. An alternative display of the fit in the form b0 + b2 * (ELE - b3)**2 was already in the code but only used when PRTLEV > 10. Made DPARM(2) also correct PRTLEV to get this form. Changed GCHDRW which did odd things to GCHAR and G3CHAR. Corrected some formats that scaled b3 wrongly and other minor tweeks. Moved to 31DEC21 on Dec 22. 15721. December 20, 2021 ELINT Eric Changes: 1. CL table info added to history 2. On DOPLOT=2, display the average FIT parameters on the plot and message file. 3. On DOPLOT 2, color the IFs with true colors if DO3C <= 0. Else use graohics colors in sequence and color sources. 4. Correct DOPLOT=3 fitting (fix the counts/source to include the presence of multiple IFs) 5. Apply the scaling to the fit parameters when they are applied to the CL table. 6. Add DPARM(1) < 0 to turn off scaling the fit. Moved to 31DEC21 on Dec 22. 15723. December 22, 2021 CookBook Eric Changed Chapter 13 minorly for ANALYSIS, CALIBRAT, POLARIZA, TASK, UV. Corrected typo in Index. Replace COOK13, COOKI, and COOKBOOK.PDF. Moved everywhere in $AIPSPUBL. 15724. December 22, 2021 adverb help files Eric For UVPLT, VBRFI, BASRM, BDF2AIPS, DT2PD, ELINT, STALIN changed helps for SOLINT, BPARM, ICHANSEL, DOALL, INNAME, INCLASS, INSEQ, INDISK, FREQID, SUBARRAY, INFILE, BADDISK, DPARM, DOPLOT, and PRTASK. Moved to 31DEC21 this date. 15725. December 22, 2021 EXTLIST, PLGET Eric Change EXTLIST and PLGET for changed adverbs in VBRFI (SOLINT) and ELINT (DPAR< DOPLOT). Moved to 31DEc21 this date. 15726. December 22, 2021 VLBARUN Eric Add CALTASK to determine what task is used in the phase versus time and the self-cal segments. FRING is FRING, CALIB is CALIB, and CALIBS is FRING for the time sequence and CALIB in the self-cal. Added lots more error checking from p_debug usage. Moved to 31DEC21 this date. 15728. December 29, 2021 ELINT Eric DOPLOT=2 messed up when an IF was bad. Corrected the logic for handling bad IFs in this mode. Was plotting the average fit rather than the one for the highest IF in this mode. Moved to 31DEC21 this date. 15733. February 1, 2022 web address Eric A typo "ccdis" appeared inn help files for TECOR,VLATECR, and VLBATECR. It was corrected to cddis. Moved to NEW Feb 7. 15734. February 4, 2022 FITLD Eric The limit on files to be read was 999 due to a lack of larger formats. Moved to NEW Feb 7. 15735. February 7, 2022 PLNGET Eric The changes to allow proper usage of subimages as models caused the most common usage to fail because the X axis was shifted by 1, thereby falling of the right hand side. Added code to handle this case, wrapping the one X pixel. Moved to 31DEC21 on Feb 7. 15751. March 21, 2022 DATPOL Eric If a channel in the PD table was magic blanked, DATPOL blanked that channel properly, but the next value in the buffer past the one being blanked also got a zero. This could be the next polarization, the next channel, or even the value of U is the next sample. Corrected code so that weight 0 does not creep outside of where it should be. Moved to 31DEC21 this date. 15756. April 1, 2022 POSSM Eric When plotting with NPLOTS=0 (all data combined) and APARM(9) = 2 OR 3 (polarizations on same plot), the logic had an error causing only the first polarization to be plotted. Moved to 31DEC21 this date. 15744. March 3, 2022 TRUEP Eric In fumbling around with the math for rotations other than +-90 a version was putbck with wrong formulae. Reverted to an older version with all the history additions (corrected) and a couple of other fixes (format for not finding the input, etc) TRUEP did not record the execution time or input file name parameters in the history. Also the source names came out blank in the history. Moved nowhere. 15770. May 4, 2022 COMLNK COMRPL Eric Changed $SYSUNIX files to update transaction logs if on SITE COAOARN and $UPHOME is set correctly. COMLNK elsewhere or without setting $UPHOME skips any transaction logging. This change gets rid of the dependence on the antique machine dave and allows the /aipssrc repository to be backed up! Moved TO 31DEC21 27 June. 15761. April 13, 2022 XAS Eric Changed the Makefile in XAS so that MACs do not allow shared memory in compilation. Moved to 31DEC21 on 27 June.. 15768. May 2, 2022 RSPEC Eric Added code to set default values into BLC(3) and TRC(3); otherwise it only functioned if the values were set by the user. This is an old bug. Also changed MSGTXT to SPRTXT in labeling. Moved to 31DEC21 on 27 June. 15776. May 25, 2022 OFUDG Eric When using this to clone a new task, it was discovered that the extraction of antenna numbers only supported the old form. Added the new form (separate numbers and subarray). Moved to 31DEC21 on 27 June. 15782. June 3, 2022 PRTAB Eric If RPARM is set, it could be possible to find no records between the BCOUNT and BCOUNT+5000. Changed it to set scales looking from BCOUNT to ECOUNT, but stopping after 5000 records are found. Moved to 31DEC21 on 27 June. 15789. June 13, 2022 POSSM Eric Corrected bug in which memory was over-written when there are more than 50 antennas in the array, causing an abort. Moved 50 antenna fix to 31DEC21 on 27 June. 15796. June 29, 2022 UVPLT Eric The parallactic angle computation did not set up the source number properly unless the other plot axis was hour angle or elevation. Moved to 31DEC21 this date. 15797. June 29, 2022 XYDIF, PP files Eric Changed XYDIF to declare the right number of columns in the PP file. Changed TABPP to convey magic blanks properly between the double precision variables and the single precision stored in the PP file. Moved XYDIF fix only and TABPP to 31DEC21 this date. 15799. July 6 , 2022 Axis labels Eric Changed SLBINI, $YPGM tasks FTARS, RM2PL, RMFIT, TAPLT, XG2PL, ZAMAN, ZEMAN, and $YPGNOT tasks ANBPL, CAPLT, CLPLT, DFTPL, FGPLT, FRPLT, IBLED, PBEAM, PFPL1, PFPL2, PFPL3, SNBLP, SNFIT, SOUSP, UFLAG, UVHOL, UVPLT, VPLOT, and WETHR. The SLBINI affects $YPGNOT task PLCUB, $YPGM tasks TVIEW, XGAUS, SL2PL, TVSPC, AGAUS, XPLOT, ISPEC, RSPEC, and XBASL plus AIPS and SLFIT. Accidentally done on 31DEC21 5 July. 15810. July 18, 2022 CALIB Eric Corrected the history writing of DOFIT. It was producing 30 blank lines in the history file. Changed code to see if DOFIT was actually used (it rarely is) and fixed the writing of it when it is used. Moved history fix only to 31DEC21. 15817. July 22, 2022 TVMENU Eric The time computations to control the automatic timeout were done incorrectly, leading to odd performance of the timeout. Corrected the computation. Lots of tasks relinked. Moved to 31DEC21 this date. 15833. August 12, 2022 UVPLT Eric When plotting individual points rather than making an image, LTYPE 1 and 7 caused the task to fail to honor DO3COLOR. All points were red. Moved to 31DEC21 this date. 15848. September 20, 2022 NOIFS Eric The header was based on the input file, not the output of UVGET. So if 1 source was selected from a multi-source file, the output would have a source random parameter but no SU table. This upsets things. Moved the frequency setting routine to after UVGET and adjusted it for the changes from BCHAN and BIF. Moved these changes only on 27 September to 31DEC21. 15850. September 26, 2022 ZCREAT Eric ZCREAT is the only routine to call ZFRE2 to find out how much disk is available. The Linux version of ZFRE2.C called the arguments "long int" while the Mac versions and ZCREAT called them simply "int". Therefore on Linux this call got wrong results, making it pssible to think there is enough or not enough space incorrectly. Changed all to long int. Verb FREESPAC calls ZFREE and then ZFRE2. ZFREE used long int and so did not need to be changed. Relink all of AIPS - ZCREAT is called all over the place. Moved to 31DEC21 on 28 September. 15851. September 30, 2022 Multi-scale imaging Eric Multi-scale imaging and calibration has been broken since March 3, 2020. Corrected GRDCRM to return the Gaussian component size so that the appropriate taper can be applied to gridded modeling. DFT modeling appears to be correct but slow. Also changed Y2KLOAD to allow UVDIF to ingnore minor differences in the number of vis records in the 2 files. Moved to 31DEC21 this date. 15853. October 20, 2022 MATCH Eric MATCH recorded the antenna numbers backwards when swapping the order of the antennas (i.e baseline 11-2 to 2-11). Moved to 31DEC21 this date. 15856. November 14, 2022 VTESS Eric The $NEW version of $QNOT/CORR.FOR had a bad call sequence to QINIT causing VTESS to abort. Moved nowhere.