Skip to content

Column headers in scenario option data #85

@HauHe

Description

@HauHe

I encounter an error when providing options for the AnnualEmissionLimit.
Problem is that in the file in which the options are provided the column headers don't correspond to the headers of the parameter. For AnnualEmissionLimitthis should be: ['REGION', 'EMISSION', 'YEAR', 'VALUE'], but in the scenario option file it is ['REGION', 'TECHNOLOGY', 'YEAR', 'VALUE'].

The problem is that the file with the scenario options might contain data for multiple parameter that are to be modified for the scenarios. Hence, the header should not be taken from the scenario file, but from the otoole configuration file. In an older version it must have been like that already, since I ran the scenarios that I was about testing already. So not sure when we missed that.

The loop that would need modification I think starts in line 190 and following in main.py

@trevorb1 , would you be able to have a look at it?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions