Skip to content

Commit

Permalink
Bug in apply kernel (#231)
Browse files Browse the repository at this point in the history
* bump submodule to include new process specs

* pre commit hooks

* fix hard coded spatial dimension reference

---------

Co-authored-by: sean <sean.hoyal@external.eodc.eu>
  • Loading branch information
SerRichard and sean authored Feb 26, 2024
1 parent 365ae22 commit 503d879
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def apply_kernel(
)

def convolve(data, kernel, mode="constant", cval=0, fill_value=0):
dims = ("y", "x")
dims = data.openeo.spatial_dims
convolved = lambda data: scipy.ndimage.convolve(
data, kernel, mode=mode, cval=cval
)
Expand Down
2 changes: 1 addition & 1 deletion openeo_processes_dask/specs/openeo-processes
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "openeo-processes-dask"
version = "2024.2.2"
version = "2024.2.3"
description = "Python implementations of many OpenEO processes, dask-friendly by default."
authors = ["Lukas Weidenholzer <lukas.weidenholzer@eodc.eu>", "Sean Hoyal <sean.hoyal@eodc.eu>", "Valentina Hutter <valentina.hutter@eodc.eu>"]
maintainers = ["EODC Staff <support@eodc.eu>"]
Expand Down

0 comments on commit 503d879

Please sign in to comment.