Skip to content

Commit

Permalink
Issue #234 added necessary MCTC information
Browse files Browse the repository at this point in the history
  • Loading branch information
bikegeek committed Sep 19, 2023
1 parent 8e1bdac commit b38b97b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion METdbLoad/ush/constants.py
Expand Up @@ -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'
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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 ####

Expand Down Expand Up @@ -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
CTS_HEADERS = LC_COMMON_STAT_HEADER + ['total'] + CTS_STATS_ONLY_HEADERS

0 comments on commit b38b97b

Please sign in to comment.