Skip to content

Commit 06164bf

Browse files
committed
Update log info for nexus and cooling functions
1 parent ce5ec04 commit 06164bf

File tree

1 file changed

+10
-1
lines changed
  • message_ix_models/model/water

1 file changed

+10
-1
lines changed

message_ix_models/model/water/cli.py

+10-1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def water_ini(context: "Context", regions, time):
120120
help="Defines whether the model solves with macro",
121121
)
122122
@common_params("regions")
123+
@scenario_param("--ssp")
123124
def nexus_cli(context: "Context", regions, rcps, sdgs, rels, macro=False):
124125
"""
125126
Add basin structure connected to the energy sector and
@@ -157,7 +158,10 @@ def nexus(context: "Context", regions, rcps, sdgs, rels, macro=False):
157158
context.SDG = sdgs
158159
context.REL = rels
159160

160-
log.info(f"RCP assumption is {context.RCP}. SDG is {context.SDG}")
161+
log.info(
162+
f"SSP assumption is {context.ssp}. SDG is {context.SDG}. "
163+
f"RCP is {context.RCP}. REL is {context.REL}."
164+
)
161165

162166
from .build import main as build
163167

@@ -247,6 +251,11 @@ def cooling(context, regions, rcps, rels):
247251
context.RCP = rcps
248252
context.REL = rels
249253

254+
log.info(
255+
f"SSP assumption is {context.ssp}. "
256+
f"RCP is {context.RCP}. REL is {context.REL}."
257+
)
258+
250259
from .build import main as build
251260

252261
# Determine the output scenario name based on the --url CLI option. If the

0 commit comments

Comments
 (0)