EnergySystemsModellingLab / EnergySystemsModellingLab/MUSE_OS
[BUG] Some outputs fail to work
- Lingua principale
- Python
- Stelle
- 29
- Fork
- 12
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Riproduci il fallimento in MUSE 1.3.3 utilizzando gli output emission_costs, fuel_costs, capital_costs, LCOE e AEC, quindi confronta il comportamento con MUSE 1.3.2. Leggi l’issue correlata #421 e segui la gestione degli output fino a spiegare la ricerca dell’anno in xarray e gli errori relativi a enduse mancanti; il lavoro è completato quando tutti gli output elencati vengono completati senza queste eccezioni.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- data
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100