[BUG] Some outputs fail to work
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
Reproduce the failure in MUSE 1.3.3 using the emission_costs, fuel_costs, capital_costs, LCOE, and AEC outputs, then compare the behavior with MUSE 1.3.2. Read the related issue #421 and trace the output handling until the xarray year lookup and missing enduse errors are explained; done means all listed outputs complete without these exceptions.
Written by the indexing model from the issue text.
Description
In MUSE 1.3.3, I get the following error when using the emission_costs, fuel_costs and capital_costs outputs:
File "...venv\Lib\site-packages\xarray\core\indexes.py", line 791, in sel
raise KeyError(
...<2 lines>...
) from e
KeyError: "not all values found in index 'year'. Try setting the 'method' keyword argument (example: method='nearest')."
Additionally, the LCOE and AEC outputs produce the following:
File "...venv\Lib\site-packages\xarray\core\common.py", line 302, in __getattr__
raise AttributeError(
f"{type(self).__name__!r} object has no attribute {name!r}"
)
AttributeError: 'Dataset' object has no attribute 'enduse'
It seems to be related to #421, but these errors did not appear in MUSE 1.3.2
- 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