Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Conversation

@peterdudfield
Copy link
Contributor

@peterdudfield peterdudfield commented Sep 30, 2021

Pull Request

Description

  • get installed capacity from pv live for every gsp at every datetime
  • use this data to normalise
  • update script to get raw data
  • update test data

Fixes issue #182

How Has This Been Tested?

  • add unittests

  • checked raw data has maximum <=1 - TODO on full set

  • No

  • Yes

Checklist:

  • My code follows OCF's coding style guidelines
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked my code and corrected any misspellings

assert isinstance(gsp_pv_df, pd.DataFrame)
assert len(gsp_pv_df) == (48 + 1) * 10
assert "datetime_gmt" in gsp_pv_df.columns
assert "generation_mw" in gsp_pv_df.columns
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this are just moved to the file below

@peterdudfield peterdudfield marked this pull request as ready for review September 30, 2021 12:10
Copy link
Contributor

@JackKelly JackKelly left a comment

Choose a reason for hiding this comment

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

LGTM! Good work!

Copy link
Contributor

@jacobbieker jacobbieker left a comment

Choose a reason for hiding this comment

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

Looks good!

@peterdudfield
Copy link
Contributor Author

I'm just running the script to make the raw data - I think i'll wait unil that is done, before merging. Just so I dont break things my merging

@peterdudfield peterdudfield merged commit 42e1f69 into main Sep 30, 2021
@peterdudfield peterdudfield deleted the issue/182-normalised-gsp-data branch September 30, 2021 16:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants