diff --git a/openeo_processes_dask/process_implementations/core.py b/openeo_processes_dask/process_implementations/core.py index cefaf919..e3fa7ce7 100644 --- a/openeo_processes_dask/process_implementations/core.py +++ b/openeo_processes_dask/process_implementations/core.py @@ -68,7 +68,7 @@ def wrapper( else: resolved_kwargs[k] = arg - special_args = ["axis", "keepdims", "source_transposed_axis"] + special_args = ["axis", "keepdims", "source_transposed_axis", "context"] # Remove 'axis' and keepdims parameter if not expected in function signature. for arg in special_args: if arg not in inspect.signature(f).parameters: diff --git a/openeo_processes_dask/process_implementations/cubes/apply.py b/openeo_processes_dask/process_implementations/cubes/apply.py index 381769f7..6737c1fe 100644 --- a/openeo_processes_dask/process_implementations/cubes/apply.py +++ b/openeo_processes_dask/process_implementations/cubes/apply.py @@ -67,6 +67,7 @@ def apply_dimension( "axis": reordered_data.get_axis_num(dimension), "keepdims": True, "source_transposed_axis": data.get_axis_num(dimension), + "context": context, }, exclude_dims={dimension}, ) diff --git a/pyproject.toml b/pyproject.toml index 44f8f150..8725d394 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "openeo-processes-dask" -version = "2023.11.5" +version = "2023.11.6" description = "Python implementations of many OpenEO processes, dask-friendly by default." authors = ["Lukas Weidenholzer ", "Sean Hoyal ", "Valentina Hutter "] maintainers = ["EODC Staff "]