Open-EO / openeo-geotrellis-extensions

Java/Scala extensions for Geotrellis, for use with OpenEO GeoPySpark backend.
Apache License 2.0
5 stars 3 forks source link

aggregate_temporal_period: Band count must be greater than 0 #217

Closed EmileSonneveld closed 9 months ago

EmileSonneveld commented 10 months ago

Running aggregate_temporal_period on a datacube that contains a whole month without data can trigger an error. In this case, a filter_spatial should come after the aggregate node to trigger the error. Reproduced on openeo-dev.vito.be and openeo.cloud. I would expect it to generate tiles with nodata instead of throwing an error.

Example in this attachment. Change the temporal_extent to enable or disable the error: aggregate_temporal_period.py.txt

EmileSonneveld commented 10 months ago

This could be related to https://github.com/Open-EO/openeo-geotrellis-extensions/issues/201

EmileSonneveld commented 9 months ago

Indeed fixed by https://github.com/Open-EO/openeo-geotrellis-extensions/issues/201