User Tools

Site Tools


lbaops:tidnotes:tsyslogfile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lbaops:tidnotes:tsyslogfile [2007/03/15 11:39]
jlovell
lbaops:tidnotes:tsyslogfile [2015/12/18 16:39] (current)
Line 1: Line 1:
-====== Introduction\\ ====== +====== Introduction ====== 
-If DCCs have been used to log Tsys, the logs need converting from binary to ascii format and then transferred to pcfs42 for final processing. If xplot has been used, the log is in ascii format but needs a small amount of editing before sending off. Below are instructions on retrieving and processing both formats. In either case, the desired final format is that required by the ANTAB task in the VLBI processing package [[http://​www.aoc.nrao.edu/​aips/​|AIPS]]. Here is a [[http://​www.aoc.nrao.edu/​cgi-bin/​aips/​ZXHLP2.PL?​ANCAL|detailed description]] of the format. It should look like this:\\ +If DCCs have been used to log Tsys, the logs need converting from binary to ascii format and then transferred to pcfs42 for final processing. If xplot has been used, the log is in ascii format but needs a small amount of editing before sending off. Below are instructions on retrieving and processing both formats. In either case, the desired final format is that required by the ANTAB task in the VLBI processing package [[http://​www.aoc.nrao.edu/​aips/​|AIPS]]. Here is a [[http://​www.aoc.nrao.edu/​cgi-bin/​aips/​ZXHLP2.PL?​ANCAL|detailed description]] of the format. It should look like this: 
-\\ + 
- TSYS TID FT=1.0 TIMEOFF=0 INDEX='​L1|L2'​ /\\ + TSYS TID FT=1.0 TIMEOFF=0 INDEX='​L1|L2'​ / 
- ​!xplot Log: IF1, Wed Nov 15 12:40:08 2006 (UTC)\\ + ​!xplot Log: IF1, Wed Nov 15 12:40:08 2006 (UTC) 
- !DOY UTC Sys_Temp (K) Gain (K/uW) Load_Temp (K) Linearity\\ + !DOY UTC Sys_Temp (K) Gain (K/uW) Load_Temp (K) Linearity 
- 322 09:20:00 20.1636 ​  \\ + 322 09:20:00 20.1636 ​   
- 322 09:20:01 20.1706 ​  \\ + 322 09:20:01 20.1706 ​   
- 322 09:20:02 20.1775 ​  \\ + 322 09:20:02 20.1775 ​   
- 322 09:20:03 20.1775 ​  \\ + 322 09:20:03 20.1775 ​   
- 322 09:20:04 20.1775 ​  \\ + 322 09:20:04 20.1775 ​   
- .\\ + . 
- .\\ + . 
- .\\ + . 
- 322 18:26:07 19.3913 ​  \\ + 322 18:26:07 19.3913 ​   
- 322 18:26:08 19.3217 ​  \\ + 322 18:26:08 19.3217 ​   
- 322 18:26:09 19.3217 ​  \\ + 322 18:26:09 19.3217 ​   
- /\\ + / 
-\\ + 
-The first line says it's a Tsys log, the antenna is Tid, the Tsys values should be scaled by 1.0 (in some cases a scale factor other than 1 might be needed if the Tsys values need scaling), that the time tags are to be offset by 0 sec (if the EAC had a clock offset, this might need to be non-zero), and that the Tsys data apply to both LCP channels. Lines beginning with a "​!"​ are comments. The data columns are day number, time (in UT) and Tsys (in K). The last line should be a slash.\\ +The first line says it's a Tsys log, the antenna is Tid, the Tsys values should be scaled by 1.0 (in some cases a scale factor other than 1 might be needed if the Tsys values need scaling), that the time tags are to be offset by 0 sec (if the EAC had a clock offset, this might need to be non-zero), and that the Tsys data apply to both LCP channels. Lines beginning with a "​!"​ are comments. The data columns are day number, time (in UT) and Tsys (in K). The last line should be a slash. 
-\\ + 
-The name of the final file should be ''<​experiment_name>​ti.antab'',​ e.g ''​v209ati.antab''​.\\ +The name of the final file should be ''<​experiment_name>​ti.antab'',​ e.g ''​v209ati.antab''​. 
-\\ + 
-====== Tsys logs written by xplot====== +====== ​Retrieving and processing ​Tsys logs written by xplot ====== 
-Xplot logs are written to eac40 in the ~/logs directory. The format is already in ANTAB format, but the header and trailing slash should be added. If the log has a time offset include it in the TIMEOFF parameter (see the [[lbaops:​tidnotes:​beforethetrack|Before the Track]] section. If the Tsys needs scaling then the FT value should be changed. ​\\ +Xplot logs are written to eac40 in the ~/logs directory. The format is already in ANTAB format, but the header and trailing slash should be added. If the log has a time offset include it in the TIMEOFF parameter (see the [[lbaops:​tidnotes:​beforethetrack|Before the Track]] section. If the Tsys needs scaling then the FT value should be changed.  
-\\ + 
-====== Retrieving a SNT Log from a DCC\\ ====== +====== Retrieving a SNT Log from a DCC ====== 
-(these notes provided by Leigh Cameron)\\ +(these notes provided by Leigh Cameron) 
-\\ + 
-===== On `DMT1:\\ ===== +===== On `DMT1: ===== 
-(or via ssh to a dcc then to dmt1)\\ +(or via ssh to a dcc then to dmt1) 
-\\ + 
-  -  Open an X terminal.\\ +  -  Open an X terminal. 
-  -  Change to the ''/​home/​ops/​ra''​ directory: ''​cd ra''​\\ +  -  Change to the ''/​home/​ops/​ra''​ directory: ''​cd ra''​ 
-  -  Copy the raw receiver log/s from the relevant dcc. \\\\ +  -  Copy the raw receiver log/s from the relevant dcc. \\ 
-''​scp dccx-r:/​home/​ops/​logs/​dcc/​dccx_rrplog.nnn .'' ​\\\\ +''​scp dccx-r:/​home/​ops/​logs/​dcc/​dccx_rrplog.nnn .''​ \\ 
-There will be one of these log files for each dcc used (''​x''​) and for each part of a day the pass spanned (''​nnn''​). All logs except the current one will have been gzip'​ed,​ i.e. have a “.gz” extension – to unzip them, do \\\\ +There will be one of these log files for each dcc used (''​x''​) and for each part of a day the pass spanned (''​nnn''​). All logs except the current one will have been gzip'​ed,​ i.e. have a “.gz” extension – to unzip them, do \\ 
-''​gunzip dccx_rrplog.nnn.gz''​\\ +''​gunzip dccx_rrplog.nnn.gz''​ 
-  -  Convert each raw log to text and extract just the SNT values: ​\\\\ +  -  Convert each raw log to text and extract just the SNT values: \\ 
-''​./​`LogUtilRcvCvtPerf -t aaaaaa -c bbbbbb -i dccx_rrplog.nnn -car | ./​Extract_SNTs >> experimentname.dccx.snt.log''  ​\\\\ +''​./​`LogUtilRcvCvtPerf -t aaaaaa -c bbbbbb -i dccx_rrplog.nnn -car | ./​Extract_SNTs >> experimentname.dccx.snt.log'' ​ \\ 
-''​aaaaaa''​ is the start time in UT as six digits, ''​bbbbbb''​ is the duration in seconds. Make sure to do the lowest ''​nnn''​ files first, so that the results are concatenated in order.\\ +''​aaaaaa''​ is the start time in UT as six digits, ''​bbbbbb''​ is the duration in seconds. Make sure to do the lowest ''​nnn''​ files first, so that the results are concatenated in order. 
-  -  Check the file produced: ​\\\\ +  -  Check the file produced: \\ 
-''​more experimentname.dccx.snt.log''​\\ +''​more experimentname.dccx.snt.log''​ 
-  -  The results can now be transferred to the EAC. \\\\ +  -  The results can now be transferred to the EAC. On dccx:\\ 
-''​ssh dccx''​ \\\\ + 
-''​cd /​tmp'' ​\\\\ +''​cd /​tmp''​ \\ 
-''​scp dmt1:​ra/​experimentname.dccx.snt.log .'' ​\\\\ +''​scp dmt1:​ra/​experimentname.dccx.snt.log .''​ \\ 
-''​exit''​ \\\\ + 
-''​scp dcc1:/​tmp/​experimentname.dccx.snt.log ​<​destination>​''​\\ +then on pcfs42:\\ 
- \\ + 
-===== Notes:\\ ===== +''​scp dcc1:/​tmp/​experimentname.dccx.snt.log ​.''​ 
-  *  The steps involving an '​scp'​ command cause the systems involved to hit 100% CPU load momentarily. This should not cause any problems, but may cause warnings to be displayed. Ideally this should only be done when the dcc is idle.\\ +  
-  *  If the EAC cannot talk to a dcc it may be connected to the test LAN\\ +===== Notes: ===== 
-\\ +  *  The steps involving an '​scp'​ command cause the systems involved to hit 100% CPU load momentarily. This should not cause any problems, but may cause warnings to be displayed. Ideally this should only be done when the dcc is idle. 
-\+  *  If the EAC cannot talk to a dcc it may be connected to the test LAN 
 + 
 +====== Processing DCC logs ====== 
 +Transfer the DCC log to pcfs42. It can now be converted into ANTAB format: 
 + ​~/​bin/​process_dcc_snt.pl [input_file] > [output_file] 
 +The output file now needs a header and footer the same as the xplot log. 
 + 
 + 
  
  
lbaops/tidnotes/tsyslogfile.txt · Last modified: 2015/12/18 16:39 (external edit)