File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
polaris/tasks/ocean/customizable_viz Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff 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- > >> >> >> 3 efd879aa1 (fixup cell masking )
10579
10680 if 'Time' in ds .sizes :
10781 t_index = 0
You can’t perform that action at this time.
0 commit comments