As of Wed Mar 21 8:38:13 2018

SDCAL: Task to apply single dish calibration


INNAME                             Input SD file name (name)
INCLASS                            Input SD file name (class)
INSEQ             0.0     9999.0   Input SD file name (seq. #)
INDISK            0.0        9.0   Input SD file disk unit #
TIMERANG                           Time range to copy
STOKES                             Stokes type to pass.
BIF               0.0      100.0   Lowest IF number 0=>all
EIF               0.0      100.0   Highest IF number 0=>all
BCHAN             0.0     2048.0   Lowest channel number 0=>all
ECHAN             0.0     2048.0   Highest channel number
SUBARRAY          0.0     1000.0   Subarray, 0=>all
DOCALIB          -1.0        2.0   If >0 calibrate data
GAINUSE                            CL (or SN) table to apply
FLAGVER                            Flag table version
OUTNAME                            Output SD file name.
OUTCLASS                           Output SD file name (class)
OUTSEQ           -1.0     9999.0   Output SD file name (seq. #)
OUTDISK           0.0        9.0   Output SD file disk unit #.
APARM                              Control information:
                                     1 > 0 => average data over
                                       frequency and IF
                                     3 > 0 => Drop subarrays
BADDISK           0.0     9999.0   Disks to avoid for scratch


Task:  Apply single-dish calibration to the input data, writing a
       calibrated and flagged output data set.
  INNAME.....Input SD file name (name).      Standard defaults.
  INCLASS....Input SD file name (class).     Standard defaults.
  INSEQ......Input SD file name (seq. #).    0 => highest.
  INDISK.....Disk drive # of input SD file.  0 => any.
  TIMERANG...Time range of the data to be copied. In order: Start day,
             hour, min. sec, end day, hour, min. sec. Days relative to
             reference date.
  STOKES.....The desired Stokes type of the output data:
             'HALF' (=RR,LL), 'FULL' (=RR,LL,RL,LR)
  BIF........First IF to copy. 0=>all.
  EIF........Highest IF to copy. 0=>all higher than BIF
  BCHAN......First channel to copy. 0=>all.
  ECHAN......Highest channel to copy. 0=>all higher than BIF
  SUBARRAY...Subarray number to copy. 0=>all.
  DOCALIB....If true (>0) then calibrate the data using information in
             the specified calibration (CS) table.
  GAINUSE....Version number of the CS table to apply.  0 => highest.
  FLAGVER....Specifies the version of the flagging table to be applied.
               0 => highest numbered table.
             < 0 => no flagging to be applied.
  OUTNAME....Output SD file name. Standard defaults.
  OUTCLASS...Output SD file name (class).    Standard defaults.
  OUTSEQ.....Output SD file name (seq. #).   0 => highest unique
  OUTDISK....Disk drive # of output SD file. 0 => highest with
             space for the file.
  APARM......Control information:
             APARM(1) > 0 => all frequency channels in all IFs will be
                averaged in the output.  <= 0 => no averaging.
             APARM(3) > 0 => drop the subarray code from the visibility
  BADDISK....A list of disks on which scratch files are not to be
             placed.  This will not affect the output file.