Skip to content

Climate bugfix#47

Merged
kemccusker merged 4 commits intomainfrom
climate_bugfix
Sep 22, 2022
Merged

Climate bugfix#47
kemccusker merged 4 commits intomainfrom
climate_bugfix

Conversation

@JMGilbert
Copy link
Copy Markdown
Contributor

Include the bugfix to the changelog and the reason for the bugfix to the docstring.

@JMGilbert
Copy link
Copy Markdown
Contributor Author

I'm not entirely confident in my explanations here, so feedback would be greatly appreciated.

Copy link
Copy Markdown
Member

@brews brews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for turning this around @JMGilbert. It's small but this helps clarify things. I have very minor edits. I'm curious to see how @kemccusker would word that new docstr line. I'd wait for feedback from her before merging.

emission_scenarios: list or None, optional
List of emission scenarios for which SCC will be calculated. Default
is (), which gets set to ["ssp119", "ssp126", "ssp245", "ssp460", "ssp370", "ssp585"].
emission_scenarios should be None when rcp is not the source of emission scenarios and thus can't be selected.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JMGilbert Yeah, this one is tricky. What do you think, @kemccusker?

I came up with this. Not sure it's better:

Suggested change
emission_scenarios should be None when rcp is not the source of emission scenarios and thus can't be selected.
Use `None` when RCP emission scenarios are not part of climate projections,
such as with RFF projections.

Copy link
Copy Markdown
Member

@kemccusker kemccusker Sep 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JMGilbert @brews Thanks this is great. I think I'd update Brewster's suggestion a little bit to

Use `None` when RCP emission scenarios are not the climate projections,
        such as with RFF-SP projections.

Ultimately, I think we should probably label the RFF-SP projections too (as we do the ssp-rcps) so that we don't have to rely on None. For the RFF projections we run, I would use "RFF-SPv2". That would be a future update though.

JMGilbert and others added 2 commits September 22, 2022 10:51
Co-authored-by: Brewster Malevich <bmalevich@rhg.com>
@kemccusker kemccusker merged commit 0519a5f into main Sep 22, 2022
@kemccusker kemccusker deleted the climate_bugfix branch September 27, 2022 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants