OpenEnergyPlatform / OpenEnergyPlatform/oeplatform
Oemetadata v2: Handling of multiple resources is not yet fully implemented
@jh-RLI is already working on this.
Since Mar 22, 2025.
- Dominant language
- Python
- Stars
- 65
- Forks
- 29
- Avg merge
- 15h 25m
- Merged PRs (30d)
- 32
Description
Description of the issue
THe oemetadata version 2 includes multiple resources to enable specific metadata for each resource. The metadata document itself now describes a dataset with 1 or more resources.
This requires the oemetabulder, the meta widget and all other functionality processing metadata documents to handle multiple resources. Some parts are not yet fully migrated to this new structure.
Ideas of solution
Update :
-
Tag/Keyword test only handles first resource
api/tests/test_regression/test_sync_tags_keywords_969.py -
Tag resource functionality also only handles first resource
https://github.com/OpenEnergyPlatform/oeplatform/blob/feature-1950-migrate-oemetadata-to-v2/api/views.py#L316 -
metaEditor also not yet fully supports the new structure (mostly see fix data functionality, prevents submitting metadata with multiple resources)
Additional:
- Handle date time formats (parse to required iso format)
Workflow checklist
- I am aware of the workflow in CONTRIBUTING.md
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.