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
{{ message }}
Repository navigation
Further decouple CubeMetadata from CollectionMetadata, and properly apply spatio-temporal filtering #949
PR #541 (for issue #464) introduced CubeMetadata as a less confusing alternative to CollectionMetadata, to focus on the concrete metadata of a cube, instead of overall metadata of a whole collection.
But we're not there yet: CollectionMetadata is still too sticky/dominant.
While cube is a tiny slice of the whole SENTINEL2_L2A data set, cube.metadata still point directly to SENTINEL2_L2A metadata, e.g. visualizing cube.metadata will show the full metadata of SENTINEL2_L2A: all bands, whole world, whole time converage.
Band handling works better however: cube.metadata.band_dimension.band_names shows just the selected band ['B03'], but the default visualization of the whole metadata object will show all bands
Next steps: further decouple CubeMetadata and CollectionMetadata
at least: load_collection and load_stac should zone in on CubeMetadata as soon as possible, instead of confusingly still attaching CollectionMetadata
possible/necessary to eliminate the inheritance relation (class CollectionMetadata(CubeMetadata))?
to be investigated how easy this signature can be updated in this context without breaking existing UDF handling
the UDF detection logic in openeo-geopyspark only looks at function name apply_metadata and ignores the exact argument signatures, so it's safe to change the signature here
changed the title [-]Further decouple CubeMetadata from CollectionMetadata[/-][+]Further decouple CubeMetadata from CollectionMetadata, and properly apply spatio-temporal filtering[/+]on Oct 7, 2026
Activity
soxofaan commentedon Oct 5, 2026
problem: the
apply_metadataUDF signature is defined in terms ofCollectionMetadatainstead ofCubeMetadata(which would be more correct):openeo-python-client/openeo/udf/udf_signatures.py
Line 82 in 71bf07a
to be investigated how easy this signature can be updated in this context without breaking existing UDF handling
Make openeo.metadata a subpackage
soxofaan commentedon Oct 6, 2026
the UDF detection logic in openeo-geopyspark only looks at function name
apply_metadataand ignores the exact argument signatures, so it's safe to change the signature herefixup! Issue #949 promote CubeMetadata usage
[-]Further decouple CubeMetadata from CollectionMetadata[/-][+]Further decouple CubeMetadata from CollectionMetadata, and properly apply spatio-temporal filtering[/+]Issue #949 promote CubeMetadata usage
Issue #949 promote CubeMetadata usage
soxofaan commentedon Oct 8, 2026
Already handled that with 43d53d6
WIP attempt to shoehorn filter_temporal in TermporalDimension
WIP attempt to shoehorn filter_temporal in TermporalDimension
Handle filter_temporal in CubeMetadata down to TermporalDimension
Handle filter_temporal in CubeMetadata down to TermporalDimension
Handle filter_temporal in CubeMetadata, down to TermporalDimension
Handle filter_temporal in CubeMetadata, down to TermporalDimension
Reorganise test_metadata.py
9 remaining items
Reorganise test_metadata.py
Basic handling of filter_bbox in CubeMetadata, down to SpatialDimension
Exclude antimeridian handling from metadata filter_bbox for now
Handle filter_temporal in CubeMetadata, down to TemporalDimension
Reorganise test_metadata.py
Basic handling of filter_bbox in CubeMetadata, down to SpatialDimension
Exclude antimeridian handling from metadata filter_bbox for now
Handle filter_temporal in CubeMetadata, down to TemporalDimension
Reorganise test_metadata.py
Basic handling of filter_bbox in CubeMetadata, down to SpatialDimension
Exclude antimeridian handling from metadata filter_bbox for now
Basic handling of filter_bbox in CubeMetadata, down to SpatialDimension
Exclude antimeridian handling from metadata filter_bbox for now
Basic handling of filter_bbox in CubeMetadata, down to SpatialDimension
Exclude antimeridian handling from metadata filter_bbox for now