-
Notifications
You must be signed in to change notification settings - Fork 65
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
add oxidised methane to total CO2, rather than the atmospheric boxes #95
Conversation
Could this be because |
Codecov Report
@@ Coverage Diff @@
## master #95 +/- ##
=======================================
Coverage 95.41% 95.41%
=======================================
Files 41 41
Lines 1744 1744
=======================================
Hits 1664 1664
Misses 80 80
Continue to review full report at Codecov.
|
This is actually how we first came across the oxidised CO2 issue. Tests comparing the Julia and Python results wouldn't pass when |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reading the comments, is it worth adding a test with the oxidisation fraction being non-zero?
Yep, leave it with me. I think the default is zero because we need some more scenario information on the CH4 fossil to total split which not all scenarios give. I remember the effect being quite small, will do some diagnostics. |
So to summarise, this was an error, and yes 4x the intended amount of methane was being added to the atmospheric CO2. The impacts were small, which is probably why it went un-noticed, and you had to explicitly set a non-zero methane fraction in order to get this issue occurring. |
@chrisroadmap Just wanted to double check, do the units also need to be adjusted now that the oxidised CH4 is being added to CO2 emissions rather than the carbon pools? The terms |
Also in the |
Yes, I think so.
The loop runs from 1, so it picks up emissions starting from year 0. |
As you can see it's a bit of a second order effect and causing a few headaches - we'll either reform or remove it in fair 2.0 |
hmm, this doesn't seem to play nice with the recently added restart branch. One for the future. |
too late now but I probably would have done this before the restarts... |
Will close the PR now because methane oxidation is one of those hangover issues - but it will be addressed in a future v2.x |
Pull request
addresses #93
Documentation added (where applicable)N/A as fixCHANGELOG.rst
added