-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'nexus-upd' of https://github.com/iiasa/message-ix-models …
…into nexus-upd
- Loading branch information
Showing
97 changed files
with
713 additions
and
20 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# Reduce the number of merge conflicts | ||
doc/whatsnew.rst merge=union | ||
# Git LFS | ||
*.csv.gz filter=lfs diff=lfs merge=lfs -text | ||
*.xlsx filter=lfs diff=lfs merge=lfs -text | ||
*.zip filter=lfs diff=lfs merge=lfs -text |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
prune message_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.. currentmodule:: message_ix_models.model.snapshot | ||
|
||
Load MESSAGEix-GLOBIOM snapshots (:mod:`.model.snapshot`) | ||
********************************************************* | ||
|
||
This code allows to fetch *snapshots* containing completely parametrized MESSAGEix-GLOBIOM model instances, and load these into :class:`Scenarios <message_ix.Scenario>`. | ||
|
||
Usage | ||
===== | ||
|
||
From the command line, download data for a single snapshot:: | ||
|
||
$ mix-models snapshot fetch 0 | ||
|
||
…where :program:`0` is the ID of a snapshot; see :data:`.SNAPSHOTS`. | ||
|
||
In code, use :func:`.snapshot.load`: | ||
|
||
.. code-block:: python | ||
from message_ix import Scenario | ||
from message_ix_models.model import snapshot | ||
scenario = Scenario(...) | ||
snapshot.load(scenario, 0) | ||
.. note:: For snapshot 0, contrary to the `description of the Zenodo item <https://10.5281/zenodo.5793870>`__, the file cannot be loaded using :meth:`.Scenario.read_excel`. | ||
This limitation will be fixed in subsequent snapshots. | ||
|
||
Code reference | ||
============== | ||
|
||
.. automodule:: message_ix_models.model.snapshot | ||
:members: |
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
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
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
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
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
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
3 changes: 3 additions & 0 deletions
3
message_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/MERtoPPP.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...s/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/abs_cost_activity_soft_lo.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...s/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/abs_cost_activity_soft_up.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
message_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/aeei.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/bound_activity_lo.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/bound_activity_up.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
..._models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/bound_extraction_up.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...odels/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/bound_new_capacity_lo.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...odels/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/bound_new_capacity_up.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...els/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/bound_total_capacity_lo.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...els/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/bound_total_capacity_up.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...e_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/capacity_factor.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/construction_time.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
message_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/cost_MESSAGE.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
message_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/demand.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...ge_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/demand_MESSAGE.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
message_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/depr.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
message_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/drate.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...e_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/duration_period.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...age_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/duration_time.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...e_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/dynamic_land_up.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...e_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/emission_factor.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
message_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/esub.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
message_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/fix_cost.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...age_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/gdp_calibrate.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
message_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/grow.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...x_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/growth_activity_lo.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...x_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/growth_activity_up.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
..._models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/growth_land_scen_lo.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...ge_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/growth_land_up.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...dels/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/growth_new_capacity_lo.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...dels/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/growth_new_capacity_up.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
..._models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/historical_activity.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...odels/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/historical_extraction.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...ge_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/historical_gdp.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...e_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/historical_land.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...els/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/historical_new_capacity.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
..._models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/initial_activity_lo.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
..._models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/initial_activity_up.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...els/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/initial_new_capacity_lo.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
...els/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/initial_new_capacity_up.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
message_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/input.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
message_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/interestrate.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
message_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/inv_cost.csv.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
message_ix_models/data/test/MESSAGEix-GLOBIOM_1.1_R11_no-policy_baseline/kgdp.csv.gz
Git LFS file not shown
Oops, something went wrong.