-
Notifications
You must be signed in to change notification settings - Fork 11
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
Global only #15
Global only #15
Conversation
ok @jkikstra I think this will do us for now. I've added a switch in the run control config block which states that only global trajectories will be harmonized (see e.g. https://github.com/iiasa/aneris/pull/15/files#diff-17d29a834d22c5ba2cad7b562a2df072) This will do two things:
Please test it out and if it fits your needs and passes CI, then feel free to merge (I gave you write permissions here). I think in the future we will want more detail in the configuration, but this should get us over the first hurdle here. |
NOTE I have not tested this with a sectoral breakdown. Would you like to add that as another test here following the pattern I started in this PR? |
@gidden I went through the changes and quickly tested it to flag some stuff before I have time to write the test.
|
@jkikstra the test I implemented should be extendable to at least all non-CO2 gases in the AR6 use case. Is the issue you're seeing related to CO2? On the multiple entries, I don't see this in the test output here I can really only implement things at night for the moment, so if you can write tests that fail, I can try to develop patches for them or identify how to avoid the behavior. |
Hey @jkikstra, would you mind opening new PRs with the tests that are expected to fail? Apologies, should have been more clear on that. |
* add test: global-sector (one gas) * remove extraneous, update with overrides
hey @jkikstra so this takes care of two cases, but unfortunately, we have the final one, which is a combination (multiple co2 global sectors, all other global totals). This unfortunately does not work out of the box and I need to think of the best way to approach it. |
Hey @jkikstra, when you have time before the end of the week, could you please make a PR with additional test cases into this branch? I will work on this either on Friday on the weekend - I'm basically booked until then. All tests can be very simple with a single historical year (e.g., 2005) and two model years (e.g., 2005/2010). Test 1: a mock of what we need for the pipeline prototype
Test 2: on the way to future needs
Test 3: full potential functionality for AR6
Let's chat to clarify as needed. Hopefully, we'll be done with code updates after this =) |
just for reference, this point should be addressed by PR #17 @gidden On your question on writing there 3 minimal tests: yes, I will make sure to put out a pull request with these three before Friday. |
Sounds good. I will go ahead and merge this PR so it doesn't get too large. Please open the new PRs into |
This is a branch to test and fix the issue with global-only trajectories