-
Notifications
You must be signed in to change notification settings - Fork 35
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
Transport improvements for 2024-W36 #225
Merged
Merged
Conversation
This file contains 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
khaeru
added
enh
New features or functionality
transport
MESSAGEix-Transport variant or transport in the base model
labels
Sep 5, 2024
khaeru
force-pushed
the
transport/2024-W36
branch
3 times, most recently
from
October 2, 2024 15:03
0280909
to
755138c
Compare
khaeru
force-pushed
the
transport/2024-W36
branch
from
October 3, 2024 08:47
755138c
to
ecd58ac
Compare
khaeru
force-pushed
the
transport/2024-W36
branch
2 times, most recently
from
November 5, 2024 14:32
e2c4833
to
2d28acb
Compare
khaeru
force-pushed
the
transport/2024-W36
branch
4 times, most recently
from
November 19, 2024 23:22
bbcce57
to
bf145a3
Compare
khaeru
added a commit
that referenced
this pull request
Nov 20, 2024
- Use standard collections, e.g. list[str] instead of typing.List[str]. - Import certain types from collections.abc, instead of deprecated aliases in typing. - Omit .model.transport, handled in #225.
khaeru
added a commit
that referenced
this pull request
Nov 20, 2024
- Use standard collections, e.g. list[str] instead of typing.List[str]. - Import certain types from collections.abc, instead of deprecated aliases in typing. - Omit .model.transport, handled in #225.
khaeru
added a commit
that referenced
this pull request
Nov 20, 2024
- Use standard collections, e.g. list[str] instead of typing.List[str]. - Import certain types from collections.abc, instead of deprecated aliases in typing. - Omit .model.transport, handled in #225.
khaeru
added a commit
that referenced
this pull request
Nov 20, 2024
- Use standard collections, e.g. list[str] instead of typing.List[str]. - Import certain types from collections.abc, instead of deprecated aliases in typing. - Omit .model.transport, handled in #225.
khaeru
force-pushed
the
transport/2024-W36
branch
2 times, most recently
from
November 20, 2024 18:22
24b599e
to
38bbcfa
Compare
khaeru
added a commit
that referenced
this pull request
Nov 21, 2024
- Use standard collections, e.g. list[str] instead of typing.List[str]. - Import certain types from collections.abc, instead of deprecated aliases in typing. - Omit .model.transport, handled in #225.
khaeru
force-pushed
the
transport/2024-W36
branch
4 times, most recently
from
November 27, 2024 11:32
a8ecba5
to
e83dc13
Compare
khaeru
force-pushed
the
transport/2024-W36
branch
2 times, most recently
from
November 29, 2024 13:36
5eaa074
to
98da0eb
Compare
- Ubuntu 22.04 → 24.04 (latest available via RTD) - Python 3.10 → 3.13 (latest) - Sphinx 6.2.1 → 8.1.3 (latest) - sphinx-rtd-theme 1.2.2 → 3.0.2 - sphinxcontrib-bibtex 2.5.0 → 2.6.3
- Global variable becomes an instance variable for .report.Config instances. This allows the use of different callbacks within the same program scope. - Retain same defaults. - Mark .report.register() function as deprecated. - Adjust all usage of register(). - Remove fixture preserve_report_callbacks (no longer needed) and all usage. - Adjust and add tests.
- Use left-to-right order. - Add debug code to only display the step(s) to the target key(s).
- Transform IEA 'COUNTRY' codes to MESSAGEix-GLOBIOM convention of ISO 3166-1 alpha-3. - Handle "..", "x", and "c" null values. - Add utility functions get_mapping(), dir_fallback(). - Update and expand tests.
…in .transport.base for scaling of outputs to match the base model.
Update the R12_NAM values to the values calculated based on US & Canada data and aligned with IEA-EWEB values for 2019. The earlier lower value was a result of aligning with 2020 IEA-EWEB data, that inadvertently imported the COVID dip.
Update R12_NAM mode share to avoid covid dip from iea-eweb 2020 values, rather align with 2019 values
- Allow the pytest.MarkDecorator to attach itself to the subject function. - Handle AssertionError by default. - Add raises=… parameter to allow specifying additional exception classes.
khaeru
added a commit
that referenced
this pull request
Dec 3, 2024
khaeru
force-pushed
the
transport/2024-W36
branch
from
December 3, 2024 11:39
3816930
to
a03767f
Compare
khaeru
added a commit
that referenced
this pull request
Dec 3, 2024
khaeru
force-pushed
the
transport/2024-W36
branch
from
December 3, 2024 13:02
a03767f
to
84ac564
Compare
Work around python/cpython#79721 on these versions.
Same work-around for pyam-iamc packaging issue as in .github/workflows/pytest.yaml; see #250.
khaeru
force-pushed
the
transport/2024-W36
branch
from
December 3, 2024 14:05
84ac564
to
42edfce
Compare
GamzeUnlu95
pushed a commit
that referenced
this pull request
Dec 4, 2024
GamzeUnlu95
pushed a commit
that referenced
this pull request
Dec 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enh
New features or functionality
p:SSP-2024
2024 SSP updates and ScenarioMIP
transport
MESSAGEix-Transport variant or transport in the base model
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.
Compute absolute emissions using:Postponed; next PRF RAIL
with two technologies.F ROAD
that consumescommodity=electr
.Housekeeping:
emission
code list.How to review
Run the command described here and confirm (a) it works and (b) the output is as desired.PR checklist