-
Notifications
You must be signed in to change notification settings - Fork 3
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
Develop a general scenario data format #1
Comments
First version contains: scalar.csv |
A first test with the time series data shows that the data size blows up due to repeating values. |
(Edit update: singular of timeseries is timeseries) |
IMO it looks good, but I think that we are not quite aiming for a correct relational data model with this. As far as I know, there are cases where a scalar has several scenarios/regions/years. This would violate the atomic values, or if several columns are added, redundancies would occur (normalized data). scalar problem case 1:
case 2:
As far as I understand we can solve this by adding a new relation and foreign key´s. An easy way to identify a practical data model is to model the relations (1:1 ; 1:n ; m:n) in the ERM as seen below but I'm not quite sure how to group the year and region since it's not clear to me if they belong to the scenario. Otherwise, we need even more relations for those two. FYI: https://stackoverflow.com/a/7296873/10489845 What do you think about this? @Ludee Otherwise, we could stick with the current approach and review this after receiving some practical feedback. |
That's a good thought. Keep in mind this is not only for the database. The solution must be valid for the OEP and a datapackage (CSV). |
We just decided to create a new OEP repo called oedatamodel (oedm) to develop and publish a data model template. |
There is a data format from the MODEX project FlexMex which is used in open_MODEX and SzenarienDB.
Discuss and develop a common datapackage format for scenario data.
Existing ideas:
The text was updated successfully, but these errors were encountered: