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.pyMar 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, 2014Initially logged
May 27, 2015XMM plot added
Sep 13, 2017Scripts updated to accomodate the system modifications
Nov 07, 2017a minor bug fixed
Aug 19, 2019get_goes_from_noao.py: ftp address changed
Jul 13, 2020pythyon 3.6 update
Jan 08, 2021year change bug fixed
Mar 09, 2021pythyon 3.8 update

Data Needed

Environment Setting

Output Locations and File Names

How to Run the Script(s)

  1. run: /data/mta/Script/Interrupt/Scripts/get_goes_from_noao.py
  2. go to: cd /data/mta/Script/Interrupt/Exc
  3. run: /data/mta/Script/Interrupt/Scripts/sci_run_wrap_script
  4. ----Interactive Part----
  5. go to: /data/mta/Script/Interrupt/Exc
  6. 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
  7. 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/"
  8. run: /data/mta/Script/Interrupt/Scripts/extract_data.py
  9. run: /data/mta/Script/Interrupt/Scripts/plot_data.py
  10. run: /data/mta/Script/Interrupt/Scripts/compute_xmm_stat_plot_for_report.py yyyymmdd
  11. run: /data/mta/Script/Interrupt/Scripts/sci_run_print_html.py with interruption_time_list as an answer
  12. run: /data/mta/Script/Interrupt/Scripts/sci_run_print_html.py with na as an answer

Cron Job

CPU: c3po-v
User: mta

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