Skip to content

Commit

Permalink
Adjust variable name to currently used name in message_ix branch (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
glatterf42 authored Sep 18, 2024
1 parent ae7b63f commit 4c9cf32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion message_ix_models/report/legacy/pp_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1865,7 +1865,9 @@ def _retr_crb_prc(ds, units):
"""

# Retrieve VAR - PRICE_EMISSION
var = "PRICE_EMISSION_NEW"
# TODO iiasa/message_ix#726 is reworking PRICE_EMISSION_NEW to become the new PRICE_EMISSION
# Adjust the name here according to what you're running on
var = "PRICE_EMISSION"
df = ds.var(var, {"type_tec": ["all"]})
if df.empty:
if var == "PRICE_EMISSION":
Expand Down

0 comments on commit 4c9cf32

Please sign in to comment.