MSID Limit Database Update

Description

This script compares the current mta limit data base to glimmon and update the former

Location of Scripts and Their Names

Location: /data/mta/Script/MSID_limit/Scripts/

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

Script Name Last Updated
compare_database_wrap_script Mar 10, 2021
compare_database_main_script Mar 10, 2021
compare_database_and_update.py Mar 10, 2021
clean_table.py Mar 10, 2021
validate_op_limits.py Mar 10, 2021

Please read README file for more details.

May 31, 2017Initially logged
Feb 15, 2018special_msid_list added; which prevent glimmon to rewrite the limits
Nov 01, 2018limit values are compared as a float not a string
May 16, 2019updated to python3.6
Aug 22, 2019table clean-up mechanism added
Aug 26, 2019bug in compare_database_and_update.py fixed
Aug 26, 2019validate_op_limits.py added for the data validation
Oct 04, 2019glimmon data integration method changed
Mar 10, 2021updated to python3.8

Data Needed

Environment Setting

Output Locations and File Names

How to Run the Script(s)

  1. cd /data/mta/Script/MSID_limit/
  2. source /proj/sot/ska/bin/ska_envs.csh
  3. compare_database_and_update.py

How to Run Test(s)

  1. cd /data/mta/Script/MSID_limit/
  2. source /proj/sot/ska/bin/ska_envs.csh
  3. compare_database_and_update.py test

Expected result from the test

NA

Cron Job

CPU: boba-v
User: mta

14 1 1 * * cd /data/mta/Script/MSID_limit/Trend_limit_data/Scripts; /data/mta/Script/MSID_limit/Trend_limit_data/Scripts/msid_trend_wrap_script > $HOME/Logs/msid_limit_table_new.cron 2>&1
35 4 1 * * cd /data/mta/Script/MSID_limit; /data/mta/Script/MSID_limit/compare_database_wrap_script > $HOME/Logs/op_limit_updates.cron 2>&1

Web Addreess

None

Note

None

Future Plan/Update Schedule

None


Back to Top Page