Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove a variable from a scenario? #452

Open
behnam-zakeri opened this issue Jul 27, 2022 · 1 comment
Open

How to remove a variable from a scenario? #452

behnam-zakeri opened this issue Jul 27, 2022 · 1 comment
Labels
discuss enh New features & functionality

Comments

@behnam-zakeri
Copy link
Contributor

message_ix.Scenario has methods for removing sets and parameters, remove_set() and remove_par(), respectively. However, there seems not to have such a method for removing a variable (e.g., remove_var()). This makes it almost impossible to remove an extra variable, which may was added by mistake, or more importantly to change the index sets of a variable by removing and initializing that variable again. Is there any intention for not having this feature, or am I missing something out?

@behnam-zakeri behnam-zakeri added enh New features & functionality discuss labels Jul 27, 2022
@khaeru
Copy link
Member

khaeru commented Jul 28, 2022

I will transfer this to ixmp, as it concerns features that aren't located in message_ix per se.

@khaeru khaeru transferred this issue from iiasa/message_ix Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss enh New features & functionality
Projects
None yet
Development

No branches or pull requests

2 participants