M&TA Data Processing


This page currently a first attempt to flesh out the daily processing to be carried out by M&TA Hardware and software. Software tasks break themselves into four types:
  • Those which act on and output Raw or standard data products.
  • Those which act on standard data products and output an MTA product.
  • Those which act on special version of standard data products and output an MTA product.
  • Those which act on an MTA product.

    An earlier form of this plan from 1997 is also available.
    Back to the MTA home page


    Outline of processing

    Act on and output Raw or standard data products.

    1. ACORN/MTA-RT - This is an MTA specialty tool for monitoring the Real-time data. Limits are sensed based on the ODB.
      • Input - The UDP real-time stream from DSN.
      • Output - Messages to the Notifier.
    2. SDP - This is the SDP version of AP. It contains the following:
      • DECOM Flight DECOM. I would prefer relatively large engineering files (~1 hour in formats 1 & 2)
      • L0.5 This creates setup for L1.
      • L1 Based on the L0 event products and L0.5 OBI products. This pipeline runs on a per/OBI basis. Archival L1 event files are created.
      • L1.5 - Gratings MTA has a specific suite of procedures be executed against gratings L1 or L1.5 files.
      • L2 - Sources MTA has no use for SDP L2 sources since they may represent different time slices.
    3. MTA special AP (MTA/SAP) - This is the MTA version of AP running under separate instantiation than the flight pipeline. It contains the following:
      • DECOM - We need to create L0 event lists based on only the dumps worth of data. This should be achieved by running ADE and HDE under a separate instantiation of the data extractor. These files should time out at the end of the playback. We should also run a limited version of the EDE only to produce the on board aspect solution. Question: Are the ACIS/HRC event files produced this way cumulative or just data from the last pass?
      • L1/OBIBased on the L0 event product and L0 OBC aspect solution, MTA should use something like the SI-pipe to generate a per pass events list. Question: Can the SI-PIPE use the OBC aspect data?

    Act on standard data products and output an MTA product.

    1. Static Monitor - This is the MTA Standard Monitoring.
      • Primary Input - L0 engineering like data of msids which are not context or state dependent. OR L1 data from ASPECT or other pipes which calculate static values useful to monitor.
      • Secondary Input - Group.list, process.list, Limits.db, Email.list.
      • Output - Data for use by notifier, fits file for use by Summary page maker, fits file for use by DB ingest.
    2. Dynamic/State Monitor - This is the MTA State sensitive monitoring. Really this is a front end to the static pipe which updates the limits database with time variability information. This pipeline is designed to monitor those values which are sensitive to the actual state of the spacecraft. Whether or not the spacecraft was in the expected state requires comparison against the OBSCAT. Therefore we consider that test a V&V task.
      • Primary Input - L0 engineering like data of msids which are context or state dependent.
      • Secondary Input - Group_list, process_list, Var_Limits.db, Email_list.
      • Output - Data for use by notifier, fits file for use by Summary page maker, fits file for use by DB ingest.
    3. Photon_mon/ACIS_CCD_mon - These tools have similar goals.
      • Photon_mon creates a quick look at the focal plane and certain PHA data and hot pixels..
      • ACIS_CCD_mon looks more carefully at the PHA distributions node by node/FEP by FEP as a precursor to CTI.
      • Primary Input - L0 or L1 event lists. The tools run separately on both products. So When the L0 Archival event list Is created Photon_mon (and if ACIS ACIS_CCD_mon) are executed and write to the DB tables and web pages. When the L1 Archival event list is created Photon_mon (and if ACIS ACIS_CCD_mon) are executed and write to the DB tables and update web pages. Note - when I use the term archival quality I mean data in or scheduled to go in the archive, I intend that the process run off the cache data .
      • Output - Data for use by notifier, fits file for use by html page maker (done internally), fits file to be archived (except in the case of Photon_mon - no archive).
    4. ACA_MON - This is an MTA specialty tool to monitor the output of the aspect Level 1 pipe.
      • Primary Input - Archival quality L1 FIDPROPS, ACACENT and GSPROPS FILES.
      • Secondary Input - Limits.db, Email_list.
      • Output - Data for use by notifier, data for internal Summary page maker, possible data for DB (probably handled by ACA_TRD)
    5. Grat_mon - This is an MTA specialty tool (specification due 3/31 - pseudo-code (IDL) is available) to monitor the Gratings data.
      • Primary Input - Archival quality L1.5 tg events file.
      • Output - Data for use by notifier, data for internal summary page maker, possible data for DB (unspecified).
    6. Src_mon - This is an MTA specialty tool (specification due 3/31) to monitor the focus. We will apply our own version of cell detect to the L1 data and act on the result.
      • Primary Input - Archival quality L1 events file.
      • Output - Data for use by notifier, data for internal summary page maker, possible data for DB (unspecified).

    Act on an MTASAP product and output an MTA product.

    Both of these tools write only to the /MTA/Photons/temp region of the web site.
    Photon_mon/ACIS_CCD_mon - When the MTA/SAP Produces a L0 event list, up to 3 things happen to it.
    1. Photon_mon -
      Input Temporary L0 EVENT file.
      Output Temporary Web pages (with possible alerts)
    2. ACIS_CCD_MON -
      Input Temporary L0 ACIS Event file.
      Output Temporary Web pages (with possible alerts)
    3. SI-PIPE (or variant) -
      Input Temporary L0 Event file. Level 0 On-Board Aspect data.
      Output Temporary L1 event File.
  • When the MTA/SAP produces a L1 event list, up to 2 things happen to it.
    1. Photon_mon -
      Input Temporary L1 EVENT file.
      Output Temporary Web pages (with possible alerts)
    2. ACIS_CCD_MON -
      Input Temporary L1 ACIS Event file.
      Output Temporary Web pages (with possible alerts)

    Act on an MTA product.

    The following tools take final action on MTA Products and tend to have a life of their own.
    1. Notifier - A.K.A. MTA_PRS. This tool sends problem messages to pagers, email accounts and the problem tracker. It also needs to receive replies to the pager messages. This software requires its own account: MTADUDE is currently used.
    2. Mk_sum_pg - This is a generic name for an activity carried out by many pipelines of converting their data to web pages and embedded gifs.
    3. Population of MTA DB Tables - This activity should occur at the end of most MTA activities which act on archival quality products. Those data which have been acted on which are also in the MTA DB tables (15 are define 5 more are coming) should be ingested to the appropriate tables.

    Out of loop MTA Activities.

    The following MTA activities are not directly tied to OBSIDs are to the spacecraft directly. So they can be scheduled independently.
    1. Trends - The current plan is to run trends on a 1/subsystem/week basis. Monday ACIS, Tuesday PCAD, etc. The plan is to use the Data_seeker version 1.0 acting on the MTADB tables. The software would execute each morning from 3-7 a.m. local time.
    2. Concatenation and archive of *STATIC and *STATE FITS files. - Currently MTA generates Hundreds of these files per day. Basically 1 of each type of file / hour in formats 1 and 2. So we have code to concatenate the 24-84 files for a given subsystem into 1 file. We would prefer to archive only that file. This activity could be execute by cron job and occur from 12:30 to 3 a.m. local time.
    3. Problem Tracking - MTA problem tracking currently runs outside of the ops structure. The software receives email and restricted web input to track problem status. This software requires its own account: MTA is currently used.

    TOP Down flow diagram Passes 1 through 4

    pass1 pass2 pass3 pass4

    Expected layout of the Web directory structure.

    Web Dir.

    The M&TA Home page

    Email problems to: swolk@head-cfa.harvard.edu (Scott Wolk)
    ...it is all his fault