; GAINVER
;---------------------------------------------------------------
;! specifies the input gain table
;# ADVERB CALIBRATION
;-----------------------------------------------------------------------
;;  Copyright (C) 1995, 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
;-----------------------------------------------------------------------
;---------------------------------------------------------------
GAINVER   LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC
----------------------------------------------------------------
GAINVER
Type: Adverb  (Scalar)
Use:  Standard data selection adverb; used to specify the
      version number of the input gain (CL, CS) table to be
      applied.  If the gain table has been previously smoothed
      then this table should be specified.
Null value:  0 => highest numbered gain table.
Tasks:
   ANCAL......Places antenna-based Tsys and gain corrections in CL
              table.  GAINVER specifies the CL table to be updated.
   APGPS......Apply GPS-derived ionospheric corrections.
   ATMCA......Determines delay/phase gradient from calibrator
              observations.
   BLAPP......Applies baseline-based fringe solutions a la BLAPP.
   CLCAL......Merges and smooths SN tables, applies them to CL tables.
   CLCOR......Applies user-selected corrections to the calibration CL
              table.
   CLSMO......Smooths a calibration CL table.
   CLVLB......Corrects CL table gains for pointing offsets in VLBI
              data.
   CSCOR......Applies specified corrections to CS tables.
   DELZN......Determines residual atmosphere depth at zenith and clock
              errors.
   ELINT......Determines and removes gain dependence on elevation.
   FARAD......Add ionospheric Faraday rotation to CL table.  GAINVER
              specifies the CL table to be updated.
   SOLCL......Adjust gains for solar data according to nominal
              sensitivity.  GAINVER specifies the CL table to update.
   TECOR......Calculate ionospheric delay and Faraday rotation
              corrections.
   VLAMP......Makes ANTAB file for phased VLA used in VLBI
              observations.
   VLANT......Applies VLA/EVLA antenna position corrections from OPs
              files.
Procedures:
   VLACLCAL...Runs CLCAL and prints the results with LISTR.
----------------------------------------------------------------

Procedures:
   VLACLCAL......Runs CLCAL and prints the results with LISTR.
Tasks:
   ANCAL.........Places antenna-based Tsys and gain corrections in CL
                 table.
   APGPS.........Apply GPS-derived ionospheric corrections.
   ATMCA.........Determines delay/phase gradient from calibrator
                 observations.
   BLAPP.........Applies baseline-based fringe solutions a la BLAPP.
   CLCAL.........Merges and smooths SN tables, applies them to CL tables.
   CLCOR.........Applies user-selected corrections to the calibration CL
                 table.
   CLSMO.........Smooths a calibration CL table.
   CLVLB.........Corrects CL table gains for pointing offsets in VLBI
                 data.
   CSCOR.........Applies specified corrections to CS tables.
   DELZN.........Determines residual atmosphere depth at zenith and clock
                 errors.
   DFCOR.........Applies user-selected corrections to the calibration CL
                 table.
   ELINT.........Determines and removes gain dependence on elevation.
   FARAD.........Add ionospheric Faraday rotation to CL table.
   SOLCL.........Adjust gains for solar data according to nominal
                 sensitivity.
   TECOR.........Calculate ionospheric delay and Faraday rotation
                 corrections.
   VLAMP.........Makes ANTAB file for phased VLA used in VLBI
                 observations.
   VLANT.........Applies VLA/EVLA antenna position corrections from OPs
                 files.
