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

Update build_powerplants.py #1242

Conversation

milyas009
Copy link
Contributor

@milyas009 milyas009 commented Dec 17, 2024

The error I mentioned here "https://discord.com/channels/911692131440148490/1316036197335961640". It is due to non-ASCII letter that it struggles to encode. So I forced the script to read the file as UTF-8 (Line 303). And it worked for me.

Closes # (if applicable).

Changes proposed in this Pull Request

Checklist

  • I consent to the release of this PR's code under the AGPLv3 license and non-code contributions under CC0-1.0 and CC-BY-4.0.
  • I tested my contribution locally and it seems to work fine..
  • A note for the release notes doc/release_notes.rst is amended in the format of previous release notes, including reference to the requested PR.

The error I mentioned here "https://discord.com/channels/911692131440148490/1316036197335961640". It is due to non-ASCII letter that it struggles to encode.
So I forced the script to read the file as UTF-8 (Line 303). And it worked for me.
Copy link
Member

@davide-f davide-f left a comment

Choose a reason for hiding this comment

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

Great contribution @milyas009, merging your first PR :D
CI is passing, merging

@davide-f davide-f merged commit 7185b74 into pypsa-meets-earth:main Dec 18, 2024
6 checks passed
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.

2 participants