OTG Monitoring
Description
Extract OTG data and update https://cxc.cfa.harvard.edu/mta_days//mta_otg/otg.html.
Location of Scripts and Their Names
Location: /data/mta/Script/Dumps/Scripts/
GitHub Address: NOT YET UPLOADED.
The script functions are overlapped with: Dataseeker RDB Updates.
Script Name | Last Updated |
run_otg_wrap_script | Feb 21, 2019 |
run_otg_main_script | Feb 21, 2019 |
run_filter_scripts.py | Feb 21, 2019 |
run_otg_proc.py | Feb 21, 2019 |
update_rdb_and_html.py | Feb 21, 2019 |
plot_otg_data.py | Jan 11, 2021 |
| |
Retired |
cleano.pl | Nov 19, 2015 |
filters_main_script | Jun 10, 2015 |
filters_wrap_script | Mar 17, 2015 |
filters_main_script2 | Nov 09, 2015 |
filters_wrap_script2 | Jun 10, 2015 |
gratstat.pl | Mar 16, 2015 |
otg_proc.pl | Jun 11, 2015 |
mv_files.perl | Nov 09, 2015 |
Please read /data/mta/Script/Dumps/Scripts/README file for more details.
Sep 25, 2015 | Initially logged |
Sep 28, 2015 | Description updated |
Nov 09, 2015 | Added a script to copy files silently |
Nov 19, 2015 | cleano.pl updated to pick up index correctly |
Feb 21, 2019 | Converted perl scripts into python scripts |
Jan 11, 2021 | plot package numpy inconpatiblity corrected |
Data Needed
- /dsops/GOT/input/*Dump_EM_*
- /data/mta/Script/Dumps/Scripts/hosue_keepnig/otg-msids.list
- /data/mta/Script/Dumps/Scripts/hosue_keepnig/msids.list
- /data/mta/Script/Dumps/Scripts/hosue_keepnig/processed_list
Environment Setting
- setascds
- setenv ASCDS_CONFIG_MTA_DATA "/home/ascds/DS.release/config/mta/data"
- setenv IPCL_DIR "/home/ascds/DS.release/config/tp_template/P011/"
- setenv ACORN_GUI "/home/ascds/DS.release/config/mta/acorn/scripts/"
- setenv LD_LIBRARY_PATH "/home/ascds/DS.release/lib:/home/ascds/DS.release/ots/lib:/soft/SYBASE_OSRV15.5/OCS-15_0/lib:/home/ascds/DS.release/otslib:/opt/X11R6/lib:/usr/lib64/alliance/lib"
- python script must be able to see /proj/sot/ska/bin/python
Output Locations and File Names
-
/data/mta/www/mta_otg
- otg.html
- N_MOVES.png
- N_LONG.png
- T_LONG.png
- N_SHORT.png
- i4HPOSARO.png
- i4HPOSBRO.png
- f4HPOSARO.png
- f4HPOSBRO.png
- EMF_MIN_LONG.png
- EMF_AVG_LONG.png
- EMF_MAX_LONG.png
- EMF_MIN_SHORT.png
- EMF_AVG_SHORT.png
- EMF_MAX_SHORT.png
- OBC_ERRS.png
How to Run the Script(s)
- go to: cd /data/mta/Script/Dumps/Scripts/
- setenv PYTHONPATH "/proj/sot/ska/arch/x86_64-linux_CentOS-5/lib/python2.7/site-packages"
- run: run_filter_scripts.py
- run: run_otg_proc.py
- run: update_rdb_and_html.py
- run: plot_otg_data.py
How to Run Test(s)
-
There is no test available for this set of scripts.
Expected result from the test
test results -- test results -- test results
Cron Job
32 * * * * cd /data/mta/Script/Dumps/Exc; /data/mta/Script/Dumps/Scripts/run_otg_wrap_script >> $HOME/Logs/filters_otg.cron
Web Addreess
https://cxc.cfa.harvard.edu/mta_days//mta_otg/otg.html
Note
None
Future Plan/Update Schedule
None
Back to Top Page