message_ix icon indicating copy to clipboard operation
message_ix copied to clipboard

Add convenience function for defining expected Regions and Units on ixmp4 Platforms

Open glatterf42 opened this issue 4 weeks ago • 0 comments

What is this about?

In order to use an ixmp4 Platform with message_ix, we need to define various Regions and Units on that Platform. In prior discussions, @danielhuppmann, @phackstock, and @meksor suggested that the best way to do that might be to expose a function like message-ix setup-db <platform_name> <region_code> via the CLI that adds a standard set of units as well as regions to a Platform. The regions could potentially even be specific to "R11", "R12", etc. This function would be required to be called every time one sets up a DB, which is a change to existing workflows, though not a big one as each DB only needs to be set up once. In the tutorials, we would already teach users that this needs to happen and explicitly define the required units to show how to do it manually.

glatterf42 avatar Dec 10 '25 17:12 glatterf42