Open macflo8 opened 1 week ago
To add some more detail from our Slack conversation:
commodity
codes with level="useful"
include ‘extra’ codes (in this case, "non-comm") that do not have corresponding MACRO sector
codes.PRICE_EMISSION
corresponding to those ‘extra’ commodities to be retained, when they should instead be dropped.commodity
; this appears to work.To resolve the issue, we:
Code sample or context
Trying to add and calibrate MACRO with an existing MESSAGEix-GLOBIOM scenario without exogenous input for
price_ref
,demand_ref
andcost_ref
:Expected result
Execution of the above code without errors.
Problem description
Versions
Output of message-ix show-versions
``` ixmp: 3.8.1.dev3+g8a2aa91 8a2aa91 (HEAD -> main, origin/main, origin/HEAD) Update minimum version of genno (#514) message_ix: 3.8.1.dev2+g693f227.d20240122 693f227 (HEAD -> main) Update minimum version of genno (#783) message_ix_models: 2023.11.25.dev20+gaf092b1c.d20240122 ea92d38a (HEAD -> fix/materials-W23, origin/fix/materials-W23) Add macro calibration CLI function message_data: 2020.6.21.dev2788+gc6da04d1 7a24436bf (HEAD -> materials_2023_move2, origin/materials_2023_move2) Reorder material imports click: 8.1.7 dask: 2024.4.1 genno: installed graphviz: 0.20.1 jpype: 1.5.0 … JVM path: C:\Users\maczek\Anaconda3\envs\message_env\Library\bin\server\jvm.dll openpyxl: 3.1.2 pandas: 2.1.4 pint: 0.23 xarray: 2024.1.0 yaml: 6.0.1 iam_units: installed jupyter: 1.0.0 matplotlib: 3.7.0 plotnine: 0.12.4 pyam: 2.2.0 GAMS: 38.3.0 python: 3.11.7 | packaged by Anaconda, Inc. | (main, Dec 15 2023, 18:05:47) [MSC v.1916 64 bit (AMD64)] python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder: little LC_ALL: None LANG: None LOCALE: ('English_United States', '1252') ```