diff --git a/environment.yml b/environment.yml index e789843..71e2f76 100644 --- a/environment.yml +++ b/environment.yml @@ -2,7 +2,7 @@ name: hagelslag channels: - conda-forge dependencies: - - python<=3.10 + - python<=3.11 - numpy - scipy - s3fs @@ -22,7 +22,6 @@ dependencies: - arrow - cython - sphinx - - mock - dask - numba - jasper @@ -30,4 +29,5 @@ dependencies: - zarr - pyarrow - pip: + - sphinx-book-theme - . diff --git a/hagelslag/test/test_tracking.py b/hagelslag/test/test_tracking.py index c33e2a5..c03e95c 100644 --- a/hagelslag/test/test_tracking.py +++ b/hagelslag/test/test_tracking.py @@ -9,12 +9,7 @@ class TestTracking(unittest.TestCase): def setUp(self): - current_dir_files = os.listdir("/") - if "testdata" not in current_dir_files: - start_path = "../../" - else: - start_path = "/" - self.model_path = start_path + "testdata/spring2015_unidata/" + self.model_path = "testdata/spring2015_unidata/" self.ensemble_name = "SSEF" self.member ="wrf-s3cn_arw" self.run_date = datetime(2015, 6, 4) @@ -23,7 +18,7 @@ def setUp(self): self.end_hour = 24 self.start_date = self.run_date + timedelta(hours=self.start_hour) self.end_date = self.run_date + timedelta(hours=self.end_hour) - self.map_file = start_path + "mapfiles/ssef2015.map" + self.map_file = "mapfiles/ssef2015.map" self.model_grid = ModelOutput(self.ensemble_name, self.member, self.run_date, diff --git a/pyproject.toml b/pyproject.toml index 543b747..607252a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,9 @@ dependencies = [ "pygrib", "pyproj", "pyarrow", - "pyshp" + "pyshp", + "sphinx", + "sphinx-book-theme" ] classifiers = ["Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research",