This shows you the differences between two versions of the page.
lbaops:tidnotes:fileprep [2007/03/14 10:59] jlovell |
lbaops:tidnotes:fileprep [2015/12/18 16:39] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Tidbinbilla schedule file preparation ====== | ||
- | |||
- | ===== Obtaining Schedule Files ===== | ||
- | Dowload the .skd and .sum files for the experiment from the FTP site and put them in pcfs40: | ||
- | |||
- | * scp the .skd file to pcfs40: | ||
- | * on pcfs40 in the sched_prep directory: | ||
- | * run drudg | ||
- | * At the prompt give the name of the .skd file | ||
- | * At the next prompt, give the name of the antenna (in this case " | ||
- | * select 3 for a SNAP file then 12 for a PRC file, then 0 to exit | ||
- | * transfer the resulting .prc and .snp files to pcfs42: | ||
- | |||
- | 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' | ||
- | impact on the data being recorded or the Tsys measurements). There' | ||
- | 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: | ||
- | |||
- | | ||
- | | ||
- | tape | ||
- | | ||
- | | ||
- | | ||
- | tape | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | tape | ||
- | | ||
- | | ||
- | | ||
- | tape | ||
- | | ||
- | |||
- | Note the wait for 2007.080.09: | ||
- | 2007.080.09: | ||
- | result in sources being missed. Lastly, the SNAP file should be | ||
- | modified to include source commands the NMC script understands. | ||
- | |||
- | ===== Procedure file modifications. | ||
- | * Remove the setup01, unloader and loader definitions. These are all S2 specific and will cause problems if they' | ||
- | * Add the following definitions: | ||
- | |||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | !+1s | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | vread | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | |||
- | 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 modifications ===== | ||
- | Run 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: | ||
- | |||
- | ~/ | ||
- | |||
- | 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: | ||
- | |||
- | | ||
- | |||
- | 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 / | ||
- | |||