message_ix
message_ix copied to clipboard
Reading data of a subset of parameters through 'read_excel' function
At the moment calling 'read_excel' reads all sets and parameters from Excel. This function can also be used for reading only one or a group of parameters from excel, for example after modifying a parameter. It should be quite straightforward to add an argument (like "parameters") for this to this function, and read the data of the parameters specified through that argument. for reading all parameters: def read_excel(self, fname, parameters=all, add_units=False, commit_steps=False)
for reading a specific parameter: def read_excel(self, fname, parameters=['input','demand'], add_units=False, commit_steps=False)
The same can be done for sets too.