diff --git a/java/edu/ucar/metviewer/MVUtil.java b/java/edu/ucar/metviewer/MVUtil.java index 32e5de52..7d35d399 100644 --- a/java/edu/ucar/metviewer/MVUtil.java +++ b/java/edu/ucar/metviewer/MVUtil.java @@ -695,6 +695,7 @@ public class MVUtil { statsMcts.put("MCTS_HK", new String[]{"bc"}); statsMcts.put("MCTS_HSS", new String[]{"bc"}); statsMcts.put("MCTS_GER", new String[]{"bc"}); + statsMcts.put("MCTS_HSS_EC", new String[]{"bc"}); //statsMcts.put("MCTS_TOTAL", new String[]{MCTC}); } diff --git a/java/edu/ucar/metviewer/db/mysql/MysqlAppDatabaseManager.java b/java/edu/ucar/metviewer/db/mysql/MysqlAppDatabaseManager.java index c27efa0a..fc58e195 100644 --- a/java/edu/ucar/metviewer/db/mysql/MysqlAppDatabaseManager.java +++ b/java/edu/ucar/metviewer/db/mysql/MysqlAppDatabaseManager.java @@ -1541,9 +1541,14 @@ public List buildPlotSql( statField = strStat.replace("PSTD_", "").toLowerCase(); } else if (MVUtil.statsMcts.containsKey(strStat)) { tableStats = MVUtil.statsMcts; - MVUtil.isAggTypeValid(MVUtil.statsMcts, strStat, aggType); - statTable = "line_data_mcts ld\n"; - statField = strStat.replace("MCTS_", "").toLowerCase(); + if (aggType != null) { + //TODO implement agg logic + //statTable = "line_data_mctc ld"; + //MVUtil.isAggTypeValid(MVUtil.statsMctc, strStat, aggType); + }else{ + statTable = "line_data_mcts ld\n"; + statField = strStat.replace("MCTS_", "").toLowerCase(); + } } else if (MVUtil.statsRhist.containsKey(strStat)) { tableStats = MVUtil.statsRhist; statTable = "line_data_rhist ld\n";