Skip to content
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

Improve scmcoat to handle different emissions series lengths and start years #12

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

asarfraz1
Copy link

@asarfraz1 asarfraz1 commented Aug 3, 2023

Edits in definition of FairModel run and default time dimensions that allow different emissions time series lengths and start years to run successfully

argslength = args["F_solar"].shape[0] # assume solar, volc, natural have same time dim

# assuming solar/volc/nat have same start year as emiss
if argslength < nt:
Copy link
Owner

Choose a reason for hiding this comment

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

This logic is great. However, I think some logic needs to be added to handle different start years. Otherwise, natural emissions would be put into the wrong time slots, and there might be other issues.

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.

2 participants