Science Run Interruption
Description
This set of scripts generates plots of ACE, Ephin, and GOES radiation plots around
a science run interruption due to high radiations.
Location of Scripts and Their Names
Location: /data/mta/Script/Interrupt/Scripts/
GitHub Address: https://github.com/chandra-mta/MTA
sci_run_wrap_script | Mar 09, 2021 |
sci_run_main_script | Mar 09, 2021 |
compute_ace_stat.py | Mar 09, 2021 |
compute_stat.py | Mar 09, 2021 |
extract_data.py | Mar 09, 2021 |
extract_ephin.py | Mar 09, 2021 |
extract_goes.py | Mar 09, 2021 |
extract_ace_data.py | Mar 09, 2021 |
interrupt_suppl_functions.py | Mar 09, 2021 |
plot_data.py | Mar 09, 2021 |
plot_ephin.py | Mar 09, 2021 |
plot_goes.py | Mar 09, 2021 |
plot_ace_rad.py | Mar 09, 2021 |
sci_run_add_to_rad_zone_list.py | Mar 09, 2021 |
sci_run_compute_gap.py | Mar 09, 2021 |
sci_run_get_radiation_data.py | Mar 09, 2021 |
sci_run_get_rad_zone_info.py | Mar 09, 2021 |
sci_run_print_html.py | Mar 09, 2021 |
clean_up_xmm_data.perl | Mar 09, 2021 |
compute_xmm_stat_plot_for_report.py | Mar 09, 2021 |
run_interruption.py | Mar 09, 2021 |
Please read README file for more details.
/data/mta/Script/Interrupt/Scripts/README
Sep 17, 2014 | Initially logged |
May 27, 2015 | XMM plot added |
Sep 13, 2017 | Scripts updated to accomodate the system modifications |
---|
Nov 07, 2017 | a minor bug fixed |
---|
Aug 19, 2019 | get_goes_from_noao.py: ftp address changed |
---|
Jul 13, 2020 | pythyon 3.6 update |
---|
Jan 08, 2021 | year change bug fixed |
---|
Mar 09, 2021 | pythyon 3.8 update |
---|
Data Needed
- ACE data: /data/mta4/Space_Weather/ACE/Data/ace_7day_archive
- GOES data: /data/mta4/Space_Weather/GOES/Data/goes_data_r.txt
- HRC data: dataseeker
- XMM data: /data/mta4/Space_Weather/XMM/Data/xmm.archive
Environment Setting
-
setenv PYTHONPATH "/data/mta/Script/Python3.8/envs/ska3-shiny/lib/python3.8/site-packages:/data/mta/Script/Python3.8/lib/python3.8/site-packages/"
Output Locations and File Names
-
/data/mta_www/mta_interrupt/Data_dir/
- <timestamp>_dat.txt
- <timestamp>_eph.txt
- <timestamp>_goes.txt
-
/data/mta_www/mta_interrupt/Ephin_plot/
-
/data/mta_www/mta_interrupt/GOES_plot/
-
/data/mta_www/mta_interrupt/Main_plot/
-
/data/mta_www/mta_interrupt/Stat_dir/
- <timestamp>_ace_stat
- <timestamp>_eph_stat
- <timestamp>_goes_stat
How to Run the Script(s)
-
run: /data/mta/Script/Interrupt/Scripts/get_goes_from_noao.py
-
go to: cd /data/mta/Script/Interrupt/Exc
-
run: /data/mta/Script/Interrupt/Scripts/sci_run_wrap_script
-
----Interactive Part----
- go to: /data/mta/Script/Interrupt/Exc
-
edit: interruption_time_list
* add <event name> <starting time> <stopping time> <gap> <operation type>
;
where
<event name>: name of the event; usually in the from of 20120317 (yyyymmdd)
<strting time>: interruption starting time in UTC in the format of 2011:08:04:07:03
<stopping time>:interruption ending time in UTC in the format of 2011:08:07:10:25
<gap>: total lost science time in ksec, excluding radiation zone. this will
be updated later; so a raugh estimate is fine
- set: setenv PYTHONPATH "/data/mta/Script/Python3.6/envs/ska3/lib/python3.6/site-packages:/data/mta/Script/Python3.6/lib/python3.6/site-packages/"
- run: /data/mta/Script/Interrupt/Scripts/extract_data.py
- run: /data/mta/Script/Interrupt/Scripts/plot_data.py
- run: /data/mta/Script/Interrupt/Scripts/compute_xmm_stat_plot_for_report.py yyyymmdd
- run: /data/mta/Script/Interrupt/Scripts/sci_run_print_html.py with interruption_time_list as an answer
- run: /data/mta/Script/Interrupt/Scripts/sci_run_print_html.py with na as an answer
Cron Job
18 1 * * * cd /data/mta/Script/Interrupt/Exc; /data/mta/Script/Interrupt/Scripts/sci_run_wrap_script >> $HOME/Logs/sci_run_interrupt.cron 2>&1
Web Addreess
https://cxc.cfa.harvard.edu/mta_days/mta_interrupt/rad_interrupt.html
Note
None
Future Plan/Update Schedule
None
Back to Top Page