From c5ea16efa9701bc17d29b2b8dbbd4c1d03464170 Mon Sep 17 00:00:00 2001 From: Molly Smith Date: Tue, 14 May 2024 12:48:13 -0600 Subject: [PATCH] metadata update --- .../createMetaData/mysql/metexpress/MEmetadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/matsMetaDataForApps/createMetaData/mysql/metexpress/MEmetadata.py b/scripts/matsMetaDataForApps/createMetaData/mysql/metexpress/MEmetadata.py index 53fe2a754..c3166ddbb 100755 --- a/scripts/matsMetaDataForApps/createMetaData/mysql/metexpress/MEmetadata.py +++ b/scripts/matsMetaDataForApps/createMetaData/mysql/metexpress/MEmetadata.py @@ -550,7 +550,7 @@ def build_stats_object(self): "' and fcst_var = '" + fvar + \ "' order by stat_header_id)" + \ app_specific_clause + \ - " group by model, fcst_var, fcst_thresh) as stat_header_id order by length(stat_header_id) limit 1;" + " group by model, fcst_var, vx_mask) as stat_header_id order by length(stat_header_id) desc limit 1;" if debug: print(self.script_name + " - Getting get_stat_header_ids lens for model " + model + " and variable " + fvar + " sql: " + get_stat_header_ids) try: