Repository navigation
Pretty _repr_html_ of cube dimension metadata - #955
Conversation
c24bb72 to
fbbf322
Compare
_repr_html_ of cube dimension metadata _repr_html_ of cube dimension metadata
There was a problem hiding this comment.
🟡 Changes recommended
Temporal extent handling and HTML rendering contain runtime failures for supported metadata and open-ended intervals.
7 open findings
Allow metadata without a temporal dimension · New Coerce dimension types before HTML escaping · New Import dateutil.parser explicitly · New Add tests for interval conversion and intersection · New Allow None in temporal extent annotations · New Define stable representation for non-concrete extents · New Add VectorCube HTML representation tests · New
What changed in this PR
Adds richer Jupyter rendering for cube metadata, addressing #827, while tracking temporal extents through filtering operations.
Changes:
- Adds HTML dimension tables to raster and vector cube representations.
- Introduces temporal interval intersection and extent markers.
- Adds rendering tests and a changelog entry.
| File | Description |
|---|---|
CHANGELOG.md |
Documents the Jupyter representation. |
openeo/dates.py |
Adds datetime migration note. |
openeo/metadata/__init__.py |
Adds rendering and temporal filtering. |
openeo/metadata/_extents.py |
Defines special extent markers. |
openeo/metadata/_jupyter.py |
Renders dimension metadata tables. |
openeo/rest/_datacube.py |
Names process-graph HTML output. |
openeo/rest/datacube.py |
Combines metadata and graph rendering. |
openeo/rest/vectorcube.py |
Adds metadata rendering to vector cubes. |
openeo/util.py |
Adds datetime migration notes. |
openeo/utils/datetime.py |
Implements datetime intervals. |
tests/metadata/test_jupyter.py |
Tests table rendering. |
tests/metadata/test_metadata.py |
Tests metadata HTML output. |
tests/rest/datacube/test_datacube.py |
Tests cube HTML composition. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
54f4316 to
9b9f13f
Compare
281ce2b to
a2ab17a
Compare
3934dab to
e288323
Compare
|
I think this PR is ready as MVP for #827 (did enough of iterating together with copilot) |
|
|
@copilot can you collect and make an overview of all the "TODO" comments added/updated or handled in this PR? |
I reviewed the PR diff and grouped its TODOs below. Outstanding TODOs added/clarified by this work
TODOs removed/handled
Moved rather than new work
|
|
wanting to merge this PR, but maybe best to first create a release of current master |
…cubes with z dimension' Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>






for #827