Housekeeping Telemetry Time Averaging

The Housekeeping Telemetry Time Averaging is calculated from level 0 housekeeping day file data. The mean, maximum, minimum, and standard deviation are calculated. An instruction file is created to specify range of time, keywords, output drms series name, author, and owner.

Create Instruction file

The basic format of the instruction file is shown below.

##########  Template Instruction File Format  ##################
###comments can be added after # at beginning of line
TemplateName:<name of template file. Use for filename seriesname.template>
SeriesName:<name of dataseries to create or use>
Description:<description of series in quotes>
Author:<name in quotes>
Owner:<name in quotes>
Interval:<in seconds only>
keyword:<apid in decimal format>,<long keyword name>,<user created character name-not restricted size>
.
.
.
keyword:<apid in decimal format>,<long keyword name>,<user created character name-not restricted size>

An example instruction file is shown below.

#Example 1 using apid 18 temperature values using users created names for short keyword name
TemplateName:hmi.temp_summary_usernames.template
Description:"Temperature Statistics using usernames from HMI Housekeeping - Thermal/PS voltage packet"
interval:600
keyword:18, HMI_TS19_OPT_INSIDE_FRONT,  HTS19_INSIDE_FRONT
keyword:18, HMI_TS21_OPT_NEAR_CEB_INT,  HTS21_NEAR_CEB
keyword:18, HMI_TS15_OVN_PREAMP,        HTS15_OVEN_PREAMP
#End Example 1 

Create Maxium, Minimum, Mean and Standard Deviation JSD file

The create mean, maximum, minimum, and standard deviation jsd(cm3sd_jsd.pl) script is use to create the output drms series in DRMS using each keywords in the instruction file to create a keyword with a MAX, MIN, MEAN, and SD suffix that is a float. The time interval or range is use to create step in the slotted drms series. The author and owner are used to create the corresponding values in output drms series. This script does attempt to locate errors in instruction file and displays error messages.

Load Maxium, Minimum, Mean and Standard Deviation in DRMS Data Series

The load mean, maximum, minimum, and standard deviation executable(load_m3sd) is use to get keyword data from housekeeping day file and calculate values based on time interval and keywords specified in instruction file.