I am concerned that the pipeline requires users to properly insert the times on the start and stop of the weekly runs in seconds, this opens up a large possibility of user error. Default input should be simplified. One suggestion for the pipeline is that it look at the time of the most recent data in the database, back off to the previous midnight and call that the "end time," then subtract 604,800 seconds from the end time and call that "start time."
Recall times from the archive were acceptable, < 10 minutes for all ACIS products for a week. However, this scales to 40 minutes/subsystem for a month, and about 8 hours to recall all data on a subsystem for a year. Given the run efficiency the monthly and mission need to be handled differently from the weeklies. The Monitor spec. describes another scenario which adds weekly data to make longer term data products.
Database mtasim
Table _simactu_avg
*** - oddities (SEE ACTIONS SECTION)
faedge (always 0), fatabwid (always 0), mrmdest (2/3 are 0),
tscedge(2/3 are 0), tsctabwid(2/3 are 0)
Problem is that original data resolution ~1050 s. to be
addressed in second gen. dbs.
(_lim alternates 0 to 1)
Table _simtemp_avg - no problems
Table _simelec_avg - no problems
Database mtahrc
Table _hrctemp_avg - no problems
Table _hrcelec_avg - 0 values in first row
Table _hrcveto_avg - no problems
Table _hrcchk_avg - no problems
Database mtasubsys
batt_temp_avg - no problems
sc_anc_temp_avg - no problems
sc_main_temp_avg - no problems
spcelecb_avg - LONG POLES these 3 tables + PCAD drift
spceleca_avg - take too long to populate in the current
spcelec_avg - design. They will be back in 2nd gen db.
epsbatt_avg - no problems
Database mtaephin
ephkey_avg - no problems
ephrate_avg - no problems
ephtv_avg - no problems
ephhk_avg - no problems
Database mtaacis
aciseleca_avg - no problems
aciselecb_avg - no problems
acismech_avg - no problems
acistemp_avg - no problems
Database mtatel
gratgen_avg - no problems
hrmagrad_avg - NO DATA keyword problem
hrmaheaters_avg - NO DATA keyword problem
hrmastruts_avg - no problems
hrmatherm_avg - no problems
obagrad_avg - NO DATA keyword problem
obaheaters_avg - NO DATA keyword problem
obfwdbulkhead_avg - no problems
precoll_avg - no problems
Database mtapcad
pcadgdrift_avg - LONG POLE - not populated in by ops
pcadftsgrad_avg - no problems
pcadtemp_avg - no problems
pcadrwrate_avg - no problems
pcadgrate_avg - no problems
pcaditv_avg - no problems
Data Product
DB Table Content MSID Pipe
------------- ---------------- ------- ------
mta_obs_prim? obs0a.par detector obidet
obs0a.par grating obidet
obs0a.par observer obidet
obs0a.par seq_num obidet
???? si_mode ???(alternative - see below)
pbk0.fits (could use data mode and readmode- null for HRC)
DB Table Content MSID Pipe
------------- ---------------- ------- ------
mta_pcad_prim AIPROPS avg_ra aspL0.5
AIPROPS avg_dec aspL0.5
AIPROPS avg_roll aspL0.5
AIPROPS pcad_mode aspL0.5
AIPROPS obsid aspL0.5
I compared these MSIDs with the SIM L0.5 data products:
We recommend a move to monitoring the L0.5 SIM_MRG product instead
of the L0 "SIM" product. This will ease the A/B redundancy problem
we are seeing.
Obviously, this has an impact on DB and AP to feed/ingest/archive
this different file. How much of an impact is it in each of your
areas to switch from the L0 SIM file to the L0.5 SIM_MRG file?
I can provide detailed file descriptions, but aside from the
CONTENT keyword, they appear to have the same structure.
All MSIDs from the L0 SIM DIAG
file are going to be jumbled still. A solution to that is still needed.
However only 1 diag file is valid at a time. The ingest tool could
take the valid SEA as a parameter.
SIMCOOR = simf
SIM_MRG = simf
All fields currently monitored in the SIM (tlm0.fits) data product
can be obtained from the merged L0.5 data product SIM_MRG. Those
that are from the diagnostics file ( SIMDIAG ) do not have a match
and will need some other solution. I'm not sure how we would
integrate this into the current pipeline, but we could use the
value of the "SEAIDENT" column of the L0.5 file to select which
SIMDIAG file to monitor. Not sure what to do if the side switches
in the middle of a file? Just an idea.
Now:
====
config average
Config bin time ----> ------ ------- <-- avg bin start
| |
| |
| |
snapshot --> ------ ------ <--- avg bin stop & bin time
| |
| |
| |
------ ------
Need it to be:
==============
config average
------ -------
| |
| | <--- avg bin start
| |
snapshot & bin time -> ------ ------ <--- avg bin time to file
| |
| | <--- avg bin stop
| |
------ ------
==> Alesha: evaluate current implementation. Config has to be fixed.
It would be good to fix avg as well so we can go operational.
Evaluate the time to change config and avg to above scheme.
Write up algorithm change for review.
NEW TABLES:
Executive listing of new DBTs in priority order. The previous report
detailed these, the are now being maintained in Mark's document.