ACA Trending Update
Description
Update ACA related data and plots.
Location of Scripts and Their Names
Location: /data/mta4/www/DAILY/mta_pcad/ACA/
GitHub Address: https://github.com/tisobe/aca.git
Script Name | Last Updated |
aca_wrap_script | Feb 22, 2021 |
aca_main_script | Feb 22, 2021 |
create_aca_long_term_mag_plot.py | Feb 25, 2021 |
create_aca_long_term_slot_plot.py | Feb 24, 2021 |
process_data_for_the_month.py | Feb 25, 2021 |
update_aca_html_pages.py | Feb 24, 2021 |
update_monitor_data.py | Feb 24, 2021 |
update_monthly_averaged_slot_dataset.py | Feb 24, 2021 |
update_slot_stat_table.py | Feb 24, 2021 |
update_stat_table.py | Feb 24, 2021 |
Retired |
update | Sep 10, 2015 |
update_tot | Aug 04, 2016 |
update_this_month | UPDATED MONTHLY |
./Script/create_this_month.py | Nov 13, 2015 |
Please read README file for more details of create_this_month.py:
/data/mta4/www/DAILY/mta_pcad/ACA/Script/README.
Sep 18, 2015 | Initially logged |
Sep 28, 2015 | Cron job for create_this_month.py activated |
Nov 13, 2015 | added a function to create a directory |
Aug 04, 2016 | PATH and LD_LIBRARY_PATH are updated |
Apr 16, 2020 | Python3.6 update |
Feb 26, 2020 | Python3.8 update |
Data Needed
-
data from mta flt_run_pipe (run by run_this_month)
-
./Script/Template/update_temp
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/mta4/www/DAILY/mta_pcad/ACA/
- index.html
- aca_trend_year<yyyy>.html
- <MMM><YY>/acatrd.html
- <MMM><YY>/Plots/*png
- Plots/*png
- Plots/<yyyy>/*png
-
/data/mta/Script/ACA/Data/
- acis_<#>
- hrc_i_<#>
- hrc_s_<#>
- mag_i_avg_<#>
- acacent_*
- diff_*
- pos_err_*
- monthly_mag_stats
- recent_mag_stats
- yearly_mag_stat
How to Run the Script(s)
-
setenv PYTHONPATH "/data/mta/Script/Python3.6/envs/ska3/lib/python3.6/site-packages:/data/mta/Script/Python3.6/lib/python3.6/site-packages/"
-
go to: /data/mta/Script/ACA/Exc/
-
run: /data/mta/Script/ACA/Scripts/process_data_for_the_month.py
-
run: /data/mta/Script/ACA/Scripts/update_monitor_data.py
-
run: /data/mta/Script/ACA/Scripts/update_monthly_averaged_slot_dataset.py
-
run: /data/mta/Script/ACA/Scripts/update_stat_table.py
-
run: /data/mta/Script/ACA/Scripts/update_slot_stat_table.py
-
run: /data/mta/Script/ACA/Scripts/create_aca_long_term_mag_plot.py
-
run: /data/mta/Script/ACA/Scripts/create_aca_long_term_slot_plot.py
-
run: /data/mta/Script/ACA/Scripts/update_aca_html_pages.py
How to Run Test(s)
-
There is no test for this set of scripts.
Expected result from the test
test results -- test results -- test results
Cron Job
-
18 02 3,8,13,18,23,28 * * cd /data/mta/Script/ACA/Exc; /data/mta/Script/ACA/Scripts/aca_wrap_script > $HOME/Logs/aca.cron
Web Addreess
https://cxc.cfa.harvard.edu/mta_days/mta_pcad/ACA/index.html
Note
None
Future Plan/Update Schedule
None
Back to Top Page