; UV2MS ;--------------------------------------------------------------- ;! Append single source file to multisource file. ;# Task UV OOP ;----------------------------------------------------------------------- ;; Copyright (C) 1995-1997 ;; 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 ;----------------------------------------------------------------------- UV2MS LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC UV2MS Append a single source file to multisource file. INNAME Input singlesource UV data INCLASS Input UV data (class) INSEQ Input UV data (seq. #) INDISK Input UV data disk drive # OUTNAME Output multisource UV data OUTCLASS Output UV file class OUTSEQ -1.0 9999.0 Output UV file seq. # OUTDISK 0.0 9.0 Output UV file disk drive # SOURCES Source name (16 char. max.) (Def.: INNAME) REFDATE Reference date. 'yyyymmdd' DOUVCOMP Compress output (if > 0) BADDISK -1.0 1000.0 Disks to avoid for scratch. ---------------------------------------------------------------- UV2MS Type: Task Use: Appends an input single source file to an output multisource file which will be created if necessary. After all single source files are added the multisource file should then 1) be sorted to 'TB' order (UVSRT) and 2) an iNdeX and CaLibration table created using INDXR. NOTE: the geometry if the records in the two files (number of channels, polarizations etc.) MUST be identical; otherwise use DBCON. Adverbs: INNAME.....Input UV singlesource data file INCLASS....Input UV data file (class). Standard defaults. INSEQ......Input UV data file (seq. #). 0 => highest. INDISK.....Input UV data file disk drive #. 0 => any. OUTNAME....Output multisource UV data name. OUTCLASS...Output UV data class. OUTSEQ.....Output sequence number. OUTDISK....The disk drive # of output. 0 => highest SOURCES....Name of source (16 char. max.) Default is to use INNAME. Only the first value is used. REFDATE....Reference date 'yyyymmdd' for the uv data set; used only if the output is to be created. ' ' => use reference date of input uv data file. The form 'dd/mm/yy' is accepted but deprectaed. If uv data to be added later will have an earlier reference date then REFDATE should be set to the earliest reference date of any of the flies to be glued together. (Task FXTIM can be used to rep[air things if you get them wrong.) DOUVCOMP...If DOUVCOMP is greater than zero then a newly created output file will be compressed. If you are appending to an existing multisource file then DOUVCOMP will be ignored and the file will retain its previous compression state. BADDISK....This array contains the numbers of disks on which it is desired that scratch files not be located. BADDISK has no effect on input and output data. ----------------------------------------------------------------