Emission costs output doesn't work
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
Research direction
Start in src/muse/outputs/mca.py at sector_emission_costs, especially the lookup reported at line 871. Reproduce the emission_costs output with MUSE 1.1.0 or the development version, then verify that the output no longer raises the reported IndexError and produces the expected emission-costs result.
Written by the indexing model from the issue text.
Description
I get this error when I use the emission_costs output:
File "C:\Users\tbland\Documents\Code\MUSE_OS\src\muse\outputs\mca.py", line 871, in sector_emission_costs
i = (np.where(envs))[0][0]
~~~~~~~~~~~~~~~~~~~^^^
IndexError: index 0 is out of bounds for axis 0 with size 0
This happens both with MUSE 1.1.0 and the dev version
Relates to the sector_emission_costs function in outputs/mca.py
- Dominant language
- Python
- Stars
- 29
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EnergySystemsModellingLab/MUSE_OS
-
EnergySystemsModellingLab/MUSE_OS#850 · 1 assignee ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
bug
EnergySystemsModellingLab/MUSE_OS#804 · 2 comments · 3 assignees ·
-
bug
EnergySystemsModellingLab/MUSE_OS#795 · 5 comments · 2 assignees ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in EnergySystemsModellingLab/MUSE_OS
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100