! ==========================================================
! =================  Cover Information  ====================
! ==========================================================

version  = 1.0
expt     = 'HD160934 Orbit -S/X'
expcode  = 'EG099A'
obstype  = 'VLBI'
piname   = 'Jose C. Guirado'
address1 = 'Dpto. Astronomia, Univ. Valencia'
address2 = 'Dr. Moliner 50'
address3 = 'E-46100 Burjassot'
address4 = 'Valencia, Spain'
phone    = '+34 963543078'
obsphone = '+34 963543078, +34629509130'
email    = 'Jose.C.Guirado@uv.es'
fax      = '+34 963543084'
obsmode  = 'Phase-referencing S/X'
note1    = 'RCP'

! ==========================================================
! ==============  Correlator Information  ==================
! ==========================================================

correl   = 'JIVE'
coravg   = 2.0
corchan  = 16
cornant  = 10
corpol   = 'off'
corwtfn  = 'uniform'
corsrcs  = 'schedule'
cortape  = 'DAT'
corship1 = 'Jose C. Guirado'
corship2 = 'Dpto. Astronomia, Univ. Valencia'
corship3 = 'E-46100 Burjassot'
corship4 = 'Valencia, Spain'
cornote1 = 'Coordinates given in srccat'

! ==========================================================
! ==================  Program control  =====================
! ==========================================================

! Allow SCHED to overwrite existing files

overwrit

! Print start and end elevation, time on source and slew time
! in summary file

sumitem  = el1, el2, slew, early, dwell

! ==========================================================
! ===================  Station Catalog  ====================
! ==========================================================

! Get stations from the DEFAULT catalog

!!stafile = $SCHED/catalogs/stations.dat

! List stations

stations = wstrbork, eflsberg, medicina, noto, onsala60, tianma65, urumqi, yebes40m, svetloe, zelenchk, badary

! ==========================================================
! ===================  Source Catalog  =====================
! ==========================================================

! Get source coordinates for fringe finders, phase-reference
! source, etc, from the DEFAULT catalog

srcfile = $SCHED/catalogs/sources.vlba.2012jul

! But my favourite weak source isn't in the DEFAULT catalog so
! I shall specify that separately

srccat /
 source='HD160934'  calcode = 'N'
     ra=17:38:39.59771 dec=61:14:16.838  equinox='j2000' /
endcat /

! ==========================================================
! ==================== Setup Information ===================
! ==========================================================

! Get frequency information from the DEFAULT catalog

freqfile = '$SCHED/catalogs/freq.dat'

! Construct frequency setup
! From sess317SXG.setini as received by BC 
!
PRESTART=0
stafile = ./sta.sess317.114_RDBE.dat
locfile = ./loc.sess317.114.dat
!!
SETINI = sess317.SX1024 /
  BAND='SX'
  NCHAN=16
  BITS=2
  BBFILTER=16.0
  FREQREF = 8300.49,8300.49,8300.49,8300.49,8300.49,8300.49,8300.49,8300.49, 2200.49,2200.49,2200.49,2200.49,2200.49,2200.49,2200.49,2200.49
  FREQOFF =   84.00,  84.00, 116.00, 116.00, 148.00, 148.00, 180.00, 180.00,   34.00,  34.00,  66.00,  66.00,  98.00,  98.00, 130.00, 130.00
  NETSIDE =     L,      U,      L,      U,      L,      U,      L,      U,       L,      U,      L,      U,      L,      U,      L,      U
  POL=RCP 
  PCAL  = 'off'
  BARREL=ROLL_OFF 
  /
!--------------------------------------------------------------------------
   firstlo= 8080,8080,8080,8080,8080,8080,8080,8080, 2020,2020,2020,2020,2020,2020,2020,2020
   ifchan  =  A1,  A1,  A1,  A1,  A1,  A1,  A1,  A1,   C1,  C1,  C1,  C1,  C1,  C1,  C1,  C1
   bbc     =   1,   1,   2,   2,   3,   3,   4,   4,    9,   9,  10,  10,  11,  11,  12,  12
  format = VDIF     station  =  HART /
!
   firstlo= 8110,8110,8110,8110,8110,8110,8110,8110, 2100,2100,2100,2100,2100,2100,2100,2100
   ifchan  =  A2,  A2,  A2,  A2,  A2,  A2,  A2,  A2,   C4,  C4,  C4,  C4,  C4,  C4,  C4,  C4
   bbc     =   1,   1,   2,   2,   3,   3,   4,   4,    9,   9,  10,  10,  11,  11,  12,  12
  format = VDIF     station  =  EFLSBERG /
!
   firstlo= 8080,8080,8080,8080,8080,8080,8080,8080, 2020,2020,2020,2020,2020,2020,2020,2020
   ifchan  =  A1,  A1,  A1,  A1,  A1,  A1,  A1,  A1,   C1,  C1,  C1,  C1,  C1,  C1,  C1,  C1
   bbc     =   1,   1,   2,   2,   3,   3,   4,   4,    9,   9,  10,  10,  11,  11,  12,  12
  format = VDIF     station  =  ONSALA60 /
!
   firstlo= 8080,8080,8080,8080,8080,8080,8080,8080, 2020,2020,2020,2020,2020,2020,2020,2020
   ifchan  =  A2,  A2,  A2,  A2,  A2,  A2,  A2,  A2,   C2,  C2,  C2,  C2,  C2,  C2,  C2,  C2
   bbc     =   1,   1,   2,   2,   3,   3,   4,   4,    9,   9,  10,  10,  11,  11,  12,  12
  format = VDIF     station  =  MEDICINA /
!
   firstlo= 8080,8080,8080,8080,8080,8080,8080,8080, 2020,2020,2020,2020,2020,2020,2020,2020
   ifchan  =  A2,  A2,  A2,  A2,  A2,  A2,  A2,  A2,   C1,  C1,  C1,  C1,  C1,  C1,  C1,  C1
   bbc     =   1,   1,   2,   2,   3,   3,   4,   4,    9,   9,  10,  10,  11,  11,  12,  12
  format = VDIF     station  =  NOTO /
!
   firstlo= 8080,8080,8080,8080,8080,8080,8080,8080, 2020,2020,2020,2020,2020,2020,2020,2020
   ifchan  =   A,   A,   A,   A,   A,   A,   A,   A,    B,   B,   B,   B,   B,   B,   B,   B
   bbc     =   1,   1,   2,   2,   3,   3,   4,   4,    9,   9,  10,  10,  11,  11,  12,  12
  format = MARK5B     station  =  SVETLOE, ZELENCHK, BADARY /
!
   firstlo= 7650,7650,7650,7650,7650,7650,7650,7650, 1530,1530,1530,1530,1530,1530,1530,1530
   ifchan  =  A1,  A1,  A1,  A1,  A1,  A1,  A1,  A1,   C2,  C2,  C2,  C2,  C2,  C2,  C2,  C2
   bbc     =   1,   1,   2,   2,   3,   3,   4,   4,    9,   9,  10,  10,  11,  11,  12,  12
   format = VDIF     station  =  YEBES40M /
!
!! UR with DBBC as in diagram
   firstlo= 8100,8100,8100,8100,8100,8100,8100,8100, 2000,2000,2000,2000,2000,2000,2000,2000
   ifchan =   A1,  A1,  A1,  A1,  A1,  A1,  A1,  A1,   C2,  C2,  C2,  C2,  C2,  C2,  C2,  C2
   bbc     =   1,   1,   2,   2,   3,   3,   4,   4,    9,   9,  10,  10,  11,  11,  12,  12
  format = MARK5B   station  =  URUMQI /
!
!! T6 with the DBBC as in RM012
   firstlo= 8100,8100,8100,8100,8100,8100,8100,8100, 2000,2000,2000,2000,2000,2000,2000,2000
   ifchan  =  A4,  A4,  A4,  A4,  A4,  A4,  A4,  A4,   C2,  C2,  C2,  C2,  C2,  C2,  C2,  C2
   bbc     =   1,   1,   2,   2,   3,   3,   4,   4,    9,   9,  10,  10,  11,  11,  12,  12
  format = MARK5B   station  =  TIANMA65 
  pcal = 'off' /                    
!
!! Wb at only X-band
  NCHAN=8
  FREQREF = 8300.49,8300.49,8300.49,8300.49,8300.49,8300.49,8300.49,8300.49
  FREQOFF =   84.00,  84.00, 116.00, 116.00, 148.00, 148.00, 180.00, 180.00
  NETSIDE =     L,      U,      L,      U,      L,      U,      L,      U
!--------------------------------------------------------------------------
   firstlo= 7997,7997,7997,7997,7997,7997,7997,7997
   ifchan =   A1,  A1,  A1,  A1,  A1,  A1,  A1,  A1
   bbc    =    1,   1,   2,   2,   3,   3,   4,   4
  format = MARK5B   station  =  WSTRBORK / 
!
ENDSET 
/
! ==========================================================
! =================  Initial Scan Information  =============
! ==========================================================

year=2017
month=10
day=22
start=11:00:00

! ==========================================================
! ========================  The Scans  =====================
! ==========================================================


setup='sess317.SX1024' 

stations = wstrbork, eflsberg, medicina, noto, onsala60, tianma65, urumqi, yebes40m, svetloe, zelenchk, badary 
source='1803+784' gap=03:00 dur=05:00 /
source='1803+784' gap=03:00 dur=05:00 /
!
! svetloe wrapping
stations = wstrbork, eflsberg, medicina, noto, onsala60, tianma65, urumqi, yebes40m, zelenchk, badary 
source='J1746+6226'  dwell=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
source='J1746+6226'  gap=0.00 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
!
group 6 repeat 2
stations = wstrbork, eflsberg, medicina, noto, onsala60, tianma65, urumqi, yebes40m, zelenchk, badary 
source='J1746+6226'  gap=00:40 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
source='J1746+6226'  gap=0.00 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
source='J1746+6226'  gap=0.00 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
!
!
group 6 repeat 9
stations = wstrbork, eflsberg, medicina, noto, onsala60, tianma65, urumqi, yebes40m, zelenchk, badary 
source='J1746+6226'  gap=00:40 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
source='J1746+6226'  gap=0.00 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
source='J1746+6226'  gap=0.00 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
!
group 6 repeat 1
source='J1746+6226'  gap=00:40 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
stations = wstrbork, eflsberg, medicina, noto, onsala60, tianma65, urumqi, yebes40m, svetloe, zelenchk, badary 
source='J1746+6226'  gap=0.00 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
source='J1746+6226'  gap=0.00 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
!
group 6 repeat 3
source='J1746+6226'  gap=00:40 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
source='J1746+6226'  gap=0.00 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
source='J1746+6226'  gap=0.00 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
!
!
stations = wstrbork, eflsberg, medicina, noto, onsala60, tianma65, urumqi, yebes40m, svetloe, zelenchk, badary 
source='3C454.3' gap=08:00 dur=05:00 /
!
!
group 6 repeat 1
stations = wstrbork, eflsberg, medicina, noto, onsala60, urumqi, yebes40m, svetloe, zelenchk, badary 
source='J1746+6226'  dwell=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
source='J1746+6226'  gap=0.00 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
source='J1746+6226'  gap=0.00 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
!!
group 6 repeat 11
stations = wstrbork, eflsberg, medicina, noto, onsala60, urumqi, yebes40m, svetloe, zelenchk, badary 
source='J1746+6226'  gap=00:40 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
source='J1746+6226'  gap=0.00 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
source='J1746+6226'  gap=0.00 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
!!
stations = wstrbork, eflsberg, medicina, noto, onsala60, urumqi, yebes40m, svetloe, zelenchk, badary 
source='J1746+6226'  gap=00:40 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
source='J1746+6226'  gap=0.00 dur=01:40 /
source='hd160934'  gap=0.00 dur=04:30 /
!
stations = wstrbork, eflsberg, medicina, noto, onsala60, urumqi, yebes40m, svetloe, zelenchk, badary
source='1803+784' gap=04:00 dur=05:00 /
source='1803+784' gap=01:00 dur=03:00 /
source='1803+784' gap=01:00 dur=03:00 /
!
! ======================  End of keyin file  ===============

