Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PV rooftop fails in SH mode #1055

Closed
nesnoj opened this issue Nov 29, 2022 · 2 comments · Fixed by #1056
Closed

PV rooftop fails in SH mode #1055

nesnoj opened this issue Nov 29, 2022 · 2 comments · Fixed by #1056
Assignees
Labels
🐛 bug Something isn't working

Comments

@nesnoj
Copy link
Member

nesnoj commented Nov 29, 2022

In dev here you try to obtain the weather cells:

# Select feedin timeseries
weather_cells = db.select_geodataframe(
f"""
SELECT w_id, geom
FROM {sources['weather_cells']['schema']}.
{sources['weather_cells']['table']}
""",
index_col="w_id",
)

This apparently works for DE but in SH mode the cfg is overwritten:

if dataset == "Schleswig-Holstein":
sources = config.datasets()["scenario_input"]["sources"]

which results in a key error later. This second assignment does not exist in the CI, why?

@nesnoj nesnoj added the 🐛 bug Something isn't working label Nov 29, 2022
@nesnoj
Copy link
Member Author

nesnoj commented Nov 29, 2022

Seems that it has been added in 4a2d016

@nesnoj nesnoj assigned nesnoj and unassigned khelfen Nov 29, 2022
nesnoj added a commit that referenced this issue Nov 29, 2022
@khelfen
Copy link
Contributor

khelfen commented Nov 29, 2022

Seems that it has been added in 4a2d016

Ah yes, you are right! Thank you for the fast fix! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants