diff --git a/cubed_xarray/cubedmanager.py b/cubed_xarray/cubedmanager.py index 1ecc0af..099ce89 100644 --- a/cubed_xarray/cubedmanager.py +++ b/cubed_xarray/cubedmanager.py @@ -86,7 +86,7 @@ def reduction( arr, func=func, combine_func=combine_func, - aggegrate_func=aggregate_func, # TODO fix the typo in argument name in cubed + aggregate_func=aggregate_func, axis=axis, dtype=dtype, keepdims=keepdims, @@ -104,11 +104,6 @@ def map_blocks( ): from cubed.core.ops import map_blocks - if drop_axis is None: - # TODO should fix this upstream in cubed to match dask - # see https://github.com/pydata/xarray/pull/7019#discussion_r1196729489 - drop_axis = [] - return map_blocks( func, *args, diff --git a/pyproject.toml b/pyproject.toml index 3cd6f73..ddc7ff6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ requires-python = ">=3.9" dependencies = [ "numpy >= 1.17", "xarray >= 2024.02.0", - "cubed >= 0.6.3", + "cubed >= 0.14.2", ] [project.urls] diff --git a/requirements.txt b/requirements.txt index 1a97624..afb50d1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -cubed>=0.6.0 +cubed>=0.14.2 numpy>=1.17.1 xarray>=2024.02.0 \ No newline at end of file