Skip to content

Commit

Permalink
feature 2235 remove STORM_NAME ref from tc_pairs
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Sharples committed Sep 26, 2023
1 parent 28686f7 commit f6f0a93
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions metplus/wrappers/tc_pairs_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand All @@ -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):
Expand Down

0 comments on commit f6f0a93

Please sign in to comment.