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

Features/#382 sanity check #717

Merged
merged 34 commits into from
Jun 3, 2022
Merged

Features/#382 sanity check #717

merged 34 commits into from
Jun 3, 2022

Conversation

Danaabusubaih
Copy link
Contributor

@Danaabusubaih Danaabusubaih commented Mar 29, 2022

Fixes #382 .

Before merging into dev-branch, please make sure that

  • the CHANGELOG.rst was updated.
  • new and adjusted code is formated using black and isort.
  • the Dataset-version is updated when existing datasets are adjusted.
  • the branch was merged into the continuous-integration/run-everything-over-the-weekend-v2- branch.
  • the workflow is running successful in test mode.
  • the workflow is running successful in Everything mode.

Created on Fri Jan 21 10:49:43 2022

@author: student
"""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please replace line 1 - 7 by a short description what the script is doing. See this example: https://github.com/openego/eGon-data/blob/dev/src/egon/data/datasets/vg250/__init__.py#L1-L10

print(f"The target values for Sum loads Heat DE differ by {Error_heat} %")


sum_urban_central_heat_pump_supply = db.select_dataframe(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing indentation. This code is outside any function and will not be executed in the eGon-data run


print(f"The target values for Sum loads AC DE differ by {Error_AC} %")

demand_peta_heat = sum_loads_DE_demand_peta_heat[
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I remember right, we preferred to have separate functions for electricity and heat.

@IlkaCu IlkaCu marked this pull request as ready for review June 3, 2022 07:54
@IlkaCu IlkaCu merged commit f07c442 into dev Jun 3, 2022
@IlkaCu IlkaCu deleted the features/#382-sanity-check branch June 3, 2022 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include checks to ensure data validity
3 participants