diff --git a/setup.py b/setup.py index 0a43cef7..6c544e6f 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ "joblib", "scipy", "psutil", - "pystac-client", + "pystac-client>=0.7.0", "pystac", "odc-stac", "pandas>=2", diff --git a/tests/test_zonalstats.py b/tests/test_zonalstats.py index 48c4cb4f..b361a7bd 100644 --- a/tests/test_zonalstats.py +++ b/tests/test_zonalstats.py @@ -1,6 +1,5 @@ import numpy as np import xarray as xr -import rioxarray as rxr import geopandas as gpd from shapely.geometry import Polygon import earthdaily @@ -44,7 +43,7 @@ def setUp(self, constant=np.random.randint(1, 12)): def test_basic(self): zonalstats = earthdaily.earthdatastore.cube_utils.zonal_stats( - self.datacube, self.gdf, method="numpy", reducers=["min", "max"], all_touched=False, label="label") + self.datacube, self.gdf, method="numpy", reducers=["min", "max"], all_touched=False) for operation in ["min", "max"]: self._check_results( zonalstats["first_var"].sel(zonal_statistics=operation).values, operation=operation