From 97f92ef16e723f5368f02e034739ad9e8e7c7a22 Mon Sep 17 00:00:00 2001 From: Bas des Tombe Date: Thu, 27 Jul 2023 20:24:30 +0200 Subject: [PATCH] removed final bits of get_time_dim --- src/dtscalibration/calibrate_utils.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/dtscalibration/calibrate_utils.py b/src/dtscalibration/calibrate_utils.py index 377935f9..85b3ef14 100644 --- a/src/dtscalibration/calibrate_utils.py +++ b/src/dtscalibration/calibrate_utils.py @@ -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]) @@ -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)