Add script to generate flat10-cdr CO2 emissions#130
Open
blimlim wants to merge 3 commits into
Open
Conversation
c6c1dab to
8ed4b10
Compare
Collaborator
Author
|
@penguian, @MartinDix if you are happy to take a look at this, that would be much appreciated! @penguian once the review process is finished, it would be great to discuss how this can be added to the suite. |
penguian
reviewed
May 19, 2026
penguian
left a comment
Collaborator
There was a problem hiding this comment.
Looks good, other than for one comment about PG10_C.
Collaborator
Author
|
As expected, difference against the ESM1.5 file are similar after the rounding change in f745597:
|
Collaborator
Author
|
@penguian, I'm thinking a task which looks something like: could work for adding this to the suite. The values for the variables would be: ESM_F10CDR_YEAR_START = 301 |
19 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Closes #129
This PR adds a script to generate the CO2 emissions ancillary for the CMIP7 esm-flat10-cdr experiment.
The added arguments for running the script are:
--year-start: The year to start the ancillary file at. The linear decline in CO2 emissions will start immediately from this point. This should be set to match the year in theflat10restart file that will be used (currently 301).--nyear-zero: Number of years of zero emissions to add at the end. A minimum of 20 years is required, however the experiments could be run for longer. Perhaps 200 years would be suitable.A test file produced with the script is available at
/g/data/tm70/sw6175/development/CMIP7-Input/CMIP7/esm1p6/atmosphere/modern/flat10-cdr/atmosphere/forcing/global.N96/2026.05.13/test_CO2.The following compares the CO2 emissions in this test file with the ESM1.5 file mentioned in #129.

To test it with the model, I've run several 1 month simulations starting from different years of the
esm-flat10experiment (or thepreindustrial+emissionsexperiment for the higher start years). The following compares the CO2 emissions in the output from these runs with the emissions in the above test ancillary file: