From 495ba05fcf9d6b6a0b156eaf7ba6062ec9eb46eb Mon Sep 17 00:00:00 2001 From: FRICKO Oliver Date: Fri, 6 Sep 2024 13:28:13 +0200 Subject: [PATCH 1/2] Extend SSP argument options --- message_ix_models/util/click.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/message_ix_models/util/click.py b/message_ix_models/util/click.py index 567851aada..66bd738361 100644 --- a/message_ix_models/util/click.py +++ b/message_ix_models/util/click.py @@ -247,7 +247,9 @@ def unique_id() -> str: help="Run only reporting.", ), "ssp": Argument( - ["ssp"], callback=store_context, type=Choice(["SSP1", "SSP2", "SSP3"]) + ["ssp"], + callback=store_context, + type=Choice(["LED", "SSP1", "SSP2", "SSP3", "SSP4", "SSP5"]), ), "urls_from_file": Option( ["--urls-from-file", "-f"], From f6de7bb78eab4f9f5cd10c7fdb27d4717d022c73 Mon Sep 17 00:00:00 2001 From: Paul Natsuo Kishimoto Date: Thu, 26 Sep 2024 10:42:28 +0200 Subject: [PATCH 2/2] Add #233 to doc/whatsnew --- doc/whatsnew.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/whatsnew.rst b/doc/whatsnew.rst index f389d44c8b..68bfa49fbb 100644 --- a/doc/whatsnew.rst +++ b/doc/whatsnew.rst @@ -12,6 +12,7 @@ Next release - Fix naming of GDP and population columns in SSP data aggregation. - Update :doc:`/transport/index` (:pull:`213`). +- Add "LED", "SSP4", and "SSP5" as values for the :program:`--ssp=…` option in :func:`.common_params` (:pull:`233`). v2024.8.6 =========