Skip to content

Conversation

@ram-from-tvl
Copy link
Contributor

Pull Request

Description

Please delete the italicised instruction text!
Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes #105

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

# if there is national but no gsps, make gsp from national
# https://github.com/openclimatefix/solar-consumer/issues/105

if missing_gsps and national_df is not None:
Copy link
Contributor

Choose a reason for hiding this comment

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

Rather than loading from the database, I think it would be better to load from PVLive api, this would make the code neater I think

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.

PVLive: if not national, sum up gsp

2 participants