From b38b97b569d543c373b877e18867a967ac5a687e Mon Sep 17 00:00:00 2001 From: bikegeek Date: Tue, 19 Sep 2023 14:42:37 -0600 Subject: [PATCH] Issue #234 added necessary MCTC information --- METdbLoad/ush/constants.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/METdbLoad/ush/constants.py b/METdbLoad/ush/constants.py index b89e186..cbff7ea 100644 --- a/METdbLoad/ush/constants.py +++ b/METdbLoad/ush/constants.py @@ -291,6 +291,8 @@ FCST_VALID = 'fcst_valid' FCST_INIT = 'fcst_init' EC_VALUE = 'ec_value' +FI_OJ = 'fi_oj' +N_CAT = 'n_cat' INSTANCE_INFO = 'instance_info' INSTANCE_INFO_ID = 'instance_info_id' @@ -1228,6 +1230,7 @@ NUM_STAT_CTC_COLS = 31 NUM_STAT_SL1L2_COLS = 32 NUM_STAT_CTS_COLS = 122 +NUM_STAT_MCTC_COLS = 29 DESC = "desc" @@ -1334,6 +1337,12 @@ CTC_STATISTICS_HEADERS = [cur_stat_header.upper() for cur_stat_header in LC_STAT_CTC_SPECIFIC] CTC_HEADERS = LC_COMMON_STAT_HEADER + ['total'] + CTC_STATISTICS_HEADERS +##### MCTC Line type ###### +LC_STAT_MCTC_SPECIFIC = [N_CAT, FI_OJ, EC_VALUE] +MCTC_STATISTICS_HEADERS = [cur_stat_header.upper() for cur_stat_header in + LC_STAT_MCTC_SPECIFIC] +MCTC_HEADERS = LC_COMMON_STAT_HEADER + ['total'] + MCTC_STATISTICS_HEADERS + #### SL1L2 Line type #### @@ -1369,4 +1378,4 @@ CTS_STATS_ONLY = [BASER, FMEAN, 'acc', 'fbias', 'pody', 'podn', 'pofd', 'far', 'csi', 'gss', 'odds', 'lodds', 'orss', 'eds', 'sedi', 'bagss', 'hss_ec_bcu', 'edi', 'hk', 'seds', 'hss', 'hss_ec', EC_VALUE] CTS_STATS_ONLY_HEADERS = [cur_stat_header.upper() for cur_stat_header in CTS_STATS_ONLY] -CTS_HEADERS = LC_COMMON_STAT_HEADER + ['total'] + CTS_STATS_ONLY_HEADERS \ No newline at end of file +CTS_HEADERS = LC_COMMON_STAT_HEADER + ['total'] + CTS_STATS_ONLY_HEADERS