As per title, how to count the number of images in time intervals?
I am currently trying:
from openeo.processes import count
count_dc: DataCube = dc \
.aggregate_temporal(
intervals=t_intervals,
reducer=lambda data: count(data),
labels=[t_int[0] for t_int in t_intervals]
)
Where I get:
[500] Internal: Failed to process synchronously on backend vito: OpenEoApiError(โ[400] unknown: Unsupported operation: count (arguments: [data])โ)
Strangely this does work with openeo.processes.quantiles. Also tried using the process as a string (e.g. โcountโ) but no results as of yet.
The vito backend indeed does not yet support count inside a reducer.
A workaround would be setting all values to 1 and using sum, but Iโm also happy to add an implementation for this, should not be too difficult.
I guess supporting it is the best option, any indication on priority/urgency?