; VLBAUTIL
;---------------------------------------------------------------
;! Procedures to simplify the reduction of VLBA data
;# RUN VLBI UTILITY CALIBRATION
;-----------------------------------------------------------------------
;;  Copyright (C) 2000-2002, 2005; 2015
;;  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
;-----------------------------------------------------------------------
;---------------------------------------------------------------
VLBAUTIL  LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC
VLBAUTIL: Defines procedures for reducing VLBA data.

          VLBAUTIL uses no adverbs.
          To use these procedures type 'RUN VLBAUTIL'.
----------------------------------------------------------------
VLBAUTIL
Type: Run file
Use:  VLBAUTIL defines a number of procedures that can be used in the
      reduction of VLBA data. See the individual HELP files for full details.
      To use these procedures type 'RUN VLBAUTIL'.

      The following procedures are generally useful:

      ANTNUM   - returns antenna number for a named antenna
      SCANTIME - returns time range for a scan in index table
      DAYNUM   - returns the day number when given a date

      The following procedures automate some aspects of VLBA data reduction:

      VLBALOAD - loads VLBA data with simplified inputs
      VLBAFIX  - fixes VLBA data
      VLBAEOPS - fixes Earth Orientation Parameters (downloads external files)
      VLBATECR - calibrates ionospheric delay (downloads external files)
      VLBASUBS - finds subarrays in VLBA data
      VLBAMCAL - removes redundant calibration data from tables
      VLBAFQS  - copies frequency IDs to separate files
      VLBAFPOL - fixes polarization labeling for common cases
      VLBASUMM - prints antenna and scan information for experiment
      VLBACALA - OBSOLETE determines a-priori amplitude corrections
      VLBACCOR - determines digital corrections from auto-correlations
      VLBABPSS - determines bandpass and futher amp corrections
      VLBAAMP  - determines a-priori amplitude corrections
      VLBAPANG - determines phase corrections for parallactic angles
      VLBACPOL - calibrates cross polarization delays
      VLBAPCOR - determines instrumental phase corrections using phase cals
      VLBAMPCL - determines instrumental phase corrections manually
      VLBAFRNG - does global fringe fit using FRING
      VLBAKRNG - does global fringe fit using KRING
      VLBAFRGP - does global fringe fit for phase referenced exp using FRING
      VLBAKRGP - does global fringe fit for phase referenced exp using KRING

      The following procedures are useful in checking the calibration:

      VLBASNPL - plots the SN or CL tables versus time
      VLBACRPL - plots the crosscorrelation spectrum

      The following procedures are mostly useful for writing run files or POPS
      procedures:

      RUNWAIT  - run a task and wait for it to finish
      MAXTAB   - returns maximum version number for a given table type.

      These procedures use variables and procedures starting with the prefix
      VBA_ for internal purposes so you should avoid defining your own
      variables or procedures that start with this prefix.
----------------------------------------------------------------
