Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/vlbi/wiki/index.php?n=TidNotes.FilePrep
Дата изменения: Unknown Дата индексирования: Tue Apr 12 15:25:06 2016 Кодировка: Поисковые слова: titan |
TidNotes /
FilePrepTidbinbilla schedule file preparationObtaining Schedule FilesDowload the .skd and .sum files for the experiment from the pub/people/vlbi directory of the FTP site ftp.atnf.csiro.au and put them in pcfs40:~/sched_prep. The .skd file is processed to a SNAP and procedure file on pcfs40. These files are further processed on pcfs42 before being returned to pcfs40!
Both the procedure and SNAP files need some modification. The procedure file needs some extra procedures to set up the PCFS patching and VFCs (this is just to keep them happy and doesn't impact on the data being recorded or the Tsys measurements). There's also a new command to define, called sched_end, that forces the NMC script to exit nicely. The SNAP file needs quite a bit of modification. The first thing is to remove any S2 specific commands as the PCFS won't be controlling the S2. The next thing is to comment out some of the wait commands as some wait commands appear later in the file but have earlier times. For example: !2007.080.09:18:00 data_valid=on tape midob !2007.080.09:21:00 data_valid=off tape postob scan_name=No0004,v209a,180 source=1237-5046,123715.24,-504623.2,2000.0,neutral setup01=0 !2007.080.09:18:30 tape st=for,slp !2007.080.09:21:00 data_valid=on tape midob Note the wait for 2007.080.09:18:30 occurs AFTER 2007.080.09:21:00. This causes confusion in the observations and can result in sources being missed. Lastly, the SNAP file should be modified to include source commands the NMC script understands. Procedure file modifications.
define ifds 06132201809x ifd=,,nor,nor lo=lo1,1380,usb,lcp,1.0,0 patch=lo1,1h,2h,3h,4h,5h,6h,7h,8h,9h,10h,11h,12h,13h,14h enddef define vclba 06132201825x vc01=285.99,16.00,ul vc02=285.99,16.00,ul vc03=285.99,16.00,ul vc04=285.99,16.00,ul vc05=285.99,16.00,ul vc06=285.99,16.00,ul vc07=285.99,16.00,ul vc08=285.99,16.00,ul vc09=285.99,16.00,ul vc10=285.99,16.00,ul vc11=285.99,16.00,ul vc12=285.99,16.00,ul vc13=285.99,16.00,ul vc14=285.99,16.00,ul +1svalarm enddef define postob 00000000000x enddef define midob 00000000000x vread enddef define sched_end 00000000000x sy=echo "TERMINATE" | netcat nmc-ws4 -q 2 6743 enddef Note the above is for L-band. For other bands, adjust the LO frequency (to the first LO), change the patching to the low frequency filters if needed, and the VC frequencies to something in the band. SNAP file modificationsRun the script remove_S2_from_SNAP.pl to remove all S2 specific commands and CSIRO2DSN (twice) to remove the time wait problem. This can be done with a single command: ~/bin/remove_S2_from_SNAP.pl SNAP_FILE.snp | ~/bin/CSIRO2DSN | ~/bin/CSIRO2DSN > temp.snp Obviously replace SNAP_FILE.snp with the name of your SNAP file. Lastly, modify the temp.snp to include the NMC commands with precessed source coordinates: ~/bin/snap2sidereal_apc.pl temp.snp 2007 80 > SNAP_FILE.snp Note you need to provide the year and day number of the experiment. The output file should be the name of the original SNAP file. Transfer the modified SNAP and procedure files to pcfs40.The .snp file goes in /usr2/sched, the .prc goes in /usr2/proc |