Exposure Map

Description

This sets of scripts extract ACIs and HRC exposure dose data, computes stat, creates maps, and trend plots.

Location of Scripts and Their Names

Location:
/data/mta/Script/Exposure/Scripts/

GitHub Address: https://github.com/chandra-mta/MTA

Top Directory
exposureFunctions.py Mar 09, 2021
ACIS_Scripts
acis_dose_wrap_script Mar 09, 2021
acis_dose_main_script Mar 09, 2021
acis_dose_control.py Mar 09, 2021
acis_dose_get_data.py Mar 09, 2021
acis_create_cumulative.py Mar 09, 2021
acis_compute_stat.py Mar 09, 2021
acis_dose_plot_exposure_stat.py Mar 09, 2021
acis_dose_create_image.py Mar 09, 2021
acis_dose_make_data_html.py Mar 09, 2021
acis_dose_monthly_report.py Mar 09, 2021
HRC_Scripts
hrc_dose_wrap_script Mar 09, 2021
hrc_dose_main_script Mar 09, 2021
hrc_dose_run.py Mar 09, 2021
hrc_dose_control_step.py Mar 09, 2021
hrc_dose_get_data_full_rage.py Mar 09, 2021
hrc_dose_extract_stat_data_month.py Mar 09, 2021
hrc_dose_plot_exposure_stat.py Mar 09, 2021
hrc_dose_create_image.py Mar 09, 2021
hrc_dose_make_data_html.py Mar 09, 2021
hrc_dose_plot_monthly_report.py Mar 09, 2021

Please read README file for more details. /data/mta/Script/Exposure/Scripts/README

Sep 17, 2014Initially logged
Nov 04, 2014Environmental setting change
Dec 03, 2014Environmental setting change, again --- only internal ascds setting reqiured
Jul 06, 2015Plotting bug under python addressed
Mar 03, 2016python ascds setting: added param clear command
Jul 05, 2016arc4gl was replaced by arc5gl
Jun 22, 2018html page updated
Aug 03, 2018environment setting change.
Aug 03, 2018arc5gl is now under sot environment
Sep 03, 2018hrc_dose_get_data_full_rage.py: error check mechanism changed
Aug 28, 2019python3.6 update
Sep 03, 2019hrc_dose_get_data_full_rage.py: period bug fixed
Sep 10, 2019cosmetic update
Sep 11, 2019image creation is now done with ds9 not dming2jpg
Oct 03, 2019Image createing updated
Mar 09, 2021python3.8 update

Data Needed

Environment Setting

Output Locations and File Names

How to Run the Script(s)

  1. go to: cd /data/mta/Script/Exposure/Exc
  2. run: /data/mta/Script/Exposure/Scripts/ACIS_Scripts/acis_dose_wrap_script
  3. go to: cd /data/mta/Script/Exposure/Exc_h
  4. run: /data/mta/Script/Exposure/Scripts/HRC_Scripts/hrc_dose_wrap_script

How to Run Test(s)

No test for this set of scripts

Expected result from the test

NA

Cron Job

CPU: boba-v
User: mta

03 21 2 * * cd /data/mta/Script/Exposure/Exc; /data/mta/Script/Exposure/Scripts/ACIS_Scripts/acis_dose_wrap_script >> $HOME/Logs/max_exp_acis.cron 2>&1
03 23 2 * * cd /data/mta/Script/Exposure/Exc_h; /data/mta/Script/Exposure/Scripts/HRC_Scripts/hrc_dose_wrap_script >> $HOME/Logs/max_exp_hrc.cron 2>&1

Web Addreess

https://cxc.cfa.harvard.edu/mta_days/mta_max_exp/

Note

None

Future Plan/Update Schedule

Convert the test to automatic testing format.


Back to Top Page