Skip to content

Commit

Permalink
remove tests (now in mth5) for initialize_xrda_1d
Browse files Browse the repository at this point in the history
  • Loading branch information
kkappler committed Jan 11, 2025
1 parent 0166cc6 commit 1235919
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions aurora/time_series/xarray_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from typing import Optional, Union

from mth5.timeseries.xarray_helpers import covariance_xr
from mth5.timeseries.xarray_helpers import initialize_xrda_1d


def handle_nan(X, Y, RR, drop_dim=""):
Expand Down Expand Up @@ -97,7 +96,6 @@ def initialize_xrda_2d_cov(
):

"""
TODO: consider merging with initialize_xrda_1d
TODO: consider changing nomenclature from dims=["channel_1", "channel_2"],
to dims=["variable_1", "variable_2"], to be consistent with initialize_xrda_1d
Expand Down
7 changes: 0 additions & 7 deletions tests/time_series/test_xarray_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import xarray as xr

from aurora.time_series.xarray_helpers import covariance_xr
from aurora.time_series.xarray_helpers import initialize_xrda_1d
from aurora.time_series.xarray_helpers import initialize_xrda_2d_cov


Expand All @@ -26,12 +25,6 @@ def setUpClass(self):
def setUp(self):
pass

def test_initialize_xrda_1d(self):
dtype = float
value = -1
tmp = initialize_xrda_1d(self.standard_channel_names, dtype=dtype, value=value)
self.assertTrue((tmp.data == value).all())

def test_initialize_xrda_2d_cov(self):
dtype = float
value = -1
Expand Down

0 comments on commit 1235919

Please sign in to comment.