Chandra Real-time Snapshot *

Description

Produces Snapshop page: https://cxc.cfa.harvard.edu/mta/Snapshot/snap.cgi?action=Latest and send out an alert email if needed.

See when the alert is sent out at: CHANDRA SOT ALERTS page.

Input data are created by Acorn process (data name: *.tl) and read by tlogr.pl which creates a few text files used by snap.cgi. Another data: CRMsummary.dat is updated only when Chandra is in comm pass, typically 3 times a day.

Location of Scripts and Their Names

Location: /data/mta4/www/Snapshot/
 /data/mta/www/MIRROR/Snap/Scrips/

GitHub Address: https://github.com/mta/Snapshot

Script Name Last UpdatedNote
tlogr.pl Jun 30, 2015main script
snap.cgi Jul 10, 2014display page
plot.pro Apr 02, 2004
plot_iru.pro Apr 06, 2004
plot_mom.pro Sep 20, 2004
plot_ctx.pro Apr 06, 2004
snap.pm Oct 06, 2015tlogr.pl related module
check_state.pm Jun 27, 2017 alert check system module: CHANDRA SOT ALERTS
snarcl.pl Jan 23, 2012
run-acorn.pl Oct 28, 2016 see ACORN for more details
Chex.pm Jul 23, 2009predicting the expected state of Chandra
Time/  Directory contains time related perl modules

Please read README file for more details: /data/mta4/www/Snapshot/README.

Sep 24, 2015Initially logged
Oct 01, 2015Description updated
Oct 06, 2015data link changed from /proj/rac/ops/ to /data/mta4/proj/rac/ops/
Oct 28, 2016IPCL definition in run-acorn.pl updated to:
 /data/mta4/www/Snapshot/P011 (primary), /data/mta4/www/Snapshot/P009 (secondary)
 /data/mta/www/MIRROR/Snap/Scripts/P011 (primary), /data/mta/www/MIRROR/Snap/Scripts/P009 (secondary)
Mar 10, 2017AOFSTAR BRIT alert is now sent to sot_red_alert
Jun 27, 2017Added info on OCC voice loops to alerts with telecon
 Alerts sent previously to brad are now sent to malgosia

Data Needed

Note: CRMsummary.dat is created in /proj/rac/opt/CRM3. This to be always current, all related scripts described in: TST related collections of scripts must be running. If CRMsummary.dat is not updating, go to the page, and check their output.

IPCL stands for Instrumentation Program and Component List. In MTA case, it contains the D to A conversion instructions and limits for each msid. Currently in use: local versions of P011 (primary) and P009 (secondary) with 2DETART and 2SHLDART set to uncalibrated values.

Environment Setting

Output Locations and File Names

How to Run the Script(s)

  1. go to: /data/mta4/www/Snapshot
  2. run: tlogr.pl

How to Run Test(s)

  1. No test available for this set of script

Expected result from the test

test results -- test results -- test results

Cron Job

CPU: c3po-v
User: mta
CPU: boba-v
User: mta

Web Addreess

https://cxc.cfa.harvard.edu/mta_days/MIRROR/Snap/snap.cgi?action=Latest

https://cxc.cfa.harvard.edu/mta/Snapshot/snap.cgi?action=Latest

Note

None

Future Plan/Update Schedule


Back to Top Page