User Tools

Site Tools


operations:documentation:yg_manual_weather

This wiki is not maintained! Do not use this when setting up AuScope experiments!

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
operations:documentation:yg_manual_weather [2016/08/22 01:41]
Jim Lovell [Detailed description]
operations:documentation:yg_manual_weather [2016/11/23 21:31] (current)
Bryn Emptage
Line 1: Line 1:
 ====== Manual extraction and logging of Yarragadee weather data ====== ====== Manual extraction and logging of Yarragadee weather data ======
 We usually have a weather station connected to pcfsyg. However, if it is unavailable or broken, there is another weather sensor (used for the SLR) and it is possible to extract the data and merge it with the PCFS logs before they are submitted. Below is the procedure for doing this (a detailed description as well as a summary). Note that the external logs are updated every 30 minutes, so the Yg logs can only be processed 30 mins or more after the experiment finishes. We usually have a weather station connected to pcfsyg. However, if it is unavailable or broken, there is another weather sensor (used for the SLR) and it is possible to extract the data and merge it with the PCFS logs before they are submitted. Below is the procedure for doing this (a detailed description as well as a summary). Note that the external logs are updated every 30 minutes, so the Yg logs can only be processed 30 mins or more after the experiment finishes.
 +
 +===== Using a script =====
 +On ops2 in ''/​home/​observer/​ask/​yglogs''​ lives a script called ''​yg_wx_logs.py''​ which can be used to merge the logs with the weather data. To run the script type in 
 +<​code>​ python yg_wx_logs.py </​code>​
 +
 +The script will prompt the user for
 +  * Experiment name,
 +  * Date of the experiment,
 +  * Start time,
 +  * End time.
 +
 +With the given information,​ the script will
 +
 +  * Download the required mets files containing the weather data using sftp,
 +  * Download the log file from pcfyg,
 +  * Merge the log from pcfs with the downloaded weather data,
 +  * Backup the original log on pcfsyg with a ''​_original2.log'',​
 +  * Copy the modified log back to the pcfsyg.
 +
 +Once all that is done you can run the flogit script to transfer that log to the IVS servers. As usual please eyeball the log to make sure the script has done the right thing.
  
  
Line 42: Line 62:
 get mets_2016_07_29.dat get mets_2016_07_29.dat
 quit quit
-metadat_format.sh mets_2016_07_28.dat mets_2016_07_29.dat > wx_tmp.log+metdat_format.sh mets_2016_07_28.dat mets_2016_07_29.dat > wx_tmp.log
 metdat_startstop.sh wx_tmp.log 210.18:30 211.18:30 > /​usr2/​log/​wx_r4750yg.log metdat_startstop.sh wx_tmp.log 210.18:30 211.18:30 > /​usr2/​log/​wx_r4750yg.log
 cd /usr2/log cd /usr2/log
Line 52: Line 72:
 sort -s -m -k 1,1.20 -o r4750yg.log r4750yg_no_wx.log wx_r4750yg.log</​code>​ sort -s -m -k 1,1.20 -o r4750yg.log r4750yg_no_wx.log wx_r4750yg.log</​code>​
   - Make a few spot checks of the final log by eye   - Make a few spot checks of the final log by eye
-  - You can now go back to ops2 and [[operations:​documentation.ivs.logs|process the log file and submit a end email as usual]]. Please add a note to the email to say that weather data were merged into the log after the experiment. +  - You can now go back to ops2 and [[operations:​documentation.ivs.logs|process the log file and submit a end email as usual]]. Please add a note to the email to say that weather data were merged into the log after the experiment. ​
/home/www/auscope/opswiki/data/attic/operations/documentation/yg_manual_weather.1471830103.txt.gz · Last modified: 2016/08/22 01:41 by Jim Lovell