You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is misleading: none of the given examples (median, max, sd) can actually be used with apply_neighborhood: the former processes take an array as input and produce a scalar, while apply_neighborhood expects processes that receive a raster data cube and produce a new raster data cube.
I think the only pre-defined process that makes practical sense to pass to apply_neighborhood is run_udf at the moment
I propose to just remove the following from the cookbook
Pre-defined processes (median, max, sd etc.) can be applied to spatial, temporal or even spatio-temporal neighbourhoods with apply_neighborhood. Due to lack of implementation by back-ends, this is not covered at this point.
Note that the VITO backend does implement apply_neighborhood, so that second sentence also makes little sense to keep as-is.
The text was updated successfully, but these errors were encountered:
soxofaan
added a commit
to soxofaan/openeo.org
that referenced
this issue
Jan 10, 2024
Raised by @MartinSchobben at Open-EO/openeo-processes-dask#215 (comment)
(from: https://github.com/Open-EO/openeo.org/blame/10b68cee63b1dac17d8a4902a02f325563be6743/documentation/1.0/cookbook/README.md#L1198)
This is misleading: none of the given examples (median, max, sd) can actually be used with
apply_neighborhood
: the former processes take an array as input and produce a scalar, whileapply_neighborhood
expects processes that receive a raster data cube and produce a new raster data cube.I think the only pre-defined process that makes practical sense to pass to
apply_neighborhood
isrun_udf
at the momentI propose to just remove the following from the cookbook
Note that the VITO backend does implement
apply_neighborhood
, so that second sentence also makes little sense to keep as-is.The text was updated successfully, but these errors were encountered: