Skip to content

Commit 54d964a

Browse files
authored
Update polaris/tasks/ocean/customizable_viz/viz_horiz_field.py
fixup rebase
1 parent a1e2145 commit 54d964a

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

polaris/tasks/ocean/customizable_viz/viz_horiz_field.py

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -76,32 +76,6 @@ def run(self): # noqa:C901
7676
)
7777

7878
ds = self.open_model_dataset(self.input_file, decode_timedelta=False)
79-
<<<<<<< HEAD
80-
=======
81-
prefix = ''
82-
if 'timeSeriesStatsMonthly' in self.input_file:
83-
prefix = 'timeMonthly_avg_'
84-
time_variable = 'xtime_startMonthly'
85-
has_time_variable = True
86-
elif 'xtime' in ds.keys():
87-
time_variable = 'xtime'
88-
has_time_variable = True
89-
elif 'Time' in ds.keys():
90-
prefix = 'timeMonthly_avg_'
91-
time_variable = 'Time'
92-
has_time_variable = True
93-
else:
94-
has_time_variable = False
95-
t_index = 0
96-
time_stamp = ''
97-
if has_time_variable:
98-
start_time = ds[time_variable].values[t_index]
99-
# if 'Time' not in ds.keys():
100-
start_time = start_time.decode()
101-
time_stamp = f'_{start_time.split("_")[0]}'
102-
# else:
103-
# time_stamp = start_time.strftime('%Y-%m-%d')
104-
>>>>>>> 3efd879aa1 (fixup cell masking)
10579

10680
if 'Time' in ds.sizes:
10781
t_index = 0

0 commit comments

Comments
 (0)