Input Trigger: FOFPOL is a file poller process that is triggered by the appearance of uncompressed FOF telemetry files in the FOF_INPUT_DIR directory Output Trigger: FOFPOL triggers the FGSENG Process FF FE AE SE CK FS CL DL Class -- -- -- -- -- -- -- -- ----- c w _ _ _ _ _ _ fof
INPUT: FOF_INPUT_DIR: tyyyydddhhmm.fof - uncompressed FOF Telemetry Files generated by the EDPS EDR Pipeline ZIPFOF Process OUTPUT: FOF_INPUT_DIR: tyyyyddhhmm.fof_done - renamed FOF Telemetry files OPUS_OBSERVATIONS_DIR: 'fof' class OSF's for FOF Telemetry files
Pipeline Mode: xpoll -p opus_definitions_dir:your.path -r fofpol (in task line of resource file) where: xpoll = External Poller Process used to invoke a script to do file polling -p = option indicating the path file specification follows -r = option indicating the root name of the resource file for the FOFPOL process follows opus_definitions_dir:your.path = path file to use
!------------------------------------------------------------------------------- ! ! fofpol.resource ! ! External poller using xpoll ! ! This file is used to construct the trigger, error, and success ! status fields in the observation status file. ! !-------------------------------------------------------------------- ! REVISION HISTORY !-------------------------------------------------------------------- ! PR ! DATE NUMBER User Description ! -------- ------ --------- ------------------------------------- ! 10/24/01 44684 Goldst Created initial version ! 03/01/02 45016 Goldst Change DATA_ID and SET_STATUS values ! 01/15/03 47209 J.Baum Add FILE_DUPLICATE.DANGLE ! 06/24/04 51412 Sherbert For PR 50437 Remove DISPLAY_ORDER ! 10/31/11 67820 LThompson change SET_STATUS from cwwww to cw to trigger only ! FE so FE,AD,SE,CK stages are triggered ! sequentially, instead of concurrently !------------------------------------------------------------------------------- PROCESS_NAME = fofpol TASK = <xpoll -p $PATH_FILE -r fofpol> DESCRIPTION = 'Polls for FOF telemetry files' COMMAND = eng_poll.pl SYSTEM = FOF CLASS = fof FILE_RANK = 1 FILE_DIRECTORY1 = FOF_INPUT_DIR FILE_OBJECT1 = *.fof FILE_PROCESSING.DANGLE = _proc FILE_SUCCESS.DANGLE = _done FILE_ERROR.DANGLE = _bad FILE_DUPLICATE.DANGLE = _duplicate XPOLL_STATE.11 = FILE_SUCCESS XPOLL_STATE.13 = FILE_ERROR ! cannot create OSF XPOLL_STATE.15 = FILE_DUPLICATE ! duplicate marked in osf XPOLL_ERROR.FF = x ! Undefined exit status POLLING_TIME = 10 ! Wait (seconds) before polling for next ! ENV values to be passed to the eng_poll.pl script ENV.PIPELINE = FOF ENV.DATA_ID = fof ENV.PROC_EXT = .fof_proc ENV.SET_STATUS = cw ! trigger FE stage only ENV.DUPLICATE = d ENV.POLL_STEP = FF
Input Trigger: FGSENG is triggered by the FOFPOL process FF FE AE SE CK FS CL DL Class -- -- -- -- -- -- -- -- ----- c w _ _ _ _ _ _ fof Output Trigger: FGSENG triggers the ASTENG process FF FE AE SE CK FS CL DL Class -- -- -- -- -- -- -- -- ----- c c w _ _ _ _ _ fof
INPUT: FOF_INPUT_DIR_DIR: tyyyydddhhmm.fof_done - input FOF file OUTPUT: FOF_FGS_DIR: tyyyydddhhmm.fgs_good - intermediary telemetry file from good quality FOF file tyyyydddhhmm.fgs_bad - intermediary telemetry file that has been renamed to indicate that it came from a bad quality FOF file FOF_INPUT_DIR: tyyyydddhhmm.fof_done_bad - FOF file that has been renamed to indicate bad quality
Pipeline Mode: xpoll -p opus_definitions_dir:your.path -r fgseng (in task line of resource file) where: xpoll = External Poller Process used to invoke a script to do file polling -p = option indicating the path file specification follows -r = option indicating the root name of the resource file for the FGSENG process follows opus_definitions_dir:your.path = path file to use
!------------------------------------------------------------------------------- ! ! fgseng.resource ! ! This file is used to construct the trigger, error, and success ! status fields in the observation status file. ! !-------------------------------------------------------------------- ! REVISION HISTORY !-------------------------------------------------------------------- ! MOD PR ! LEVEL DATE NUMBER User Description ! ----- -------- ------ ------ ------------------------------------- ! 000 10/24/01 44684 Goldst Created initial version ! 001 01/25/02 44684 jschultz various additions and modifications ! 002 03/11/02 45016 Goldst Added OSF_TRIGGER1.DATA_ID ! 003 03/13/03 47496 jschultz add new XPOLL_STATE and OSF_HOLD settings ! to use when need to hold FOF processing ! 004 03/25/03 47061 J.Baum Add two new dangles ! 005 08/12/03 49253 Goldst Added JCONN_JAR keyword ! 006 02/15/05 51570 Sontag Added missing XPOLL_ERROR line ! 007 03/18/05 51570 MSwam Sync with operational override ! 08/12/10 64432 MSwam use path-defined DB_TYPE (SYBASE or MSSQL) ! 10/31/2011 67820 LThompson add OSF_SUCCESS.AE to trigger next stage !------------------------------------------------------------------------------- !--------------------- ! General Process info !--------------------- PROCESS_NAME = fgseng TASK = <xpoll -p $PATH_FILE -r fgseng> COMMAND = fgseng.csh ^CL DESCRIPTION = 'Produce FGS Subset Files from FOF Files' SYSTEM = FOF CLASS = fof OSF_RANK = 1 POLLING_TIME = 10 ! Wait (seconds) before polling again !------------- ! OSF settings !------------- OSF_TRIGGER1.FE = w ! Process Trigger OSF OSF_TRIGGER1.DATA_ID = fof ! Trigger class ID OSF_PROCESSING.FE = p ! Process Processing OSF OSF_SUCCESS.FE = c ! Success status: FE stage complete OSF_SUCCESS.AE = w ! Success status: trigger AE stage OSF_FAILURE.FE = f ! Process Failure OSF OSF_HOLD.FE = h ! hold for MSC file processing !------------------- ! Directories to use !------------------- ENV.INPATH = FOF_INPUT_DIR ! Contains input FOF Files ENV.OUTPATH = FOF_FGS_DIR ! Contains output FGS Subset Files !----------------------- !message reporting level !----------------------- MSG_RPT_LVL = JMSG_REPORT_LEVEL ! message report level to use. Set ! MSG_RPT_LVL equal to JMSG_REPORT_LEVEL ! to cause your report level to be set ! to what JMSG_REPORT_LEVEL is set to in ! your path file. Otherwise set MSG_RPT_LVL ! to one of he following: ! ALL, NONE, DIAG, INFO, WARN, ERROR, FATAL !-------------- ! Database info !-------------- DB_TYPE = DB_TYPE ! database type to use. DB_SERVER = DSQUERY ! database server to use. Set DB_SERVER equal to ! DSQUERY. This will cause your server to be set ! to what DSQUERY is set to in your path file. DB_NAME = OPUS_DB ! database to use. Set DB_NAME to OPUS_DB. This ! will cause your database to be set ! to what OPUS_DB is set to in your path file. !------------------------- ! Process Control Switches !------------------------- DROP_LAST_VALUE_BEFORE_GAP = Y ! Indicates if to drop the last value of ! telemetry parameters that occur just prior ! to a gap. ! Set to "Y"es or "N"o RETAIN_SUPERCOMMUTATED_DATA = N ! Indicates if supercommutated data is to be ! contained in the output product. In FOF ! data there is 1 packet per minor frame for ! non-supercommutated data and 2 packets per ! minor frame for supercommutated data with ! the supercommutated data contained in the ! second packet. For typical FGS related ! processing the supercommutated data is not ! required so this switch should be set to ! "N". CHECK_FOF_TOLERANCES = Y ! Indicates if to see if any quality related ! tolerances were exceeded during fof ! conversion. If tolerances are not checked, ! fof file is assumed to be of good quality ! Set to "Y"es or "N"o PRINT_FOF_CONVERSION_SUMMARY = N ! Indicates if to print out various counters ! that were maintained during fof conversion; ! for example, number of good elements, ! number of bad elements, number of discarded ! elements ... If a FOF Conversion Summary is ! selected to be printed, it will be printed ! to the fgseng process log file. ! Set to "Y"es or "N"o PRINT_FOF_QUALITY_SUMMARY = Y ! Indicates if to print out various quality ! metrics that were computed during fof ! conversion; for example, percentage of ! elements discarded, percentage of packets ! discarded, ... ! If a FOF Quality Summary is selected to be ! printed and the CHECK_FOF_TOLERANCES switch ! is set to 'Y', the summary will be printed to ! the fgseng process log file. ! Set to "Y"es or "N"o. PRINT_FOF_GAP_SUMMARY = Y ! Indicates if to print out information ! relating to gaps found in the FOF data ! during conversion; for example, the number ! of gaps, their start and end times, and their ! length. If a FOF GAP Summary is selected to ! be printed, it will be printed to the fgseng ! process log file. ! Set to "Y"es or "N"o !------------------------------- ! FOF quality related Tolerances !------------------------------- BAD_ELEMENT_TOLERANCE = 10 ! Indicates the allowable percentage of ! bad quality telemetry elements that can ! be discarded during fof conversion. If ! this percentage is exceeded, the OSF for ! the FOF File will be set to 'f' (fail) in ! the FE column and the file names of the FOF ! file and any FGS Subset file produced will ! be appended with the ! QUESTIONABLE_DATA_DANGLE value specified ! below in the Process Parameters section of ! this resource file DROPPED_ELEMENT_TOLERANCE = 10 ! Indicates the allowable percentage of ! telemetry elements that can be discarded ! during fof conversion because they contain ! the last values of the parameters prior to ! the start of a gap. If this percentage is ! exceeded, the OSF for the FOF File will be ! set to 'f' (fail) in the FE column and the ! file names of the FOF file and any FGS ! Subset file produced will be appended with ! the QUESTIONABLE_DATA_DANGLE value ! specified below in the Process Parameters ! section of this resource file DISCARDED_ELEMENT_TOLERANCE = 15 ! Indicates the total allowable percentage of ! telemetry elements that can be discarded ! for any reason during fof conversion. If ! this percentage is exceeded, the OSF for ! the FOF File will be set to 'f' (fail) in ! the FE column and the file names of the FOF ! file and any FGS Subset file produced will ! be appended with the ! QUESTIONABLE_DATA_DANGLE value specified ! below in the Process Parameters section of ! this resource file BAD_PACKET_TOLERANCE = 10 ! Indicates the allowable percentage of ! bad quality telemetry packets that can ! be discarded during fof conversion. If ! this percentage is exceeded, the OSF for ! the FOF File will be set to 'f' (fail) in ! the FE column and the file names of the FOF ! file and any FGS Subset file produced will ! be appended with the ! QUESTIONABLE_DATA_DANGLE value specified ! below in the Process Parameters section of ! this resource file DUPLICATE_PACKET_TOLERANCE = 5 ! Indicates the allowable percentage of ! duplicate telemetry packets that can ! be discarded during fof conversion. If ! this percentage is exceeded, the OSF for ! the FOF File will be set to 'f' (fail) in ! the FE column and the file names of the FOF ! file and any FGS Subset file produced will ! be appended with the ! QUESTIONABLE_DATA_DANGLE value specified ! below in the Process Parameters section of ! this resource file GAP_PACKET_TOLERANCE = 10 ! Indicates the allowable percentage of gap ! packets that can be discarded during fof ! conversion. If this percentage is exceeded, ! the OSF for the FOF File will be set to 'f' ! (fail) in the FE column and the file names ! of the FOF file and any FGS Subset file ! produced will be appended with the ! QUESTIONABLE_DATA_DANGLE value specified ! below in the Process Parameters section of ! this resource file DISCARDED_PACKET_TOLERANCE = 15 ! Indicates the total allowable percentage of ! telemetry packets that can be discarded ! for any reason during fof conversion. If ! this percentage is exceeded, the OSF for ! the FOF File will be set to 'f' (fail) in ! the FE column and the file names of the FOF ! file and any FGS Subset file produced will ! be appended with the ! QUESTIONABLE_DATA_DANGLE value specified ! below in the Process Parameters section of ! this resource file !------------------- ! Process Parameters !------------------- TELEMETRY_TYPE = FGS ! Indicates that only FGS related ! telemetry parameters are of interest ! during fof conversion PROCESS_DATA_DANGLE = _proc ! appended to names of FGS Subset data ! files at start of processing. The value ! will be replaced by GOOD_DATA_DANGLE or ! QUESTIONABLE_DATA_DANGLE at end of ! processing. INDEX_DATA_DANGLE = _index ! appended to names of FGS Subset index ! files at start of processing. This ! is not changed after processing. GOOD_DATA_DANGLE = _good ! appended to names of FGS Subset files ! when quality tolerances are checked and ! found to be within limits QUESTIONABLE_DATA_DANGLE = _bad ! appended to names of FOF and FGS Subset ! files when quality tolerances are ! checked and found to be exceeded MINBLOCKS = 50000 ! minimum disk space needed to run process !-------------------- ! Xpoll return states !-------------------- XPOLL_STATE.00 = OSF_SUCCESS XPOLL_STATE.01 = OSF_FAILURE XPOLL_STATE.02 = OSF_HOLD XPOLL_ERROR.FE = x ! Some entirely unexpected failure !------------------------------------------------------------------------------- ! causes environment variables to be set in the sub process spawned by XPOLL ! to execute the scipt specified by the "COMMAND" in the "General Process info" ! section at the beginning of this resource file !------------------------------------------------------------------------------- ENV.OPUS_DB = OPUS_DB ENV.DSQUERY = DSQUERY ENV.OK_TO_UPDATE_DATABASE = OK_TO_UPDATE_DATABASE ENV.JCONN_JAR = JCONN_PATH
Input Trigger: ASTENG is triggered by the FGSENG process FF FE AE SE CK FS CL DL Class -- -- -- -- -- -- -- -- ----- c c w _ _ _ _ _ fof Output Trigger: ASTENG triggers the SAVENG process FF FE AE SE CK FS CL DL Class -- -- -- -- -- -- -- -- ----- c c c w _ _ _ _ fof
INPUT: FOF_INPUT_DIR_DIR: tyyyydddhhmm.fof_done - input FOF file OUTPUT: FOF_AST_DIR: tyyyydddhhmm.ast_good - intermediary telemetry file from good quality FOF file tyyyydddhhmm.ast_bad - intermediary telemetry file that has been renamed to indicate that it came from a bad quality FOF file FOF_INPUT_DIR: tyyyydddhhmm.fof_done_bad - FOF file that has been renamed to indicate bad quality
Pipeline Mode: xpoll -p opus_definitions_dir:your.path -r asteng (in task line of resource file) where: xpoll = External Poller Process used to invoke a script to do file polling -p = option indicating the path file specification follows -r = option indicating the root name of the resource file for the ASTENG Process follows opus_definitions_dir:your.path = path file to use
!------------------------------------------------------------------------------- ! ! asteng.resource ! ! This file is used to construct the trigger, error, and success ! status fields in the observation status file. ! !-------------------------------------------------------------------- ! REVISION HISTORY !-------------------------------------------------------------------- ! MOD PR ! LEVEL DATE NUMBER User Description ! ----- -------- ------ ------ ------------------------------------- ! 000 10/24/01 44684 Goldst Created initial version ! 001 01/25/02 44684 jschultz various additions and modifications ! 002 03/11/02 45016 Goldst Added OSF_TRIGGER1.DATA_ID ! 003 03/13/03 47496 jschultz add new XPOLL_STATE and OSF_HOLD settings ! to use when need to hold FOF processing ! 004 03/25/03 47061 J.Baum Add two new dangles ! 005 08/12/03 49253 Goldst Added JCONN_JAR keyword ! 006 02/15/05 51570 Sontag Added missing XPOLL_ERROR line ! 08/12/10 64432 MSwam use path-defined DB_TYPE (SYBASE or MSSQL) ! 10/31/2011 67820 LThompson add OSF_SUCCESS.SE to trigger next stage !------------------------------------------------------------------------------- !--------------------- ! General Process info !--------------------- PROCESS_NAME = asteng TASK = <xpoll -p $PATH_FILE -r asteng> COMMAND = asteng.csh ^CL DESCRIPTION = 'Produce Astrometry Subset Files from FOF Files' SYSTEM = FOF CLASS = fof OSF_RANK = 1 POLLING_TIME = 10 ! Wait (seconds) before polling again !------------- ! OSF settings !------------- OSF_TRIGGER1.AE = w ! Process Trigger OSF OSF_TRIGGER1.DATA_ID = fof ! Trigger class ID OSF_PROCESSING.AE = p ! Process Processing OSF OSF_SUCCESS.AE = c ! Success status: AE stage complete OSF_SUCCESS.SE = w ! Success status: trigger SE stage OSF_FAILURE.AE = f ! Process Failure OSF OSF_HOLD.AE = h ! hold for MSC file processing !------------------- ! Directories to use !------------------- ENV.INPATH = FOF_INPUT_DIR ! Contains input FOF Files ENV.OUTPATH = FOF_AST_DIR ! Contains output Astrometry Subset Files !----------------------- !message reporting level !----------------------- MSG_RPT_LVL = JMSG_REPORT_LEVEL ! message report level to use. Set ! MSG_RPT_LVL equal to JMSG_REPORT_LEVEL ! to cause your report level to be set ! to what JMSG_REPORT_LEVEL is set to in ! your path file. Otherwise set MSG_RPT_LVL ! to one of he following: ! ALL, NONE, DIAG, INFO, WARN, ERROR, FATAL !-------------- ! Database info !-------------- DB_TYPE = DB_TYPE ! database type to use. DB_SERVER = DSQUERY ! database server to use. Set DB_SERVER equal to ! DSQUERY. This will cause your server to be set ! to what DSQUERY is set to in your path file. DB_NAME = OPUS_DB ! database to use. Set DB_NAME to OPUS_DB. This ! will cause your database to be set ! to what OPUS_DB is set to in your path file. !------------------------- ! Process Control Switches !------------------------- DROP_LAST_VALUE_BEFORE_GAP = Y ! Indicates if to drop the last value of ! telemetry parameters that occur just prior ! to a gap. Set to "Y"es or "N"o RETAIN_SUPERCOMMUTATED_DATA = Y ! Indicates if supercommutated data is to be ! contained in the output product. In FOF ! data there is 1 packet per minor frame for ! non-supercommutated data and 2 packets per ! minor frame for supercommutated data with ! the supercommutated data contained in the ! second packet. For typical AST related ! processing the supercommutated data is ! required so this switch should be set to ! "Y". CHECK_FOF_TOLERANCES = Y ! Indicates if to see if any quality related ! tolerances were exceeded during fof ! conversion. If tolerances are not checked, ! fof file is assumed to be of good quality ! Set to "Y"es or "N"o PRINT_FOF_CONVERSION_SUMMARY = N ! Indicates if to print out various counters ! that were maintained during fof conversion; ! for example, number of good elements, ! number of bad elements, number of discarded ! elements ... If a FOF Conversion Summary is ! selected to be printed, it will be printed ! to the asteng process log file. ! Set to "Y"es or "N"o. PRINT_FOF_QUALITY_SUMMARY = Y ! Indicates if to print out various quality ! metrics that were computed during fof ! conversion; for example, percentage of ! elements discarded, percentage of packets ! discarded, ... ! If a FOF Quality Summary is selected to be ! printed and the CHECK_FOF_TOLERANCES switch ! is set to 'Y', the summary will be printed to ! the asteng process log file. ! Set to "Y"es or "N"o. PRINT_FOF_GAP_SUMMARY = Y ! Indicates if to print out information ! relating to gaps found in the FOF data ! during conversion; for example, the number ! of gaps, their start and end times, and their ! length. If a FOF GAP Summary is selected to ! be printed, it will be printed to the asteng ! process log file. ! Set to "Y"es or "N"o !------------------------------- ! FOF quality related Tolerances !------------------------------- BAD_ELEMENT_TOLERANCE = 20 ! Indicates the allowable percentage of ! bad quality telemetry elements that can ! be discarded during fof conversion. If ! this percentage is exceeded, the OSF for ! the FOF File will be set to 'f' (fail) in ! the AE column and the file names of the FOF ! file and any Astrometry Subset file ! produced will be appended with the ! QUESTIONABLE_DATA_DANGLE value specified ! below in the Process Parameters section of ! this resource file DROPPED_ELEMENT_TOLERANCE = 20 ! Indicates the allowable percentage of ! telemetry elements that can be discarded ! during fof conversion because they contain ! the last values of the parameters prior to ! the start of a gap. If this percentage is ! exceeded, the OSF for the FOF File will be ! set to 'f' (fail) in the AE column and the ! file names of the FOF file and any ! Astrometry Subset file produced will be ! appended with the QUESTIONABLE_DATA_DANGLE value ! specified below in the Process Parameters ! section of this resource file DISCARDED_ELEMENT_TOLERANCE = 25 ! Indicates the total allowable percentage of ! telemetry elements that can be discarded ! for any reason during fof conversion. If ! this percentage is exceeded, the OSF for ! the FOF File will be set to 'f' (fail) in ! the AE column and the file names of the FOF ! file and any Astrometry Subset file ! produced will be appended with the ! QUESTIONABLE_DATA_DANGLE value specified ! below in the Process Parameters section of ! this resource file BAD_PACKET_TOLERANCE = 20 ! Indicates the allowable percentage of ! bad quality telemetry packets that can ! be discarded during fof conversion. If ! this percentage is exceeded, the OSF for ! the FOF File will be set to 'f' (fail) in ! the AE column and the file names of the FOF ! file and any Astrometry Subset file ! produced will be appended with the ! QUESTIONABLE_DATA_DANGLE value specified ! below in the Process Parameters section of ! this resource file DUPLICATE_PACKET_TOLERANCE = 20 ! Indicates the allowable percentage of ! duplicate telemetry packets that can ! be discarded during fof conversion. If ! this percentage is exceeded, the OSF for ! the FOF File will be set to 'f' (fail) in ! the AE column and the file names of the FOF ! file and any Astrometry Subset file ! produced will be appended with the ! QUESTIONABLE_DATA_DANGLE value specified ! below in the Process Parameters section of ! this resource file GAP_PACKET_TOLERANCE = 20 ! Indicates the allowable percentage of gap ! packets that can be discarded during fof ! conversion. If this percentage is exceeded, ! the OSF for the FOF File will be set to 'f' ! (fail) in the AE column and the file names ! of the FOF file and any Astrometry Subset ! file produced will be appended with the ! QUESTIONABLE_DATA_DANGLE value specified ! below in the Process Parameters section of ! this resource file DISCARDED_PACKET_TOLERANCE = 25 ! Indicates the total allowable percentage of ! telemetry packets that can be discarded ! for any reason during fof conversion. If ! this percentage is exceeded, the OSF for ! the FOF File will be set to 'f' (fail) in ! the AE column and the file names of the FOF ! file and any Astrometry Subset file ! produced will be appended with the ! QUESTIONABLE_DATA_DANGLE value specified ! below in the Process Parameters section of ! this resource file !------------------- ! Process Parameters !------------------- TELEMETRY_TYPE = AST ! Indicates that only astrometry related ! telemetry parameters are of interest ! during fof conversion PROCESS_DATA_DANGLE = _proc ! appended to names of FGS Subset data ! files at start of processing. The value ! will be replaced by GOOD_DATA_DANGLE or ! QUESTIONABLE_DATA_DANGLE at end of ! processing. INDEX_DATA_DANGLE = _index ! appended to names of FGS Subset index ! files at start of processing. This ! is not changed after processing. GOOD_DATA_DANGLE = _good ! appended to names of Astrometry Subset ! files when quality tolerances are ! checked and found to be within limits QUESTIONABLE_DATA_DANGLE = _bad ! appended to names of FOF and Astrometry ! Subset files when quality tolerances ! are checked and found to be exceeded MINBLOCKS = 50000 ! minimum disk space needed to run process !-------------------- ! Xpoll return states !-------------------- XPOLL_STATE.00 = OSF_SUCCESS XPOLL_STATE.01 = OSF_FAILURE XPOLL_STATE.02 = OSF_HOLD XPOLL_ERROR.AE = x ! Some entirely unexpected failure !------------------------------------------------------------------------------- ! causes environment variables to be set in the sub process spawned by XPOLL ! to execute the scipt specified by the "COMMAND" in the "General Process info" ! section at the beginning of this resource file !------------------------------------------------------------------------------- ENV.OPUS_DB = OPUS_DB ENV.DSQUERY = DSQUERY ENV.OK_TO_UPDATE_DATABASE = OK_TO_UPDATE_DATABASE ENV.JCONN_JAR = JCONN_PATH
Input Trigger: SAVENG is triggered by the ASTENG process FF FE AE SE CK FS CL DL Class -- -- -- -- -- -- -- -- ----- c c c w _ _ _ _ fof Output Trigger: SAVENG triggers the CHKFOF process FF FE AE SE CK FS CL DL Class -- -- -- -- -- -- -- -- ----- c c c c w _ _ _ fof
INPUT: FOF_INPUT_DIR_DIR: tyyyydddhhmm.fof_done - input FOF file OUTPUT: FOF_SAV_DIR: eng_save_yydddhhmm.fof - Save file containing telemetry parameters from good quality FOF file eng_save_yydddhhmm.fof_bad - Save file renamed to indicate its contents came from a bad quality FOF file breathing_yydddhhmm.fof - Breathing files containing telemetry parameters from good quality FOF file breathing_yydddhhmm.fof_bad - Breathing file renamed to indicate its contents came from a bad quality FOF file FOF_INPUT_DIR: tyyyydddhhmm.fof_done_bad - FOF file that has been renamed to indicate bad quality
Pipeline Mode: xpoll -p opus_definitions_dir:your.path -r saveng (in task line of resource file) where: xpoll = External Poller Process used to invoke a script to do file polling -p = option indicating the path file specification follows -r = option indicating the root name of the resource file for the SAVENG Process follows opus_definitions_dir:your.path = path file to use
!------------------------------------------------------------------------------- ! ! saveng.resource ! ! This file is used to construct the trigger, error, and success ! status fields in the observation status file. ! !-------------------------------------------------------------------- ! REVISION HISTORY !-------------------------------------------------------------------- ! MOD PR ! LEVEL DATE NUMBER User Description ! ----- -------- ------ ------ ------------------------------------- ! 000 10/24/01 44684 Goldst Created initial version ! 001 01/25/02 44684 jschultz various additions and modifications ! 002 03/11/02 45016 Goldst Added OSF_TRIGGER1.DATA_ID ! 003 08/12/03 49253 Goldst Added JCONN_JAR keyword ! 004 02/15/05 51570 Sontag Added missing XPOLL_ERROR line ! 08/12/10 64432 MSwam use path-defined DB_TYPE (SYBASE or MSSQL) ! 10/31/2011 67820 LThompson add OSF_SUCCESS.CK to trigger next stage !------------------------------------------------------------------------------- !--------------------- ! General Process info !--------------------- PROCESS_NAME = saveng TASK = <xpoll -p $PATH_FILE -r saveng> COMMAND = saveng.csh ^CL DESCRIPTION = 'Produce Save and Breathing Files from FOF Files' SYSTEM = FOF CLASS = fof OSF_RANK = 1 POLLING_TIME = 10 ! Wait (seconds) before polling again !------------- ! OSF settings !------------- OSF_TRIGGER1.SE = w ! Process Trigger OSF OSF_TRIGGER1.DATA_ID = fof ! Trigger class ID OSF_PROCESSING.SE = p ! Process Processing OSF OSF_SUCCESS.SE = c ! Success status: SE stage complete OSF_SUCCESS.CK = w ! Success status: trigger CK stage OSF_FAILURE.SE = f ! Process Failure OSF !------------------- ! Directories to use !------------------- ENV.INPATH = FOF_INPUT_DIR ! Contains input FOF Files ENV.OUTPATH = FOF_SAV_DIR ! Contains output Save and Breathing Files !----------------------- !message reporting level !----------------------- MSG_RPT_LVL = JMSG_REPORT_LEVEL ! message report level to use. Set ! MSG_RPT_LVL equal to JMSG_REPORT_LEVEL ! to cause your report level to be set ! to what JMSG_REPORT_LEVEL is set to in ! your path file. Otherwise set MSG_RPT_LVL ! to one of he following: ! ALL, NONE, DIAG, INFO, WARN, ERROR, FATAL !-------------- ! Database info !-------------- DB_TYPE = DB_TYPE ! database type to use. DB_SERVER = DSQUERY ! database server to use. Set DB_SERVER equal to ! DSQUERY. This will cause your server to be set ! to what DSQUERY is set to in your path file. DB_NAME = OPUS_DB ! database to use. Set DB_NAME to OPUS_DB. This ! will cause your database to be set ! to what OPUS_DB is set to in your path file. !------------------------- ! Process Control Switches !------------------------- GENERATE_SAVE_FILES = Y ! Indicates if Save Files are to be ! produced during fof conversion. ! Set to "Y"es or "N"o GENERATE_BREATHING_FILES = Y ! Indicates if Breathing Files are to be ! produced during fof conversion. ! Set to "Y"es or "N"o DROP_LAST_VALUE_BEFORE_GAP = Y ! Indicates if to drop the last value of ! telemetry parameters that occur just prior ! to a gap. ! Set to "Y"es or "N"o CHECK_FOF_TOLERANCES = Y ! Indicates if to see if any quality related ! tolerances were exceeded during fof ! conversion. If tolerances are not checked, ! fof file is assumed to be of good quality ! Set to "Y"es or "N"o PRINT_FOF_CONVERSION_SUMMARY = N ! Indicates if to print out various counters ! that were maintained during fof conversion; ! for example, number of good elements, ! number of bad elements, number of discarded ! elements ... If a FOF Conversion Summary is ! selected to be printed, it will be printed ! to the saveng process log file. ! Set to "Y"es or "N"o PRINT_FOF_QUALITY_SUMMARY = Y ! Indicates if to print out various quality ! metrics that were computed during fof ! conversion; for example, percentage of ! elements discarded, percentage of packets ! discarded, ... ! If a FOF Quality Summary is selected to be ! printed and the CHECK_FOF_TOLERANCES switch ! is set to 'Y', the summary will be printed to ! the saveng process log file. ! Set to "Y"es or "N"o. !------------------------------- ! FOF quality related Tolerances !------------------------------- BAD_ELEMENT_TOLERANCE = 10 ! Indicates the allowable percentage of ! bad quality telemetry elements that can ! be discarded during fof conversion. If ! this percentage is exceeded, the OSF for ! the FOF File will be set to 'f' (fail) in ! the SE column and the file names of the FOF ! file and any Save and Breathing files ! produced will be appended with the ! QUESTIONABLE_DATA_DANGLE value specified ! below in the Process Parameters section of ! this resource file DROPPED_ELEMENT_TOLERANCE = 10 ! Indicates the allowable percentage of ! telemetry elements that can be discarded ! during fof conversion because they contain ! the last values of the parameters prior to ! the start of a gap. If this percentage is ! exceeded, the OSF for the FOF File will be ! set to 'f' (fail) in the SE column and the ! file names of the FOF file and any Save and ! Breathing files produced will be appended ! with the QUESTIONABLE_DATA_DANGLE value ! specified below in the Process Parameters ! section of this resource file DISCARDED_ELEMENT_TOLERANCE = 15 ! Indicates the total allowable percentage of ! telemetry elements that can be discarded ! for any reason during fof conversion. If ! this percentage is exceeded, the OSF for ! the FOF File will be set to 'f' (fail) in ! the SE column and the file names of the FOF ! file and any Save and Breathing files ! produced will be appended with the ! QUESTIONABLE_DATA_DANGLE value specified ! below in the Process Parameters section of ! this resource file !------------------- ! Process Parameters !------------------- QUESTIONABLE_DATA_DANGLE = _bad ! appended to names of FOF, Save, and ! Breathing files when quality tolerances ! are checked and found to be exceeded MINBLOCKS = 50000 ! minimum disk space needed to run process !-------------------- ! Xpoll return states !-------------------- XPOLL_STATE.00 = OSF_SUCCESS XPOLL_STATE.01 = OSF_FAILURE XPOLL_ERROR.SE = x ! Some entirely unexpected failure !------------------------------------------------------------------------------- ! causes environment variables to be set in the sub process spawned by XPOLL ! to execute the scipt specified by the "COMMAND" in the "General Process info" ! section at the beginning of this resource file !------------------------------------------------------------------------------- ENV.OPUS_DB = OPUS_DB ENV.DSQUERY = DSQUERY ENV.OK_TO_UPDATE_DATABASE = OK_TO_UPDATE_DATABASE ENV.JCONN_JAR = JCONN_PATH
Input Trigger: CHKFOF is triggered by the SAVENG process (SAVENG sets the 'w' in CK, but the CHKFOF trigger also requires a 'c' in each of the FE, AE, and SE stages) FF FE AE SE CK FS CL DL Class -- -- -- -- -- -- -- -- ----- c c c c w _ _ _ fof Output Trigger: CHKFOF triggers the FTPSAV process FF FE AE SE CK FS CL DL Class -- -- -- -- -- -- -- -- ----- c c c c c w _ _ fof
INPUT: FOF_FGS_DIR: tyyyydddhhmm.fgs_good - intermediary FGS telemetry files produced from good quality FOF files FOF_AST_DIR: tyyyydddhhmm.ast_good - intermediary astrometry telemetry files produced from good quality FOF files OUTPUT: FOF_FGS_DIR: tyyyydddhhmm.fgs - intermediary FGS telemetry files renamed to enable them to be recognized and processed by the EDPS FGS pipeline FOF_AST_DIR: tyyyydddhhmm.ast - intermediary astrometry telemetry files renamed to enable them to be recognized and processed by the EDPS Astrometry pipeline
Pipeline Mode: xpoll -p opus_definitions_dir:your.path -r chkfof (in task line of resource file) where: xpoll = External Poller Process used to invoke a script to do file polling -p = option indicating the path file specification follows -r = option indicating the root name of the resource file for the CHKFOF process follows opus_definitions_dir:your.path = path file to use
!-------------------------------------------------------------------- ! ! chkfof.resource ! ! ! This file is used to construct the trigger, error, and success ! status fields in the observation status file. ! ! !-------------------------------------------------------------------- ! REVISION HISTORY !-------------------------------------------------------------------- ! PR ! DATE NUMBER User Description ! -------- ------ --------- ------------------------------------- ! 10/24/01 44684 Goldst Created initial version ! 01/15/02 45016 Goldst Corrected Triggers ! 03/05/02 45016 Goldst Add TRIGGER1.CK and DATA_ID ! 02/13/03 47570 J.Baum Change exit status values ! 06/24/04 51412 Sherbert For PR 50437 Remove DISPLAY_ORDER !-------------------------------------------------------------------- PROCESS_NAME = chkfof TASK = <xpoll -p $PATH_FILE -r chkfof> DESCRIPTION = 'Process FOF engineering data' COMMAND = check_fof.pl SYSTEM = FOF CLASS = fof OSF_RANK = 1 ! First Trigger OSF_TRIGGER1.FE = c ! Trigger OSF_TRIGGER1.AE = c ! Trigger OSF_TRIGGER1.SE = c ! Trigger OSF_TRIGGER1.CK = w ! Trigger OSF_TRIGGER1.DATA_ID = fof ! OSF data_id OSF_PROCESSING.CK = p ! Processing OSF_SUCCESS.CK = c ! Completion OSF_SUCCESS.FS = w ! Completion OSF_FAILURE.CK = f ! Failure XPOLL_ERROR.CK = x ! Undefined exit status XPOLL_STATE.07 = OSF_FAILURE XPOLL_STATE.09 = OSF_SUCCESS POLLING_TIME = 10 ! Wait (seconds) before polling for next ENV.FGS_INPATH = FOF_FGS_DIR ! ENV.AST_INPATH = FOF_AST_DIR ! ENV.FGS_EXT_INPUT = .fgs_good ! ENV.AST_EXT_INPUT = .ast_good ! ENV.FGS_EXT_OUTPUT = .fgs ! ENV.AST_EXT_OUTPUT = .ast ! ! forces values from path to be used
Input Trigger: FTPSAV is triggered by the CHKFOF process FF FE AE SE CK FS CL DL Class -- -- -- -- -- -- -- -- ----- c c c c c w _ _ fof Output Trigger: FTPSAV triggers the DELSAV process FF FE AE SE CK FS CL DL Class -- -- -- -- -- -- -- -- ----- c c c c c c w _ fof
INPUT: FOF_SAV_DIR: eng_save_yydddhhmm.fof - Save file to copy to Engineering Team breathing_yydddhhmm.fof - Breathing file to copy to Engineering team OUTPUT: Save and Breathing files copied to the STScI Engineering Team
Pipeline Mode: xpoll -p opus_definitions_dir:your.path -r ftpsav (in task line of resource file) where: xpoll = External Poller Process used to invoke a script to do file polling -p = option indicating the path file specification follows -r = option indicating the root name of the resource file for the FTPSAV process follows opus_definitions_dir:your.path = path file to use
!-------------------------------------------------------------------- ! ! ftpsav.resource ! ! External poller using xpoll ! ! This file is used to construct the trigger, error, and success ! status fields in the observation status file. ! !-------------------------------------------------------------------- ! REVISION HISTORY !-------------------------------------------------------------------- ! MOD PR ! LEVEL DATE NUMBER User Description ! ----- -------- ------ ------ ------------------------------------- ! 000 10/24/01 44684 Goldst Created initial version ! 001 01/15/02 45016 Goldst Corrected Trigger ! 002 03/11/02 45016 Goldst Added OSF_TRIGGER1.DATA_ID ! 09/23/02 46357 Sherbe Set OSF_RANK=2,TIME_RANK=1 so process will go ! --- --- --- absent on incorrect password without failing OSFs ! 06/24/04 51412 Sherbert For PR 50437 Remove DISPLAY_ORDER ! 06/19/10 45189 MSwam changes for SFTP !-------------------------------------------------------------------- PROCESS_NAME = ftpsav TASK = <xpoll -p $PATH_FILE -r ftpsav> DESCRIPTION = 'FTPs save files for engineering analysis' COMMAND = save_copy.csh ^CL SYSTEM = FOF CLASS = fof OSF_RANK = 1 OSF_TRIGGER1.FS = w ! Trigger OSF_TRIGGER1.DATA_ID = fof ! Trigger class ID OSF_PROCESSING.FS = p ! Processing OSF_SUCCESS.FS = c ! Completion OSF_SUCCESS.CL = w ! Completion OSF_FAILURE.FS = f ! Failure setting XPOLL_ERROR.FS = x ! Undefined exit status XPOLL_STATE.00 = OSF_SUCCESS XPOLL_STATE.01 = OSF_FAILURE ENV.INPATH = FOF_SAV_DIR ENV.EXTENSION = .fof ENV.RMT_MACHINE = ET_MACHINE ! Engineering machine ENV.RMT_LOGIN = ET_LOGIN ! Engineering login ENV.RMT_DIR = ET_REMOTE_DIR ! Engineering remote directory POLLING_TIME = 10 ! Wait (seconds) before polling for next ! forces values from path to be used
Input Trigger: DELSAV is triggered by the FTPSAV process FF FE AE SE CK FS CL DL Class -- -- -- -- -- -- -- -- ----- c c c c c c w _ fof Output Trigger: DELSAV triggers the DL_FOF process FF FE AE SE CK FS CL DL Class -- -- -- -- -- -- -- -- ----- c c c c c c c w fof
INPUT: FOF_SAV_DIR: eng_save_yydddhhmm.fof - Save file to delete breathing_yydddhhmm.fof - Breathing file to delete OUTPUT: N/A
Pipeline Mode: xpoll -p opus_definitions_dir:your.path -r delsav (in task line of resource file) where: xpoll = External Poller Process used to invoke a script to do file polling -p = option indicating the path file specification follows -r = option indicating the root name of the resource file for the DELSAV process follows opus_definitions_dir:your.path = path file to use
!-------------------------------------------------------------------- ! ! delsav.resource ! ! ! This file is used to construct the trigger, error, and success ! status fields in the observation status file. ! ! !-------------------------------------------------------------------- ! REVISION HISTORY !-------------------------------------------------------------------- ! MOD PR ! LEVEL DATE NUMBER User Description ! ----- -------- ------ ------ ------------------------------------- ! 000 10/24/01 44684 Goldst Created initial version ! 001 01/15/02 45016 Goldst Corrected Trigger ! 002 01/25/02 45016 Goldst ENV.OK_TO_UPDATE_DATABASE from path ! 003 03/06/02 45016 Goldst Change XPOLL states and ENV. ! 004 03/11/02 45016 Goldst Added OSF_TRIGGER1.DATA_ID ! 06/24/04 51412 Sherbert For PR 50437 Remove DISPLAY_ORDER !-------------------------------------------------------------------- PROCESS_NAME = delsav TASK = <xpoll -p $PATH_FILE -r delsav> COMMAND = delete_save.csh DESCRIPTION = 'Deletes save files ' SYSTEM = FOF CLASS = fof OSF_RANK = 1 ! First Trigger OSF_TRIGGER1.CL = w ! Trigger OSF_TRIGGER1.DATA_ID = fof ! Trigger class ID OSF_PROCESSING.CL = p ! Processing OSF_COMPLETE.CL = c ! Completion OSF_COMPLETE.DL = w ! Completion - trigger for dl_fof OSF_FAILURE.CL = f ! Failure setting POLLING_TIME = 10 ! Wait (seconds) before polling for next XPOLL_STATE.00 = OSF_COMPLETE ! Completion state XPOLL_STATE.01 = OSF_FAILURE ! Failure state XPOLL_ERROR.CL = x ! Undefined exit status ENV.INPATH = FOF_SAV_DIR ! ENV.EXTENSION = .fof ! ! forces values from path to be used ENV.OPUS_DB = OPUS_DB ENV.DSQUERY = DSQUERY ENV.OK_TO_UPDATE_DATABASE = OK_TO_UPDATE_DATABASE ! Determined by path file
Input Trigger: DL_FOF is triggered by the DELSAV process FF FE AE SE CK FS CL DL Class -- -- -- -- -- -- -- -- ----- c c c c c c c w fof Output Trigger: DL_FOF triggers the FOFDEL process FF FE AE SE CK FS CL DL Class -- -- -- -- -- -- -- -- ----- c c c c c c c c fof
INPUT: FOF_INPUT_DIR: tyyyydddhhmm.fof_done - FOF file to be deleted OUTPUT: N/A
Pipeline Mode: xpoll -p opus_definitions_dir:your.path -r dl_fof (in task line of resource file) where: xpoll = External Poller Process used to invoke a script to do file polling -p = option indicating the path file specification follows -r = option indicating the root name of the resource file for the DL_FOF process follows opus_definitions_dir:your.path = path file to use
!-------------------------------------------------------------------- ! ! dl_fof.resource ! ! External poller using xpoll ! ! This file is used to construct the trigger, error, and success ! status fields in the observation status file. ! ! !-------------------------------------------------------------------- ! REVISION HISTORY !-------------------------------------------------------------------- ! MOD PR ! LEVEL DATE NUMBER User Description ! ----- -------- ------ ------ ------------------------------------- ! 000 11/15/01 44684 Goldst Created initial version ! 001 03/06/02 45016 Goldst Change XPOLL states and ENV. ! 002 03/11/02 45016 Goldst Added OSF_TRIGGER1.DATA_ID !-------------------------------------------------------------------- PROCESS_NAME = dl_fof TASK = <xpoll -p $PATH_FILE -r dl_fof> DESCRIPTION = 'Deletes telemetry files' COMMAND = eng_delete.csh SYSTEM = FOF CLASS = fof OSF_RANK = 1 ! First Trigger OSF_TRIGGER1.DL = w ! Trigger OSF_TRIGGER1.DATA_ID = fof ! Trigger class ID OSF_PROCESSING.DL = p ! Processing OSF_SUCCESS.DL = c ! Completion OSF_FAILURE.DL = f ! Failure setting XPOLL_ERROR.DL = x ! Undefined exit status ENV.INPATH = FOF_INPUT_DIR ! ENV.EXTENSION = .fof_done ! POLLING_TIME = 10 ! Wait (seconds) before polling for next XPOLL_STATE.00 = OSF_SUCCESS XPOLL_STATE.01 = OSF_FAILURE
OSF_TRIGGER1.DL = c - value of (DL) stage that triggers FOFDEL OSF_TRIGGER1.DATA_ID = fof - class of OSF to delete
Input Trigger: FOFDEL is triggered by the DL_FOF Process for 'fof' class OSFs FF FE AE SE CK FS CL DL Class -- -- -- -- -- -- -- -- ----- c c c c c c c c fof Output Trigger: N/A - last pipeline process
INPUT: N/A OUTPUT: N/A
Pipeline Mode: osfdelete -p opus_definitions_dir:your.path -r fofdel (in task line of resource file) where: osfdelete = generic process used to delete an OSF from the blackboard -p = option indicating the path file specification follows -r = option indicating the root name of the resource file for the FOFDEL process follows opus_definitions_dir:your.path = path file to use
!-------------------------------------------------------------------- ! ! fofdel.resource ! ! ! This file is used to construct the trigger, error, and success ! status fields in the observation status file. ! ! !-------------------------------------------------------------------- ! REVISION HISTORY !-------------------------------------------------------------------- ! PR ! DATE NUMBER User Description ! -------- ------ --------- ------------------------------------- ! 10/24/01 44684 Goldst Created initial version ! 01/15/02 45016 Goldst Corrected Trigger ! 03/11/02 45016 Goldst Added OSF_TRIGGER1.DATA_ID ! 06/24/04 51412 Sherbert For PR 50437 Remove DISPLAY_ORDER !-------------------------------------------------------------------- PROCESS_NAME = fofdel TASK = <osfdelete -p $PATH_FILE -r fofdel> DESCRIPTION = 'Delete FOF class OSF's' SYSTEM = FOF CLASS = fof OSF_RANK = 1 ! First Trigger OSF_TRIGGER1.DL = c ! Trigger OSF_TRIGGER1.DATA_ID = fof ! Trigger class ID OSF_PROCESSING.DL = p ! Processing OSF_ERROR.DL = e ! Letter to be used when there is an error POLLING_TIME = 5 ! Wait (seconds) before polling for next ! forces values from path to be used
This relation is used to identify the FOF engineering telemetry files that need to be converted to provide intermediary telemetry files containing telemetry parameters needed for FGS, GSA or AST product generation. It is used to simplify creation and collection of telemetry for processing. When a product has no eng_ready = N flags, then the OSF for the product can be created using the product rootname. The FOF Pipeline FGSENG and ASTENG processes use this relation to determine if they need to extract telemetry parameters of interest from a given FOF file. Field name type/size description ---------- --------- ----------- product_rootname C14 IPPPSSOOT for jitter or astrometry products; GYYYYDDDHHMMSS for GS acquisition data product_type C3 FGS for jitter, AST for astrometry, or GSA for GS acqusition data eng_rootname C12 TYYYYDDDHHMM, rootname of the ENG telemetry file eng_ready C1 (Y/N), 'N' indicates the telemetry file eng_rootname is not yet recognized as ready for this product_type. 'Y' indicates that the processing for this product type has recognized the presence of eng_rootname. Having separate control for each product type simplifies initiation of processing. "
This relation is used to identify the engineering telemetry parameters received from CCS that must be extracted from FOF files and packaged into intermediary telemetry files to be used by EDPS FGS and Astrometry pipelines. The FOF Pipeline FGSENG and ASTENG processes use this relation to determine what telemetry parameters are of interest and thus should be extracted from a given FOF file. Field name type/size description ---------- --------- ----------- eng_type C3 identifies which EDPS pipeline this parameter is of interest to; "FGS" = FGS pipeline, "AST" = Astrometry pipeline ccs_number I4 A positive value less than 64K defined by CCS for every unique telemetry parameter in the engineering warehouse. It is the Numeric ID described in the definition of FOF elements (see Appendix A of HST-ICD-T2) eng_number I4 A small positive value used in the FGS or Astrometry intermediary telemetry files to identify individual telemetry parameters. In the intermediary files the eng_number value is used in place of the ccs_number value raw_flag C1 indicates if to use the raw or EU converted value of a telemetry parameter; "Y = only use raw value, N = use engineering value." change_only C1 indicates to use the value of a telemetry parameter only if the value had changed since its last occurrence; "Y = change-only item, N = all-points item."
This relation is used to identify the engineering telemetry parameters received from CCS that must be extracted from FOF files and packaged into the Save and Breathing files that get copied to the STScI Engineering Team. The FOF Pipeline SAVENG process uses this relation to determine what telemetry parameters are of interest and thus should be extracted from a given FOF file. Field name type/size description ---------- --------- ----------- save_type C6 identifies which destination file this parameter is output to; "ENG" = Save File, "BREATH" = Breathing file ccs_number I4 A positive value less than 64K defined by CCS for every unique telemetry parameter in the engineering warehouse. It is the Numeric ID described in the definition of FOF elements (see Appendix A of HST-ICD-T2) short_mnemonic C4 the short mnemonic for the telemetry parameter. It is always of the form of an uppercase character and a three digit number. The first character always matches the first character of the CCS mnemonic. Usually thie short mnemonic is the same as that used in shuttle software (called the MS_ID). raw_flag C1 indicates if to use the raw or EU converted value of a telemetry parameter; "Y" = only use raw value, "N" = use engineering value
This relation is used to specify the components of the average temperatures output to Breathing files produced by the EDPS FOF pipeline SAVENG process. The temperatures in the averages are weighted by a coefficient supplied in this table. The telemetry items are identified by their CCS number. The long and short names of these engineering telemetry temperatures can be found by joining to the save_telemetry table with save_type set to BREATH and matching ccs_number. The FOF Pipeline SAVENG process uses this relation to get temperature coefficients that are used in computing values output to Breathing files. Field name type/size description ---------- --------- ----------- temp_num I4 A numeric ID for the average temperature in a Breathing file. ccs_number I4 A positive value less than 64K defined by CCS for every unique telemetry parameter in the engineering warehouse. It is the Numeric ID described in the definition of FOF elements (see Appendix A of HST-ICD-T2) temp_coeff R8 The normalized coefficient used to weight the average for the telemetry parameter identified by the ccs_number. The average is the accumulation of the product of the telemetry temperature times the coefficient. temp_name C17 The name of the temperature average
SELECT * FROM product_eng_map WHERE eng_rootname = upperFofRootName (rootname of a particular FOF file) AND product_type = "FGS" OR product_type = "GSA"
SELECT * FROM eng_telemetry WHERE eng_type = "FGS"
SELECT * FROM product_eng_map WHERE eng_rootname = upperFofRootName (rootname of a particular FOF file) AND product_type = 'AST'
SELECT * FROM eng_telemetry WHERE eng_type = "AST"
SELECT * FROM save_telemetry WHERE save_type like "[BE]%" (if are generating both Save and Breathing files) "ENG" (if are only generating Save files) "BREATH" (if are only generating Breathing files)
for each of the 6 temperature groups: SELECT * FROM breathing_coeff WHERE temp_num = (1 to 6)