Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/oedatamodel v1.0.0 #4

Closed
wants to merge 17 commits into from
Closed

Conversation

jh-RLI
Copy link
Collaborator

@jh-RLI jh-RLI commented Aug 8, 2020

Initial oedatamodel release

@jh-RLI jh-RLI self-assigned this Aug 8, 2020
@jh-RLI jh-RLI requested review from Ludee, gnn and srhbrnds August 11, 2020 13:48
@jh-RLI jh-RLI linked an issue Aug 11, 2020 that may be closed by this pull request
Co-authored-by: Daniel Huppmann <dh@dergelbesalon.at>
@jh-RLI jh-RLI changed the title Release/oemetadata v1.0.0 Release/oedatamodel v1.0.0 Aug 12, 2020
"path": "https://creativecommons.org/publicdomain/zero/1.0/"} },
"_comment":
{"metadata": "Metadata documentation and explanation (https://github.com/OpenEnergyPlatform/organisation/wiki/metadata)",
"dates": "Dates and time must follow the ISO8601 including time zone (YYYY-MM-DD or YYYY-MM-DDThh:mm:ss±hh)",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest to also (explicitly) allow YYYY as valid timestamps.

Copy link
Collaborator Author

@jh-RLI jh-RLI Aug 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the remark. On the oep this concerns then the oemetadata, because there the metadata (and datapackage) string is developed. I can mention that there.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you just mention it in the oemetadata but leave this comment as is, this might lead to conflicting instructions.

Comment on lines 153 to 154
"_comment":
{"metadata": "Metadata documentation and explanation (https://github.com/OpenEnergyPlatform/organisation/wiki/metadata)",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"_comment":
{"metadata": "Metadata documentation and explanation (https://github.com/OpenEnergyPlatform/organisation/wiki/metadata)",
"_comment":
{"metadata": "Metadata documentation and explanation (https://github.com/OpenEnergyPlatform/organisation/wiki/metadata)",
"source": "Reference data source or model (modelling framework including version number) used to generate results",

Copy link
Collaborator Author

@jh-RLI jh-RLI Aug 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have already introduced a source key in the oemetadata format. There, used datasets can be referenced. In a new oemetadata release we could introduce further subkeys for e.g. modeling-framework and mf_version to reference frameworks there. I will create an issue for this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link to the source key would not have answered my question about "where do I put the model identifier?" even if I would have had the link.

The key question is how make it as easy to understand/find for an average/novice user... And from reviewing the PR, this seemed the best place to put a clarification.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, my comment was meant to be a solution suggestion. IMO currently model framework references are not directly supported in the oemetadata, without a deeper understanding of the oemetadata format. I agree with you that in order to avoid confusion, it is important that the fields are clearly defined/named and extra description must be offered to ensure better usability. I will mention this in the Issue.

Copy link
Member

@Ludee Ludee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add examples for both data model versions and rename them.
Both versions are readable, but the one is (more) normalized:
OEDataModel-datapackage
OEDataModel-datapackage-normalization

I'm not sure to which degree this conforms!?
Perhaps add a reference in the readme to the Wikipedia page: https://en.wikipedia.org/wiki/Database_normalization#Example_of_a_step_by_step_normalization

@jh-RLI jh-RLI closed this Aug 25, 2020
@jh-RLI jh-RLI deleted the release/oemetadata-v1.0.0 branch August 25, 2020 18:38
@jh-RLI jh-RLI mentioned this pull request Aug 25, 2020
jh-RLI added a commit that referenced this pull request Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants