Skip to content

Commit

Permalink
removed final bits of get_time_dim
Browse files Browse the repository at this point in the history
  • Loading branch information
bdestombe committed Jul 27, 2023
1 parent 544d61f commit 97f92ef
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/dtscalibration/calibrate_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,6 @@ def calibration_double_ended_solver( # noqa: MC0001
# put E outside of reference section in solution
# concatenating makes a copy of the data instead of using a pointer
ds_sub = ds[['st', 'ast', 'rst', 'rast', 'trans_att']]
'time' = ds_sub.get_time_dim()
ds_sub['df'] = (('time',), p_sol[1:1 + nt])
ds_sub['df_var'] = (('time',), p_var[1:1 + nt])
ds_sub['db'] = (('time',), p_sol[1 + nt:1 + 2 * nt])
Expand Down Expand Up @@ -1238,8 +1237,6 @@ def calc_alpha_double(
assert ix_alpha_is_zero >= 0, 'Define ix_alpha_is_zero' + \
str(ix_alpha_is_zero)

'time' = ds.get_time_dim()

if st_var is not None:
if callable(st_var):
st_var_val = st_var(ds.st)
Expand Down

0 comments on commit 97f92ef

Please sign in to comment.