-
Notifications
You must be signed in to change notification settings - Fork 14
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
Migrate existing local scenarios to derived datasets #2319
Comments
@ChaelKruip I will do my best to track these down asap. I am curious as to how this 'migration' will work or what you mean by them. Please have a look at these question below.
|
The area code for those scenarios can hopefully be set to the local dataset; however, this might depend on how custom all these local scenario's have become. If there's a single 'best' 'Groningen' or a single 'best' 'Ameland' than that will be great.
Can be both set from inside etsource or through the
How do you mean exactly? |
Yes, they will! From a scenario's perspective a local/derived dataset is not different from a full dataset. Especially, it hast to be created in ETSource (at least for stage 0), i.e. there will not be too many of them and they will not automatically be created when a scenario is created. |
Thinks to keep in mind:
|
From @AlexanderWirtz: |
Talked to @ChaelKruip about making the older scaled scenarios (IABR, GEA, Ameland) independent of the |
My minor objection to creating an Long story short, would it be possible to come up with a more robust solution to maintaining older datasets on ETSource? Shooting from the hip I can imagine a structure like this:
Where only the latest dataset can be selected from the front-end and older datasets are there to support derived datasets that rely on these older datasets. What do you think, @ploh , @ChaelKruip , @antw ? |
If I can throw in my 2 cents. Can't we solve this with git tags? This will obviously take some changes for ETEngine. I.e. if you select a different start year for NL the correct The reason I'm suggesting this is because all the files for an So you'd have (much like you'd have now):
Except you can do a It might take some people a lesson in advanced git which is a downside to this approach. |
This sounds confusing to me. If the structure of the graph were to change, what would the workflow look like to update the NL2012 dataset? |
Good question. Isn't it now an issue that the graph 'does' change? If it should change than it's going to be annoying. Not impossible though, but annoying (checking out branch with tag, updating graph, moving tag.. ). In Joris's setup you don't have that problem. |
I quite like this, provided it is applied consistently to all datasets. i.e. the directory structure for datasets becomes:
In an ideal world, ETEngine's API would not differentiate between "nl" and "nl2012", but would instead take an area code an optional start/analysis year, and would map that to the correct dataset in the backend. |
I think no changes to the VBA scripts are required. On ETDataset, the very same directory structure already exists. The only thing that needs to be changed is the
Love it! All in favour of this. |
I have one question; what if for example the If that is the case than this sounds fine to me. 👍 |
This would never happen. As said before, we never update any data for old datasets ( |
Note to self:
|
@ploh what is the status here? |
Yesterday, I tried re-running my Gea trial-migration from last week - now that we have made the initializer inputs separate from the normal inputs. I ran into some trouble with non-existing init. inputs. I will try the same for a Paddepoel scenario next and see how hard it is to fix the potential problems there. |
Update: Even before trying to migrate user_values to init. inputs, I encountered problems when trying to base Paddepoel scenario 607984 on a new derived dataset (without ETE scenario scaling) instead of on |
Like I described in #2343 (comment), there are some issues that should probably be addressed before the Paddepoel migration is continued. @AlexanderWirtz @grdw @ChaelKruip Alternatively, you could just try to execute the migration rake task and inside of it tinker around with the user_values / init. inputs manually (as described in #2343 (comment)) until you think that the remaining gquery differences are small enough. I am handing this over to you, now. But I will gladly answer questions and explain my findings or the migration rake task in more detail. |
THis issue is now purely technical and has moved beyond its original scope. I cannot tell if it should remain open. unassigning myself |
@AlexanderWirtz can you identify and list the important local scenario's in this issue please?
@grdw @ploh please reserve some time in your project to migrate the relevant local scenario's to be based on their own datasets rather than rely on the national one.
The text was updated successfully, but these errors were encountered: