Skip to content

Commit

Permalink
Error in solving merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
bdestombe committed Jul 27, 2023
1 parent b72d407 commit 26223aa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/dtscalibration/datastore_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,6 @@ def merge_double_ended_times(ds_fw, ds_bw, verify_timedeltas=True, verbose=True)

# throw out is dt differs from its neighbors
if verify_timedeltas:
dt = (ds_bw.isel(time=iuse_chbw).time.values - ds_fw.isel(time=iuse_chfw).time.values) /\
np.array(1000000000, dtype='timedelta64[ns]')
dt = (
(ds_bw.isel(time=iuse_chbw).time.values - ds_fw.isel(time=iuse_chfw).time.values) /
np.timedelta64(1, "s"))
Expand Down
2 changes: 0 additions & 2 deletions tests/test_datastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,8 +556,6 @@ def read_data_from_fp_numpy(fp):


def test_resample_datastore():
import xarray as xr

filepath = data_dir_single_ended
ds = read_silixa_files(
directory=filepath, timezone_netcdf='UTC', file_ext='*.xml')
Expand Down

0 comments on commit 26223aa

Please sign in to comment.