From f6f0a9389a43c095ce5072d5b185950a16fded46 Mon Sep 17 00:00:00 2001 From: John Sharples Date: Tue, 26 Sep 2023 06:13:45 +0000 Subject: [PATCH] feature 2235 remove STORM_NAME ref from tc_pairs --- metplus/wrappers/tc_pairs_wrapper.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/metplus/wrappers/tc_pairs_wrapper.py b/metplus/wrappers/tc_pairs_wrapper.py index 5065fe0a4d..9848e2f248 100755 --- a/metplus/wrappers/tc_pairs_wrapper.py +++ b/metplus/wrappers/tc_pairs_wrapper.py @@ -577,7 +577,7 @@ class attributes basin_fmt = f"basin = {basin};" self.env_var_dict['METPLUS_BASIN'] = basin_fmt - + # CYCLONE cyclone = '[]' if self.c_dict.get('CYCLONE'): @@ -593,14 +593,6 @@ class attributes cyclone_fmt = f"cyclone = {cyclone};" self.env_var_dict['METPLUS_CYCLONE'] = cyclone_fmt - # STORM_NAME - storm_name = '[]' - if self.c_dict.get('STORM_NAME'): - storm_name = str(self.c_dict['STORM_NAME']).replace("'", '"') - - storm_name_fmt = f"storm_name = {storm_name};" - self.env_var_dict['METPLUS_STORM_NAME'] = storm_name_fmt - super().set_environment_variables(time_info) def process_data(self, basin, cyclone, time_info):