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

Made function to parse Bolivia website for hourly production data #5722

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Nil-Cipher
Copy link
Contributor

Issue

#2883

Description

Add functionality to parse historical production data for Bolivia.

Preview

Double check

  • I have tested my parser changes locally with poetry run test_parser "zone_key"
  • I have run pnpx prettier --write . and poetry run format to format my changes.

@q--
Copy link
Contributor

q-- commented Sep 15, 2023

By the way, one of the reasons I opened #2883 is IIRC that the current source for Bolivia originally didn't separate wind from solar and lumped biomass with thermal. I'm not sure if there's still some biomass included with thermal (biogas perhaps? Or I'm making it up), but with the more extensive data now also offered by the current source, the main advantage would be the ability to distinguish between the various types of thermal generation. The IEA says Bolivian thermal generation is almost entirely natural gas, though.

Edit: the price data is also interesting

from logging import Logger, getLogger
from typing import List, NamedTuple, Optional

import arrow
Copy link
Member

Choose a reason for hiding this comment

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

Just providing some early feedback here but we have decided internally to move away from arrow and only use datetime when possible.

@madsnedergaard
Copy link
Member

@Nil-Cipher, do you remember what's missing from making this ready for review? We'd like to either get it done and merged, or close the PR for now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants